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.
phaseType=getAggregationState(phaseName)
phaseName
String; name of the phase to check. Defined phases depend on the underlying thermodynamic system.
phaseType
String; identifier for the aggregation state. Options are 'vapor', 'liquid', 'solid' or 'unknown'.
» getAggregationStateName('liquid1')
ans =
liquid
» getAggregationState('liquid2')
Evaluation error: Error using ==> getaggregationstate
Unknown phase name: liquid2