Worked example · Gas thermodynamics
Compressed nitrogen with Redlich–Kwong
Solve Peng–Robinson or Redlich–Kwong for density and convert standard to actual gas volume at equal mass flow.
Use Redlich–Kwong for nitrogen at 25 °C and 120 bar absolute with an entered actual flow.
- Z factor
- 0.99325
- Gas density
- 136.5 kg/m³
- Actual flow
- 14 Am³/h
- Standard flow
- 1,528 Nm³/h
Vapor-branch compressibility isotherm
Live schematicThe 5% deviation marker compares the operating compressibility to Z = 1.
Calculation inputs
- Gas preset
- Nitrogen
- Equation of state
- Redlich–Kwong
- Molecular weight MW
- 28.01 kg/kmol
- Critical temperature Tc
- -147 °C
- Critical pressure Pc
- 33.96 bar abs
- Acentric factor ω
- 0.0372
- Operating temperature
- 25 °C
- Operating pressure
- 12,000 kPa abs
- Reference temperature
- 0 °C
- Reference pressure
- 101.3 kPa abs
- Entered flow basis
- Actual volume
- Entered volume flow
- 14 Am³/h
Worked solution
- Solve both EOS states
At the operating pressure of 12,000 kPa abs, the largest admissible root is 0.9932461. At the reference state it is 0.9993471.
- Get densities and conserve mass
Evaluate P MW/(ZRT) at both states for 136.5 kg/m³ actual and 1.251 kg/m³ reference. The stream carries 1,911 kg/h.
- Convert volumetric flow
Divide that mass flow by the density at each state. The result is 14 Am³/h actual and 1,528 Nm³/h standard.
Solve the standard and actual roots independently before converting volume. The derivation uses SI units.
| Mass flow | 1,911 kg/h |
|---|---|
| Reference compressibility | 0.999347 |
| Reference density | 1.251 kg/m³ |
| Operating reduced temperature | 2.363 |
| Operating reduced pressure | 3.534 |
| Operating EOS coefficient A | 0.1761 |
| Operating EOS coefficient B | 0.1296 |
| Scaled cubic residual | 1.547e-17 |
Admissible roots 0.9932461
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.