Compressibility factor, Molar Volume and Pressure EOS Solver

Version 1.0.0 (2.98 MB) by Robby Ching
Programs that solve the compressibility factor (by MOSS iteration) and molar volume, and pressure of a substance at the given state
574 Downloads
Updated 19 Jul 2020

View License

Includes the following Equations of States (eos) or models: van der Waals (vdW), Redlich-Kwong (RK), Soave-Redlich-Kwong (SRK), Peng-Robinson (PR), Pitzer-correlated Virial (truncated up to 3rd coeff.), classical Virial (truncated up to 3rd coeff.), and Rackett (for saturated liquids). The first program solves the compressibility factor (Z) by Method of Successive Substitution (MOSS) or Fixed-point iteration (iterative) approach. Then the molar volume is solved. The second program solves for the pressure. The input data required for the 1st program are Pressure, Temperature, Critical Pressure and Temperature (if applicable), Virial coefficients (if applicable), and acentric factor (if applicable). For the 2nd program, it requires Molar volume, temperature, Critical Pressure and Temperature (if applicable), Virial coefficients (if applicable), and acentric factor (if applicable). It includes documentation or examples on how to use the programs. The equations used for both programs are all based on the ones presented by Smith, Van Ness, Abbott, and Swihart in their book "Introduction to Chemical Engineering Thermodynamics (8th ed.)."

The image is courtesy of Smith, Van Ness, Abbott and Swihart in their book "Introduction to Chemical Engineering Thermodynamics (8th ed.)."

Cite As

Robby Ching (2024). Compressibility factor, Molar Volume and Pressure EOS Solver (https://www.mathworks.com/matlabcentral/fileexchange/78399-compressibility-factor-molar-volume-and-pressure-eos-solver), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Thermodynamics and Heat Transfer in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0