Skip to content
SenseCalc
Menu

Guide

Gas Z Factors: When Ideal-Gas Correction Stops Being Enough

Enter Z at base and flowing conditions when known; fp above 10 forces AGA8 review.

Flow Measurement

Pressure and temperature correction alone is insufficient when the gas compressibility ratio (Z_b/Z_f) differs enough from 1 to matter for the measurement task. For conversion from actual flowing volume to base-condition volume, multiply the pressure-temperature result by (Z_b/Z_f). Setting both Z factors to 1 is an explicit ideal-gas assumption—not evidence that real-gas effects are negligible. Emerson’s Flow Measurement User Manual, Section 2.1.6, identifies this ratio as the compressibility multiplier.

How Z Factors Enter Gas Volume Correction

The compressibility factor, Z, is dimensionless and appears in the real-gas equation:

[
PV=ZnRT
]

Here, (P) is absolute pressure in Pa, (V) is volume in m³, (n) is the amount of gas in mol, (T) is absolute temperature in K, and (R) is the universal gas constant in Pa·m³/(mol·K).

For the same amount of gas at flowing and base conditions, this gives:

[
Q_b=Q_f
\left(\frac{P_f}{P_b}\right)
\left(\frac{T_b}{T_f}\right)
\left(\frac{Z_b}{Z_f}\right)
]

The subscripts identify the conditions:

VariableMeaningUnits
(Q_f)Actual volumetric flow at flowing conditionsm³/h
(Q_b)Equivalent volumetric flow at the specified base conditionsm³/h at the stated base
(P_f,\ P_b)Flowing and base absolute pressuresMatching absolute-pressure units
(T_f,\ T_b)Flowing and base absolute temperaturesK
(Z_f,\ Z_b)Compressibility factors evaluated at their respective conditionsDimensionless

The same relationship applies to volumes measured over the same interval. It is a conversion between thermodynamic states, not a complete meter-performance calculation. Emerson documents the volume and flow relationships in Sections 2.1.3 and 2.1.6 of its March 2005 manual; these relationships do not establish which standard edition a particular installation must use.

Use absolute pressure, not gauge pressure. If the input is gauge pressure, add the appropriate atmospheric pressure in matching units. Use kelvin rather than Celsius in the temperature ratio. State the actual base pressure and temperature beside the result rather than relying on an unspecified “standard” volume label.

Apply the Correction to the Right Flow Signal

The equation above starts with actual volumetric flow at flowing conditions. Before applying it, check whether the meter or flow computer already reports base-condition volume, mass flow, or a compensated flow signal.

Do not apply the full (Z_b/Z_f) multiplier directly to raw differential pressure as though differential pressure were actual volumetric flow. Orifice-meter calculations have their own density, expansion-factor, and square-root relationships; Emerson treats these separately from linear-meter volume conversion. Applying another correction to an already compensated output can count the same effect twice.

Worked Example: Isolating the Z Correction

Assume a single-phase gas with the following illustrative inputs:

  • Actual flow, (Q_f=20.00) m³/h.
  • Flowing absolute pressure, (P_f=10.00) bar(a).
  • Base absolute pressure, (P_b=1.000) bar(a).
  • Flowing and base temperatures, (T_f=T_b=300.00) K.
  • Assumed factors, (Z_f=0.9500) and (Z_b=1.0000).

These Z values are demonstration inputs, not calculated properties of a specified gas mixture. The selected base conditions are also example values, not a universal reporting convention.

With both Z factors set to 1, the pressure-temperature calculation gives:

[
Q_{b,\mathrm{ideal}}
=
20.00
\left(\frac{10.00}{1.000}\right)
\left(\frac{300.00}{300.00}\right)
=
200.00\ \text{m³/h at the stated base}
]

Including the assumed Z factors gives:

[
Q_{b,\mathrm{real}}
=
200.00
\left(\frac{1.0000}{0.9500}\right)
=
210.53\ \text{m³/h at the stated base}
]

Retain unrounded values during calculation and round the displayed flows to two decimal places. This display precision does not imply measurement uncertainty of 0.01 m³/h.

The corrected result is 5.26% higher than the ideal-gas result, using the ideal-gas result as the denominator. Conversely, the ideal-gas result is 5.00% below the corrected result, using the corrected result as the denominator. These percentages describe the effect of the assumed Z ratio—not the accuracy of the installed meter.

When Is the Ideal-Gas Assumption Inadequate?

For this volume-conversion equation, the relevant quantity is the ratio (Z_b/Z_f), not flowing pressure alone. The relative difference caused by omitting Z, expressed against the Z-corrected result, is:

