mission

CAPE-OPEN
COCO
Excel Thermo Import
Excel Unit Operation
Matlab Unit Operation
Matlab Thermo Import
OO Calc Thermo Import
REFPROP PPM
SciLab Unit Operation
» 
Help
SciLab Thermo Import
Python Thermo Import
FlowExchange
ThermoSystemAdapter

ScanIt

downloads

services

links

about us

contact us

getEquilibriumProperty

getEquilibriumProperty returns the overall property calculated at thermodynamic equilibrium at given conditions. Feeds are already in equilibrium when the unit operation is calculated; properties for feeds can be obtained by getFeedProp. For a complete equilibrium result, see getEquilibrium.

Syntax

value=getEquilibriumProperty(propName,moleFraction,propName1,propVal1,propName2,propVal2)

Arguments:

propName
String; name of the property to calculate at equilibrium. The following properties can be specified:

PropertyDescriptionUnit of measure
enthalpyDefault enthalpyJ / mol
enthalpyFEnthalpy - including formation termsJ / mol
enthalpyNFEnthalpy - not including formation termsJ / mol
entropyDefault entropyJ / mol / K
entropyFEntropy - including formation termsJ / mol / K
entropyNFEntropy - not including formation termsJ / mol / K
internalEnergyEnergyJ / mol
volumeSpecific volumem3 / mol
Not all of these properties may be supported by the underlying thermo system.

moleFraction
Double; the overall composition for the equilibrium calculation. Must be a vector with one value for each compound.

propName1
String; name of the first property for the equilibrium specification of the product. The following properties can be specified:

PropertyDescriptionUnit of measure
temperatureTemperatureK
pressurePressurePa
vaporFractionMole fraction of the vapor phase-
enthalpyDefault enthalpyJ / mol
enthalpyFEnthalpy - including formation termsJ / mol
enthalpyNFEnthalpy - not including formation termsJ / mol
entropyDefault entropyJ / mol / K
entropyFEntropy - including formation termsJ / mol / K
entropyNFEntropy - not including formation termsJ / mol / K
internalEnergyEnergyJ / mol
volumeSpecific volumem3 / mol

See getFeedProp for more information on the different enthalpies. Not each of the above properties may be supported by the underlying thermo system. Even if both propName1 and propName2 specify supported properties that are supported, the combination of the two may not be a supported specification for an equilibrium calculation.

propVal1
Double; the value of the property specified by propName1.

propName1
String; name of the second property for the flash specification of the product. See above for supported properties.

propVal1
Double; the value of the property specified by propName2.

Returns:

value
Double; value of the calculated property

Example

-->X=[0.1 0.2 0.5 0.2]
 X  =
 
    0.1    0.2    0.5    0.2  

-->h=getEquilibriumProperty("enthalpy",X,"temperature",150,"pressure",101325)
 h  =
 
  - 13867.283  

INDEX
CONTENT