mission

CAPE-OPEN
COCO
Excel Thermo Import
Excel Unit Operation
Matlab Unit Operation
» 
Help
Matlab Thermo Import
OO Calc Thermo Import
REFPROP PPM
SciLab Unit Operation
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

» getAggregationState('liquid2')

Evaluation error: Error using ==> getaggregationstate
Unknown phase name: liquid2
INDEX
CONTENT