Feeds to a unit operation are in equilibrium when the unit operation is calculated. getFeedEquilibrium can be obtained to obtain the equilibrium values. To calculate an equilibrium other than at feed conditions, use getEquilibrium.
[phases,phasefractions,compositions,T,P]=getFeedEquilibrium(feedIndex)
feedIndex
Integer; the index of the feed to obtain the property from. The index must be between one and the number of feeds - inclusive.
phases
String; name of each phase present at equilibrium
phasefractions
Double; phase fraction for each phase present at equilibrium. Column vector with one value for each phase.
compositions
Double; composition (mole fractions) for each phase present at equilibrium. Matrix with 1 column for each compound, and one row for each phase present
at equilibrium.
T
Double; equilibrium temperature (K)
P
Double; equilibrium pressure (Pa)
» [phases,phaseFractions,composition]=getFeedEquilibrium(1)
phases =
'Vapor'
'Liquid'
phaseFractions =
0.4602
0.5398
composition =
0.0475 0.4342 0.0866 0.4316
0.1447 0.0003 0.8525 0.0025