Returns the state of aggregation of a given phase
state=capeOpenAggregationState(handle,name)
handle: package handle, as obtained from capeOpenGetPackage
name: identifier of the phase, as present in the list returned by capeOpenPhases
state: string, state of aggregation. Will be "Vapor", "Liquid", "Solid" or "Unknown".
» handle=capeOpenGetPackage('TEA (CAPE-OPEN 1.1)','C1_C2');
» capeOpenPhases(handle)
ans =
'Vapor'
'Liquid'
» capeOpenAggregationState(handle,'Liquid')
ans =
Liquid