What's the exact meaning of Cape_Estimates?

What's the exact meaning of Cape_Estimates?

Postby bcbooo » 24 July 2014, 03:02

In Thermo 1.1, the function "SetPresentPhases" has one parameter "phaseStatus", it's a enumeration including "Cape_UnknownPhaseStatus", "Cape_AtEquilibrium" & "Cape_Estimates".

"Cape_UnknownPhaseStatus" and "Cape_AtEquilibrium" is very easy for me to understand, but the "Cape_Estimates" makes me puzzled.

What's the exact meaning of it? Is it to notify the material object that the material object needs to call Equilibrium Calculation? Or the material object is maybe at equilibrium?
bcbooo
 
Posts: 66
Joined: 22 November 2012, 06:41
Location: China

Re: What's the exact meaning of Cape_Estimates?

Postby jasper » 24 July 2014, 06:45

Phases that are present before an equilibrium calculation can have CAPE_ESTIMATE or CAPE_UNKNOWNPHASESTATUS status. The first indicates that pressure, temperature, composition and phase fraction for that phase can potentially be used as an initial guess for this phase for the equilibrium calculation. Presumably if a full estimate is present (of the entire phase equilibrium) the phases that have been set as estimate have phase fractions that add up to unity.

For an equilibrium server it is optional to use the estimates, it may take advantage of it, or it may simply use its internal initial estimate for the phase equilibrium.

The idea is that the information present at some iteration for example (e.g. in solving a recycle of a flowsheet) may be close to what is expected for the next iteration. In this case the software component requesting the phase equilibrium (e.g. the PME, or a unit operation) may flag the existing phase equilibrium on the MO as an initial guess for the current equilibrium calculation
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: What's the exact meaning of Cape_Estimates?

Postby bcbooo » 26 July 2014, 01:44

Jasper, I have another question.

in Thermo 1.1, temperature, pressure, totalFlow & fraction can be achieved from material object by "GetOverallProp", but enthalpy is different,it needs to call "CalcSinglePhaseProp" and then "GetSinglePhaseProp", and at the end add all the single-phase-enthalpy to get the overall-enthalpy.

So, I want to know which properties can be achieved through "GetOverallProp", and which properties need to call "CalcSinglePhaseProp" & "GetSinglePhaseProp"?

Thank you!
bcbooo
 
Posts: 66
Joined: 22 November 2012, 06:41
Location: China

Re: What's the exact meaning of Cape_Estimates?

Postby jasper » 26 July 2014, 07:04

Properties that are always available from an MO without calculation are temperature, pressure, fraction and phase fraction.

For a unit operation, also flow and totalFlow.

Note that if your material object is the feed of a unit operation, you may not modify it. So to get overall enthalpy, first make a duplicate, and then do the single phase enthalpy calculations. In 1.1 this requires 2 calls: CreateMaterial and CopyFromMaterial.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: What's the exact meaning of Cape_Estimates?

Postby bcbooo » 27 July 2014, 00:29

Thank you Jasper for your comprehensive response.
bcbooo
 
Posts: 66
Joined: 22 November 2012, 06:41
Location: China


Return to Thermodynamic components

Who is online

Users browsing this forum: No registered users and 1 guest

cron