Gas Pipeline Water Volume & Linepack Calculator

Calculate pipe geometric water volume, average operating pressure, total standard linepack inventory, and usable peaking linepack above minimum pressure.

Inputs

SI
Used to compute withdrawable peaking inventory; floors at 0 if P_avg ≤ P_min.
fraction
Reference Conditions20 °C / 101.325 kPa / Z = 1

Volume & linepack results

Default example
618433.7
230790.1
9817.477
5.58378

Inventory and usable volume are reported at the specified reference state.

Formula version 3.0.0 · 20 °C / 101.325 kPa / Z = 1Local atmosphere: 101.325 kPa 2026-11-26T11:14:16.201Z · For preliminary estimates and education only. Qualified engineering review required.

Equations & Engineering Basis

GB 50251ISO 13443
Geometric Volume & Average Line Pressure
Vgeom=π4d2L,Pavg=23(P1+P2−P1P2P1+P2)V_{\text{geom}} = \frac{\pi}{4} d^2 L, \qquad P_{\text{avg}} = \frac{2}{3}\left(P_1 + P_2 - \frac{P_1 P_2}{P_1 + P_2}\right)
Total & Usable Reference Linepack
Vstd=Vgeom⋅PavgTrefZrefPrefTZ,Vusable=max⁡ ⁣(0,  Vstd(Pavg)−Vstd(Pmin⁡))V_{\text{std}} = V_{\text{geom}} \cdot \frac{P_{\text{avg}} T_{\text{ref}} Z_{\text{ref}}}{P_{\text{ref}} T Z}, \qquad V_{\text{usable}} = \max\!\left(0,\; V_{\text{std}}(P_{\text{avg}}) - V_{\text{std}}(P_{\min})\right)

Nomenclature & Units

Symbol Parameter Units Engineering Notes
VgeomV_{\text{geom}} Geometric bore volume m³ / L / ft³ Also serves as base volume for hydrotest fill and N₂ purging.
PavgP_{\text{avg}} Non-linear average pressure Pa / MPa / psi Accounts for parabolic pressure profile rather than simple arithmetic mean.
VusableV_{\text{usable}} Usable peaking volume m³ (参比态) / ft³ Gas withdrawable when packing drops from P_avg down to P_min.

Engineering Scope & Benchmark

Benchmark: d = 100 mm and L = 100 m yields V_geom = 0.785398 m³. At P₁ = P₂ = 0.20265 MPa(a) (2× P_ref) with T = T_ref and Z = Z_ref, total linepack is exactly 1.570796 m³.

Uniform bore and isothermal segment; total and usable linepack are reported at the selected reference conditions.

Frequently Asked Questions

Why use the 2/3 formula instead of (P₁ + P₂)/2 for average pressure?

Steady gas pipeline pressure drops parabolically in P², staying higher upstream and dropping steeper downstream. Integrating the pressure profile yields the 2/3 formula, which is slightly higher than the arithmetic mean.

Does usable linepack account for Z-factor variation during drawdown?

This screening model applies a single average Z-factor between P_avg and P_min. For very large pressure swings, compute total inventory separately at both states with state-specific Z values and subtract.

How can I estimate hydrotest water fill volume?

Read the Geometric water volume (V_geom) output directly and switch its unit dropdown to m³, L, or ft³ as needed.