[
\delta_Z
=
\frac{Q_{b,\mathrm{ideal}}-Q_{b,\mathrm{real}}}
{Q_{b,\mathrm{real}}}
=
\frac{Z_f}{Z_b}-1
]

Multiply (\delta_Z) by 100 to express it as a percentage. This relationship follows directly from the documented volume-correction equation.

Compare the magnitude of this difference with the allowance assigned to gas-property modeling in the measurement task. A project-selected allowance is not a universal acceptance limit, and satisfying it does not establish overall measurement accuracy.

An undefined rule such as “(f_p>10) requires AGA8” is not an actionable criterion: the quantity, units, and technical basis are missing. Pressure is an input to a gas-property calculation, not a substitute for gas composition, temperature, model applicability, or the required measurement performance.

For natural gas, ISO 12213-2:2006 describes a compression-factor method using detailed mole-fraction composition together with pressure and temperature. Its published applicability is conditional on gas composition and operating conditions; it is not a general method for every industrial gas.

Obtain Z Values That Match the Actual Duty

Evaluate (Z_f) at flowing pressure and temperature, and (Z_b) at the specified base pressure and temperature, using a consistent gas composition and a suitable property method.

Record enough information to reproduce the values:

  • Gas composition or the physical-property inputs required by the selected method.
  • Flowing and base absolute pressures and temperatures.
  • Property method, implementation, and applicable edition.
  • Whether the values are fixed assumptions or updated during operation.

Input requirements depend on the method. ISO 12213-2:2006 uses detailed composition. ISO 12213-3:2006 describes a method using superior calorific value, relative density, and carbon dioxide content, with hydrogen content also required when hydrogen is present. These statements are supported by ISO’s public descriptions; they do not replace the full method requirements.

If the installation specifies AGA Report No. 8, confirm the required edition and the flow computer’s implemented method against the applicable site or contractual documentation. Do not infer the required implementation from an “AGA8” label alone. Emerson’s manual identifies AGA8 as a source of natural-gas compressibility values and also recognizes contractual requirements.

Field Checks Before Accepting the Converted Value

  1. Identify the input signal. Confirm that it represents actual volumetric flow, rather than already compensated volume, mass flow, or raw differential pressure.
  2. Confirm the reference conditions. Match the receiving system’s base pressure, base temperature, and volume-unit convention.
  3. Check pressure and temperature handling. Verify absolute versus gauge pressure, the atmospheric-pressure value if used, and absolute-temperature conversion.
  4. Check both Z entries. Confirm their sources and corresponding conditions. A value of 1.0 should be identified as an assumption unless supported by the property calculation.
  5. Check the multiplier direction. For flowing-to-base conversion, use (Z_b/Z_f). If (Z_b>Z_f), the Z-corrected result must exceed the pressure-temperature-only result.
  6. Check the operating envelope. Confirm that the chosen property method applies to the gas composition and pressure-temperature range. ISO 12213 concerns conditions where the mixture exists only as a gas; do not extend a gas-only conversion to a two-phase stream.

For an independent arithmetic check, equal flowing and base conditions—including equal Z factors—must return the original volume or flow. Reversing the complete conversion must also recover the starting value before rounding. Require positive absolute pressures, absolute temperatures, and Z factors; a zero denominator makes the calculation undefined.

These checks can reveal an inverted ratio, inconsistent units, or duplicate compensation. They do not demonstrate transmitter calibration, correct meter installation, or compliance with a custody-transfer requirement. Use the applicable equipment documentation and site procedure to assess those separately.

Formulas

PT correction

Qb=Qm*(Pa/Pb)*(Tb/Ta)*(Zb/Zf)

fp above 10 rechecks with AGA8.

Worked example

Gas Flow P/T Compensation worked example (double-p)

Inputs: q_meas=100.0, p_act=200.0, t_act_c=20.0, p_base=101.325, t_base_c=20.0, z_base=1.0, z_flow=1.0

Calculation: q_corr=197.38, fp=1.9738, ft=1.0, hp_warn=0, valid=1

Lesson:

Frequently asked questions

What is the most common mistake on Gas Flow P/T Compensation?

Skipping the verify items: set nameplate values first, then read every flag.

What is the most common mistake on Gas Flow P/T Compensation?

Skipping the verify items: set nameplate values first, then read every flag.

Sources and further verification

  1. Gas Flow P/T Compensation calculator SenseCalc
  2. Gas Flow P/T Compensation calculator SenseCalc

Next step

Run the Gas Flow P/T Compensation calculator

Open calculator

Related resources

Try these calculators

Continue reading

Related articles