Contents - Index


$REFERENCE (version 10.364 and newer)

The $REFERENCE directive can be used for properties determined using the EES_REFPROP interface.  In this case, a /EESREFPROP option must follow the $REFERENCE keyword, as shown in the following program.

$REFERENCE R452A /EESREFPROP NBP
$UnitSystem SI K kPa Mass
$ConvertEESREFPROPUnits
PQ=27       
P_in=101.315 [kPa]
Q_in=0               
Call ees_refprop('R452A',PQ,P_in,Q_in :T, P,rho,v,h,s,Q,Cv,Cp,w,Qm)

{Solution:
Cp=1.192 [Btu/lb_m-R]
Cv=0.7841 [Btu/lb_m-R]
h=0 [Btu/lb_m]
P=101.3 [psia]
PQ=27 
P_in=101.3 [kPa]
Q=0 
Qm=0 
Q_in=0 
rho=1404 [lb_m/ft^3]
s=0 [Btu/lb_m-R]
T=226.2 [C]
v=0.0007122 [ft^3/lb_m]
w=718.4 [ft/s]
}