Contents - Index - Previous - Next
AB_PR
Procedure AB_PR returns the constants A and B for a pure fluid used in the Peng_Robinson equation of state. The procedure definition is:
Procedure AB_PR(Tr, Pr, w : A, B)
where
Tr is the reduced temperature (ratio of absolute temperature to critical temperature)
Pr is the reduced pressure (ratio of absolute pressure to critical pressre
w is the acentric factor
Use the Call keyword to access procedure AB_PR from EES.
Example:
Tr=0.85
Pr=0.5
omega=0.05
Call AB_PR(Tr, Pr, omega: A,B)
{Solution:
A=0.3391
B=0.04576
omega=0.05
Pr=0.5
Tr=0.85
}