Simple Engineering Calculators

Pipeline Volume & Line Pack

How much a line holds: the inside volume of a standard steel pipe, the liquid in it, the gas in it expressed at standard conditions (real-gas Z), the pressure difference from an elevation change, and how much gas comes out when the line is blown down from one pressure to another.

Line

Line volume
18.65m³

= 117.3 bbl · 18,646 L

Inside diameter used
154.08mm

NPS 6 · Sch 40 / STD wall 7.11 mm

Length
1.000km

Area 0.01865 m²

Gas in the line

Gas at standard conditions
1.076e³Sm³

= 1,076 Sm³ · 0.0380 MMscf @ 15 °C, 101.325 kPa

Gas mass
859kg

ρ 46.05 kg/m³ at 5,101.3 kPa abs average

Z at average pressure
0.8705

Z at standard conditions 0.9974 · gas fills the whole line

Elevation (static, no flow)

Static head, inlet → outlet
0.0kPa

0.0 m rise of gas at ρ 46.05 kg/m³

Far-end pressure
5,000.0kPag

= 5,101.3 kPa abs · inlet 5,000.0 kPag

Average line pressure
5,000.0kPag

Mean of both ends: the gas inventory uses this

What this does, and does not do

  • Inventory only, with the line at rest. No friction: the far-end pressure is the static pressure from the elevation change alone. For flowing pressure drop use the line pressure-drop tool on the separator sizing page.
  • One average temperature for the whole line. No temperature profile.
  • Multiphase uses the liquid holdup you give it, with no slip between liquid and gas for the column weight. Real uphill lines usually hold more liquid than that.
  • Z by Dranchuk–Abou-Kassem with Sutton pseudo-criticals from gas gravity: the same engine as the compressor pages. Sweet gas only (no CO₂ / H₂S correction here). The correlation covers reduced temperatures 1.0 to 3.0 and reduced pressures 0.2 to 30: below its critical temperature at higher pressure the gas would be a liquid or a gas-liquid mix, and the page gives no gas result; elsewhere outside the range it warns.
  • Pipe ODs and walls from ASME B36.10M. Inside diameter = OD − 2 × wall (nominal, no mill tolerance).
Show the full calculation

1 · Pipe geometry

  • ID = OD − 2 t = 168.3 − 2 × 7.11 = 154.08 mm
  • Area A = π/4 × ID² = π/4 × (0.15408 m)² = 0.018646 m²
  • Line volume V = A × L = 0.018646 × 1,000.0 m = 18.646 m³ (117.3 bbl, 1 bbl = 0.158987 m³)

2 · Static head from the elevation change

  • Inlet P1 = 5,000.0 kPag + 101.325 = 5,101.33 kPa abs; Δh = 0.00 m; g = 9.80665 m/s²
  • Gas column (isothermal): P2 = P1 × exp(−g M Δh / (Z R T)) = 5,101.33 × exp(−9.80665 × 18.827 × 0.00 / (0.8705 × 8314.46 × 288.15)) = 5,101.33 kPa abs
  • Average pressure = (P1 + P2) / 2 = 5,101.33 kPa abs (Z and gas density are worked out here; solved together because each depends on the other)

3 · Gas inventory

  • Gas molar mass M = SG × 28.9647 = 0.65 × 28.9647 = 18.827 kg/kmol; T = 15.00 + 273.15 = 288.15 K
  • Z at 5,101.3 kPa abs and 15.0 °C (Sutton + Dranchuk–Abou-Kassem) = 0.8705
  • Gas space = (1 − H) × V = 18.646 m³
  • Moles n = P V / (Z R T) = 5,101,325 Pa × 18.646 / (0.8705 × 8314.46 × 288.15) = 45.609 kmol
  • Gas mass = n × M = 858.7 kg; density ρg = P M / (Z R T) = 46.052 kg/m³
  • Standard basis: 15 °C, 101.325 kPa (Canadian / ISO 13443 Sm³). T_std = 288.15 K, P_std = 101.325 kPa, Z_std = 0.9974
  • V_std = n Z_std R T_std / P_std = 45.609 × 0.9974 × 8314.46 × 288.15 / 101325 = 1,075.6 Sm³ (1.076 e³Sm³ = 0.0380 MMscf)
  • Check: V × (P/P_std) × (T_std/T) × (Z_std/Z) = 18.646 × 50.346 × 1.0000 × 1.1458 = 1,075.6 Sm³

Sources: ASME B36.10M (pipe sizes and walls); Dranchuk and Abou-Kassem (1975) with Sutton (1985) pseudo-criticals (Z); the isothermal barometric formula (gas column); ISO 13443 (standard conditions).