DistillColumnLab
Menu

Worked example · Gas thermodynamics

Hydrogen at high pressure

Solve Peng–Robinson or Redlich–Kwong for density and convert standard to actual gas volume at equal mass flow.

Hydrogen at 20 °C and 200 bar absolute flows at 900 standard m³/h.

Z factor
1.0821
Gas density
15.29 kg/m³
Actual flow
5.294 Am³/h
Standard flow
900 Nm³/h

Vapor-branch compressibility isotherm

Live schematic
Compressibility versus absolute pressure along the selected isotherm06,00012,00018,00024,0000.9881.021.0521.0831.115COMPRESSIBILITY ZPRESSURE kPa absISOTHERM20 °COPERATING Z1.0821ADMISSIBLE ROOTS1EOS vapor rootIdeal gasOperating point
Real-gas correction material

The 5% deviation marker compares the operating compressibility to Z = 1.

Absolute compressibility departure |Z − 1|8.21 %
Review marker 5 % Screen limit 10 %

Worked solution

  1. Solve both EOS states

    At the operating pressure of 20,000 kPa abs, the largest admissible root is 1.082142. At the reference state it is 1.000259.

  2. Get densities and conserve mass

    Evaluate P MW/(ZRT) at both states for 15.29 kg/m³ actual and 0.08992 kg/m³ reference. The stream carries 80.92 kg/h.

  3. Convert volumetric flow

    Divide that mass flow by the density at each state. The result is 5.294 Am³/h actual and 900 Nm³/h standard.

The acentric factor may be negative. At high pressure, Z can exceed the ideal-gas value. The derivation uses SI units.

Calculation details
Mass flow80.92 kg/h
Reference compressibility1.00026
Reference density0.08992 kg/m³
Operating reduced temperature8.844
Operating reduced pressure15.43
Operating EOS coefficient A0.08185
Operating EOS coefficient B0.1357
Scaled cubic residual3.396e-18

Admissible roots 1.082142

Calculation inputs

Live updates

Gas and equation
kg/kmol
°C
bar abs
Operating and reference states
°C
kPa abs
°C
kPa abs
Volume flow

Both unit systems use the reference state shown above.

Nm³/h
Back to results

Equations and assumptions

Peng–Robinson cubic
Z³ − (1−B)Z² + (A−2B−3B²)Z − (AB−B²−B³) = 0
Redlich–Kwong cubic
Z³ − Z² + (A−B−B²)Z − AB = 0
Gas density
ρ = P MW / (Z R T)
Volume conversion
Qs ρs = Qa ρa

A scaled Cardano solver with Newton refinement returns the largest real admissible root Z > B. The subcritical flag requests a phase-stability check. The gas preset is a pure-fluid or pseudo-pure approximation without mixing rules.

The reference state defaults to 0 °C and 101.325 kPa absolute. Nm³/h and SCFM labels both use the entered reference temperature and absolute pressure, so toggling units preserves the reference condition. Set the reference state required by your metering convention.

Method references