0% found this document useful (0 votes)
163 views

Peng Robison

The document describes the calculation of thermodynamic properties using the Peng-Robinson equation of state. It defines the Peng-Robinson constants as a function of temperature since temperature will need to be iterated. It describes solving the cubic equation of state and setting any imaginary roots to zero. It then lists the residual entropy and enthalpy values that will be calculated for the liquid and vapor phases, as well as the ideal gas property changes and total entropy and enthalpy relative to the ideal gas reference state. The results section will display the compressibility, volume, enthalpy and entropy values for both the liquid and vapor phases.

Uploaded by

paullinhha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
163 views

Peng Robison

The document describes the calculation of thermodynamic properties using the Peng-Robinson equation of state. It defines the Peng-Robinson constants as a function of temperature since temperature will need to be iterated. It describes solving the cubic equation of state and setting any imaginary roots to zero. It then lists the residual entropy and enthalpy values that will be calculated for the liquid and vapor phases, as well as the ideal gas property changes and total entropy and enthalpy relative to the ideal gas reference state. The results section will display the compressibility, volume, enthalpy and entropy values for both the liquid and vapor phases.

Uploaded by

paullinhha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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