Contents - Index


MODE = CRIT (100)

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

Description: Calculate critical properties
     In1 = mole fraction of first component (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 = Critical temperature in K
     Out2 = Critical pressure in kPa
     Out3 = Critical density in kmol/m3

Note that the critical properties of a mixture can be defined in different ways.  The  values returned by this call refer to the properties at the maximum pressure that the liquid and vapor phases can coexist.

Note that the outputs will be automatically converted to the unit system defined in EES if the $ConvertEESREFPROPUnits directive is used in the EES program.

Example: 
CRIT=100                       "mode for calculation of critical properties"
mf=0.3                           "mole fraction"
Call ees_refprop('R32+R134a', CRIT, mf : Tc, Pc, rhoc)
Call ees_refprop('Air', CRIT : Tc_air, Pc_air, rho_c_air)

{Solution:
CRIT=100 
mf=0.3 
Pc=4594 [kPa]
Pc_air=3852 [kPa]
rhoc=5.466 [kmol/m^3]
rho_c_air=11.9 [kmol/m^3]
Tc=368.2 [K]
Tc_air=132.8 [K]
}

Return