Contents - Index - Previous - Next


PHI_PR

 

PHI_PR(Z, A, B) returns the fugacity coefficient (ratio of fugacity to pressure) for a pure fluid or for a entire mixture that obeys the Peng-Robinson equation of state.  Use function PHI_I_PR to determine the partial fugacity coefficient for a component in a mixture.  

 

Note that Z is determined by functions Z_G_PR and Z_L_PR and A and B are provided by procedure AB_PR and AB_MIX_PR for pure fluids and mixtures, respectively.

 

Example:

    Tr=0.85

     Pr=0.5

     omega=0.05

     Call AB_PR(Tr, Pr, omega: A,B)

     Z_G=Z_G_PR(A,B)

     phi=PHI_PR(Z_G,A,B)

 

{Solution:

A=0.3391 

B=0.04576 

omega=0.05 

phi=0.714 

Pr=0.5 

R=8.314 [kJ/kmol-K]

Tr=0.85 

Z_G=0.5748}

 

 

Peng-Robinson Index