Worked example · Gas thermodynamics
Dry air near atmospheric pressure
Solve Peng–Robinson or Redlich–Kwong for density and convert standard to actual gas volume at equal mass flow.
A dry-air vent operates at 1.08 bar absolute and 21 °C on an actual-volume basis.
- Z factor
- 0.99935
- Gas density
- 1.28 kg/m³
- Actual flow
- 460 Am³/h
- Standard flow
- 455.2 Nm³/h
Vapor-branch compressibility isotherm
Live schematicThe 5% deviation marker compares the operating compressibility to Z = 1.
Calculation inputs
- Gas preset
- Dry air (pseudo-pure)
- Equation of state
- Peng–Robinson
- Molecular weight MW
- 28.97 kg/kmol
- Critical temperature Tc
- -140.6 °C
- Critical pressure Pc
- 37.86 bar abs
- Acentric factor ω
- 0.0335
- Operating temperature
- 21 °C
- Operating pressure
- 108 kPa abs
- Reference temperature
- 0 °C
- Reference pressure
- 101.3 kPa abs
- Entered flow basis
- Actual volume
- Entered volume flow
- 460 Am³/h
Worked solution
- Solve both EOS states
At the operating pressure of 108 kPa abs, the largest admissible root is 0.9993457. At the reference state it is 0.9991036.
- Get densities and conserve mass
Evaluate P MW/(ZRT) at both states for 1.28 kg/m³ actual and 1.293 kg/m³ reference. The stream carries 588.8 kg/h.
- Convert volumetric flow
Divide that mass flow by the density at each state. The result is 460 Am³/h actual and 455.2 Nm³/h standard.
Z approaches 1 and the volume conversion mainly follows the difference in absolute pressure and temperature. The derivation uses SI units.
| Mass flow | 588.8 kg/h |
|---|---|
| Reference compressibility | 0.999104 |
| Reference density | 1.293 kg/m³ |
| Operating reduced temperature | 2.219 |
| Operating reduced pressure | 0.02853 |
| Operating EOS coefficient A | 0.001658 |
| Operating EOS coefficient B | 9.999e-4 |
| Scaled cubic residual | 2.076e-17 |
Admissible roots 0.9993457
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.