Returns the list of properties that can be used with capeOpenEquilibrium and capeOpenEquilibriumProp.
list=capeOpenFlashPropList(handle)
handle: package handle, as obtained from capeOpenGetPackage
list: string list of property identifiers that can be used as flash constraints
» handle=capeOpenGetPackage('TEA (CAPE-OPEN 1.1)','C1_C2');
» capeOpenFlashPropList(handle)
ans =
'Temperature'
'Pressure'
'vaporFraction'
'enthalpy'
'entropy'
'volume'
» [phases,phaseFracs,phaseCompositions,T]=capeOpenEquilibrium(handle,[0.5 0.5],'vaporFraction',0.5,'pressure',101325)
phases =
'Vapor'
'Liquid'
phaseFracs =
0.5000 0.5000
phaseCompositions =
0.9004 0.0996
0.0996 0.9004
T =
151.4701