Contents - Index


MODE = DEWP (4)

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 pressure
     In1  = Pressure in kPa
     In2  = mole fraction of first component in saturated liquid (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 = Temperature of saturated vapor in K
     Out2 = Density of saturated liquid in kmol/m3
     Out3 = Temperature of saturated vapor in K (same as Out1)
     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: 
DEWP=4            "mode for dew point calculation for a given pressure"
P=100 [kPa]       "pressure"
mf=0.3               "mole fraction"
Mixture$='R32+R134a'
Call ees_refprop(Mixture$, DEWP, P, mf: TV, DL, TX, DV, x_32, x_134a)

{Solution:
DEWP=4 
DL=14.29 [kmol/m^3]
DV=0.05189 [kmol/m^3]
mf=0.3 
Mixture$='R32+R134a'
P=100 [kPa]
TV=241.6 [K]
TX=241.6 [K]
x_134a=0.8833 
x_32=0.1167 
}



Example 2:
$UnitSystem SI C MPa mass
$ConvertEESREFPROPUnits
DEWP=4
P=0.1 [MPa]
Call ees_refprop('R134a', DEWP, P :  TV, D_liq, TX, D_vap)

{Solution:
DEWP=4 
D_liq=1378 [kg/m^3]
D_vap=5.193 [kg/m^3]
P=0.1 [MPa]
TV=-26.36 [C]
TX=-26.36 [C]
}

     

Return