MODE = DEWT (2)
Description: Dew point calculation for a given temperature
In1 = temperature in K
In2 = mole fraction of first component in saturated vapor (skip for pure fluid)
...
InN = mole fraction of next to last component
Out1 = Temperature in K (same as In1)
Out2 = Pressure of saturated vapor in Pa
Out3 = Density of saturated vapor in gmol/m3
Out4..OutN = Mole fractions of each component in the liquid 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:
DEWT=2 "mode for dew 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, DEWT, Tin: TL, PL, DL, y_32, y_134a)
{Solution:
DEWT=2
DV=1809 [gmol/m3]
F$='R32+R134a'
mf=0.3
PV=3.053E+06 [Pa]
Tin=350 [K]
TV=350 [K]
x_134a=0.775
x_32=0.225
}