File Exchange

image thumbnail

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

26 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 (2020). 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 .

Comments and Ratings (8)

Brin Ivan Vahlois

Joshua Pocaan

Alexis Lopez

Errol John Suarez

Joshua Nibre

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!