Contents - Index


MODE = DEWT (2)

Note: If the $ConvertEESREFPROPUnits directive is used in the EES program, inputs should be provided in the unit system defined in EES and outputs will be automatically converted to the unit system defined in EES.  The units shown for inputs and outputs in the following description apply when the $CONVERTEESREFPROPUNITS directive is not used.


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
            Note: If the /mass flag is provided with the $CONVERTEESREFPROPUNITS directive, mass fractions should be provided instead of mole fractions.
     Out1 = Pressure of saturated vapor in kPa
     Out2 = Density of saturated liquid in kmol/m3
     Out3 = Pressure of saturated vapor in kPa (same as Out2)
     Out4 = Density of saturated vapor in kmol/m3
     Out5..OutN = Mole fractions of each component in liquid at equilibrium with the vapor
                Note: Mass fractions (in place of mole fractions) are output if the /mass flag is provided with the $CONVERTEESREFPROPUNITS directive
 
    
Example 1: 
DEWT=2          "mode for dew  point calculation at a given temperature"
T=350 [K]         "temperature"
mf=0.3              "mole fraction"
CALL EES_REFPROP('R32+R134a',DEWT, T, mf: PV, DL,PX, DV, y_32, y_134a)

{Solution:
DEWT=2 
DL=9.885 [kmol/m^3]
DV=1.809 [kmol/m^3]
mf=0.3 
PV=3053 [kPa]
PX=3053 [kPa]
T=350 [K]
y_134a=0.775 
y_32=0.225 
}

Example 2:
$UnitSystem SI C Pa mass
$ConvertEESREFPROPUnits
DEWT=2
T=50 [C]
Call ees_refprop('R134a', DEWT, T :  PL, D_liq, PV, D_vap)

{Solution:
DEWT=2
D_liq=1102 [kg/m^3]
D_vap=66.27 [kg/m^3]
PL=1.318E+06 [Pa]
PV=1.318E+06 [Pa]
T=50 [C]
}

Return