๐Ÿงช 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

โš™๏ธ Equation of State
๐ŸŒก๏ธ State Point
๐Ÿ“‹ Critical Properties
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)

๐Ÿ“Š 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.
/js/main.js