๐งช Real Gas โ Equations of State Calculator
Evaluate compressibility factor Z, molar volume, departure functions (ฮh, ฮs), fugacity, and fugacity coefficient using van der Waals, Redlich-Kwong, or Peng-Robinson EOS.
๐ Configuration
Key Equations:
vdW: P = RT/(vโb) โ a/vยฒ
RK: P = RT/(vโb) โ a/[T0.5v(v+b)]
PR: P = RT/(vโb) โ aฮฑ/[v(v+b)+b(vโb)]
Z = Pv/(RT)
vdW: P = RT/(vโb) โ a/vยฒ
RK: P = RT/(vโb) โ a/[T0.5v(v+b)]
PR: P = RT/(vโb) โ aฮฑ/[v(v+b)+b(vโb)]
Z = Pv/(RT)
๐ Results
Configure inputs and click Compute to view results.
๐ Methodology
Equations of State
Three cubic EOS are implemented: van der Waals (simplest), Redlich-Kwong (temperature-dependent attraction), and Peng-Robinson (most accurate near critical). Each is solved iteratively via Newton-Raphson.
Departure Functions
Departure functions quantify how real gas enthalpy and entropy differ from ideal gas values at the same T and P. They are essential for thermodynamic property calculations in process simulation.
Assumptions
- Single-component pure fluid.
- Vapor-phase root selected (largest v root).
- No mixing rules (single species).
- Constant acentric factor.