domingo, 2 de marzo de 2025

Working with equations of state

 Working on implementation of equations of state, which involved solving the following problems:

 

a) Calculate the compressibility factor and the molar volume of methanol vapor at 200 °C and 10 bar. Virial equation versus ideal gas law.


b) Calculate the pressure of 1 mol of CO2 in a container of 2.5 dm3 at 40 °C. Virial equation versus Redlich-Kwong equation versus ideal gas.


c) Retrieve the vapor pressure and the liquid density data for methane from the DDBSP data base. Implement a liquid vapor pressure calculation for the Van der Waals equation of state and compare the results along the vapor-liquid coexistence curve to the experimental data.


d) Calculate the vapor pressures of benzene between 280 K and 540 K using the Soave-Redlich-Kwong equation of state.

The solutions can be found in the following Jupyter notebook.

The supplementary information is here and here.



Starting with IDAES: Steady state CSTR