Worked example · Gas thermodynamics
Natural gas at a standard flow rate
Solve Peng–Robinson or Redlich–Kwong for density and convert standard to actual gas volume at equal mass flow.
Convert a 1,600 standard m³/h stream of representative natural gas to actual flow at 45 °C and 64 bar absolute.
- Z factor
- 0.87709
- Gas density
- 49.65 kg/m³
- Actual flow
- 25.97 Am³/h
- Standard flow
- 1,600 Nm³/h
Vapor-branch compressibility isotherm
Live schematicThe 5% deviation marker compares the operating compressibility to Z = 1.
Calculation inputs
- Gas preset
- Natural gas (pseudo-pure)
- Equation of state
- Peng–Robinson
- Molecular weight MW
- 18 kg/kmol
- Critical temperature Tc
- -67.65 °C
- Critical pressure Pc
- 46 bar abs
- Acentric factor ω
- 0.04
- Operating temperature
- 45 °C
- Operating pressure
- 6,400 kPa abs
- Reference temperature
- 0 °C
- Reference pressure
- 101.3 kPa abs
- Entered flow basis
- Standard volume
- Entered volume flow
- 1,600 Nm³/h
Worked solution
- Solve both EOS states
At the operating pressure of 6,400 kPa abs, the largest admissible root is 0.8770917. At the reference state it is 0.9963242.
- Get densities and conserve mass
Evaluate P MW/(ZRT) at both states for 49.65 kg/m³ actual and 0.806 kg/m³ reference. The stream carries 1,290 kg/h.
- Convert volumetric flow
Divide that mass flow by the density at each state. The result is 25.97 Am³/h actual and 1,600 Nm³/h standard.
The pseudo-pure gas basis gives an estimate. The mass flow is the same at standard and actual conditions. The derivation uses SI units.
| Mass flow | 1,290 kg/h |
|---|---|
| Reference compressibility | 0.996324 |
| Reference density | 0.806 kg/m³ |
| Operating reduced temperature | 1.548 |
| Operating reduced pressure | 1.391 |
| Operating EOS coefficient A | 0.2119 |
| Operating EOS coefficient B | 0.06992 |
| Scaled cubic residual | 7.177e-18 |
Admissible roots 0.8770917
Calculation inputs
Live updates
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.