You are on page 1of 3

Página 1 de 3

PRPROP: THERMODYNAMIC PROPERTIES CALCULATION USING THE


PENG-ROBINSON EQUATION OF STATE FOR A GIVEN T AND P
Enter Property Data: Sample data for dioxido de carbono

Enter temperature T in K, and pressure P in bar for thermodynamic properties calculation.


K

Peng-Robinson Constants:

Note that these are being defined as a


function of temperature since we will
need to interate on temperature.

Subroutine for solving the cubic equation of


state.

Vector of coefficients in the PR equation


in the form
0=-(A*B-B^2-B^3)+(A-3*B^2-2*B)*Z-(1-B)*Z^2+Z^3

Solution to the cubic

Set any imaginary roots to zero


Sort the roots

Set the value of any imaginary roots


to value of the real root

Residual entropy for liquid (DELSL) and vapor (DELSV) phases

file:///C:/Users/User/Desktop/PR-H2.html 09/11/2018
Página 2 de 3

Residual enthalpy for liquid (DELHL) and vapor (DELHV) phases

Ideal gas property changes relative to the reference state

Total entropy and enthalpy relative to ideal gas reference state

SUMMARY OF RESULTS
K bar

LIQUID VAPOR
Compressibility

Volume, m^3/mol negativo é lvapor


positivo é liquido
Enthalpy, kJ/mol

Entropy, J/mol K

Note: If the chosen temperature and pressure are near the saturation conditions,
results
for both the vapor and liquid phases will be reported. The phase with the lower
fugacity, and therefore lower Gibbs free energy, is the equilibrium phase. If the
temperature and pressure are far away from the saturation conditions, only the
properties of the equilibrium state are reported for both both phases.

file:///C:/Users/User/Desktop/PR-H2.html 09/11/2018
Página 3 de 3

Variação de Entalpia e Entropia do sistema

file:///C:/Users/User/Desktop/PR-H2.html 09/11/2018

You might also like