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

getFeedProp

getFeedProp is used to obtain thermodynamic and physical properties from feed ports.

Syntax

value=getFeedProp(feedIndex,propName)

Arguments

feedIndex
Integer; the index of the feed to obtain the property from. The index must be between one and the number of feeds - inclusive.

propname
String; the property to obtain. Valid properties are:

PropertyDescriptionUnit of measure
temperatureTemperatureK
pressurePressurePa
flowComponent flows, one value for each chemical compoundmol / s
totalFlowTotal flowmol / s
fractionOverall mole fraction-
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. The default enthalpy term will generally be available. The enthalpyF property may not be available, but if it is it is the preferred enthalpy for systems that include chemical reactions.

Returns

value
The value of the requested property. The unit of measure of the value is indicated in the above table

Examples

-->f1=getFeedProp(1,"flow")
 f1  =
 
    0.25    0.25    0.25    0.25  

-->h2=getFeedProp(2,"enthalpy")
 h2  =
 
    50.844593  

-->T1=getFeedProp(1,"temperature")
 T1  =
 
    298.15  
INDEX
CONTENT