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

getAggregationStateName

getAggregationStateName obtains a string identifying the aggregation state of a given phase name. Can be used in conjunction with getFeedEquilibrium or getEquilibrium to check the phases returned in thermodynamic equilibrium.

Syntax

phaseType=getAggregationState(phaseName)

Arguments:

phaseName
String; name of the phase to check. Defined phases depend on the underlying thermodynamic system.

Returns:

phaseType
String; identifier for the aggregation state. Options are "vapor", "liquid", "solid" or "unknown".

Example

-->getAggregationStateName("liquid1")
 ans  =
 
 liquid   

-->getAggregationStateName("liquid2")
 !--error 10000 
Unknown phase name: liquid2
INDEX
CONTENT