MODE = BUBT (1)
Description: Bubble point calculation for a given temperature
In1 = Temperature in K
In2 = mole fraction of first component in saturated liquid (skip for pure fluid)
...
InN = mole fraction of next to last component
Out1 = Temperature in K (same as In1)
Out2 = Pressure of saturated liquid in Pa
Out3 = Density of saturated liquid in gmol/m3
Out4..OutN = Mole fractions of each component in the vapor phase at equilibrium with the liquid
Notes: This Mode is intended for use with mixtures. There will not be any mole fractions in the outputs for a pure fluid.
Example:
BUBT=1 "mode for bubble point calculation at a given temperature - this is not needed if the $INCLUDE EES_COOLPROP.txt directive is used"
Tin=350 [K] "temperature"
mf=0.3 "mole fraction"
$VarInfo TL units=K
$VarInfo PL units=Pa
$Varinfo DL units=gmol/m3
F$='R32+R134a'
CALL EES_COOLPROP(F$, mf, BUBT, Tin: TL, PL, DL, y_32, y_134a)
{Solution:
BUBT=1
DL=10076 [gmol/m3]
F$='R32+R134a'
mf=0.3
PL=3.260E+06 [Pa]
Tin=350 [K]
TL=350 [K]
y_134a=0.6164
y_32=0.3836
}