Everything, Everywhere
Verified Specification | Standardized Formulas | Instant Precision
Secure & Private (Zero Data Retention) Free Access • No Sign-Up
AGA Transmission Standards ASME B31.8 Gas Piping API RP 14E Erosional Velocity

Natural Gas Pipeline Flow & Capacity Calculator

Calculate compressible gas pipeline capacity (MMSCFD), pressure drop, mean flowing pressure, compressor power, and erosional velocity using Weymouth, Panhandle A, and Panhandle B equations.

Panhandle B is standard for modern large transmission lines
to
Inlet discharge from compressor station to delivery gate station
Continuous transmission distance between compressor stations
e.g., 24" OD API 5L X70 pipe with 0.375" wall thickness = 23.25" ID
Relative density to air (Air = 1.000)
Subsurface soil equilibrium temperature (typically 50°F to 75°F)
Accounts for pipe interior wall roughness, liquid dropout, and bends
Legal custody transfer standard conditions

Pipeline Capacity & Hydraulic Performance Audit

Gas Pipeline Throughput (Q)
364.2 MMSCFD
429,500 Nm³/hr (15.17 MMSCM/D)
Mean Pipeline Pressure (Pm)
813.4 psia
56.08 bar (Non-linear mean)
Compressibility Factor (Z)
0.868
Super-compressibility boost (+15.2%)
Delivery Gas Velocity (v2)
21.8 ft/s
6.64 m/s (Erosional limit: 68.4 ft/s)
Pressure Gradient (ΔP/L)
6.67 psi/mi
Total ΔP = 300.0 psi across 45 mi
Line Pack Storage Volume
58.4 MMSCF
3.84 hours of buffer supply at full duty

Live Cross-Country Gas Pipeline Pressure Decay Profile

Subsurface Pipeline Trench (Class 1 / Class 2 Location) 24" OD (23.25" ID) × 45.0 Miles COMPRESSOR STATION P1: 950 psi CITY GATE STATION P2: 650 psi HYDRAULIC PRESSURE GRADIENT [P(x) = √(P1² - x/L·(P1² - P2²))] Pm = 813.4 psia (Effective Compressibility Datum) PIPELINE FLOW AUDIT Capacity (Q): 364.2 MMSCFD Delivery Velocity: 21.8 ft/s Hydraulic Model: Panhandle B ASME B31.8 & AGA Standards

First-Principles Gas Dynamics & Hydraulic Derivations

1. Non-Linear Mean Flowing Pressure (Pm) & Super-Compressibility (Z)

Because gas expands and accelerates down the line, pressure drop per mile is non-linear (parabolic). Mean pressure across the distance $L$ is:

P_m = rac{2}{3} cdot left[ P_1 + P_2 - rac{P_1 cdot P_2}{P_1 + P_2} ight]

For $P_1 = 964.7$ psia and $P_2 = 664.7$ psia:

P_m = rac{2}{3} cdot left[ 964.7 + 664.7 - rac{964.7 cdot 664.7}{964.7 + 664.7} ight] = 821.5 ext{ psia (56.64 bar)}

At $P_m = 821.5$ psia and $T_f = 524.67$ °R (65°F), the gas compressibility factor evaluates to:

Z = 1 - left( rac{P_m cdot (0.0002)}{T_f / 520} ight) = 0.868 ext{ (Real Gas Super-Compressibility)}
2. Panhandle B High-Reynolds Transmission Pipeline Equation

Panhandle B models fully turbulent, high-Reynolds gas transmission through large-diameter pipelines ($D = 23.25$ in, $L = 45.0$ mi, $E = 0.92$):

Q = 737.0 cdot E cdot left( rac{T_b}{P_b} ight)^{1.02} cdot left[ rac{P_1^2 - P_2^2}{G^{0.961} cdot T_f cdot L cdot Z} ight]^{0.510} cdot D^{2.530}

Substituting live parameters ($T_b = 520$ °R, $P_b = 14.73$ psia, $G = 0.600$):

Q = 737.0 cdot (0.92) cdot (35.30)^{1.02} cdot left[ rac{930,646 - 441,826}{(0.612) cdot (524.7) cdot (45.0) cdot (0.868)} ight]^{0.510} cdot (2,878.5) = 364.2 ext{ MMSCFD}
3. API RP 14E Erosional Velocity & Delivery Sizing Check

Gas velocity reaches maximum at the downstream discharge nozzle due to lowest pressure ($P_2 = 664.7$ psia). Actual flowing velocity:

v_2 = rac{Q cdot P_b cdot T_f cdot Z_2}{A cdot P_2 cdot T_b cdot 86400} = 21.8 ext{ ft/s (6.64 m/s)}

API RP 14E allowable erosional velocity limit ($C = 100$ for continuous gas service, gas density $ ho_g = 2.14$ lb/ft³):

v_e = rac{C}{sqrt{ ho_g}} = rac{100}{sqrt{2.14}} = 68.4 ext{ ft/s} quad longrightarrow quad v_2 le v_e ext{ (Pass: 31.9% of Erosional Limit)}
4. Line Pack Storage Inventory in Pipeline Volume

Total gas stored within the 45-mile pipeline geometry ($V_{geom} = 132,450$ ft³) at mean pressure $P_m$:

V_{pack} = V_{geom} cdot left( rac{P_m}{P_b} ight) cdot left( rac{T_b}{T_f} ight) cdot left( rac{1}{Z} ight) = 58.4 ext{ MMSCF (3.84 hours of full-flow buffer)}

AGA Natural Gas Pipeline Hydraulic Audit Report

Generating AGA gas transmission audit...

5 Fatal Natural Gas Pipeline Engineering Traps

1. Using Weymouth for Long Cross-Country Transmission Lines

The Weymouth equation assumes a constant friction factor ($f propto D^{-1/3}$) suited for small gathering networks. Applying Weymouth to modern 24" to 42" transmission lines severely overestimates friction, under-predicting pipeline throughput by 15% to 25%. This causes operators to waste millions of dollars over-sizing compressors or installing unnecessary loop lines. Panhandle B or the AGA Fully Turbulent equation must be used.

2. Neglecting Real Gas Super-Compressibility (Z Factor)

At transmission pressures between 800 and 1,400 psia, natural gas molecules are compressed closer together, causing real gas deviation ($Z approx 0.82$ to $0.88$). Because pipeline capacity scales with $sqrt{1/Z}$, gas flows 8% to 12% faster than ideal gas physics predicts. Sizing pipe without accounting for the Z factor leads to erroneous custody transfer metering and pressure balance errors.

3. Delivery Downstream Erosional Velocity Exceedance (API RP 14E)

As pressure drops toward the delivery end of the pipeline ($P_2$), gas expands and accelerates to its highest velocity. If downstream velocity exceeds the API RP 14E erosional limit ($v_e = C / sqrt{ ho}$), trace sand particulates or corrosion iron sulfides will sandblast through pipe bends, meter tubes, and regulator trims, causing catastrophic wall puncture.

4. Ignoring Arithmetic vs True Mean Pressure for Line Pack Sizing

Using a simple arithmetic average pressure ($P_{avg} = (P_1 + P_2)/2$) overstates the inventory of natural gas stored inside the pipe. Because pressure decay is parabolic (faster drop at the inlet, slower at the outlet), the true thermodynamic mean pressure ($P_m = rac{2}{3}(P_1 + P_2 - rac{P_1 P_2}{P_1 + P_2})$) is substantially lower, leading to phantom line-pack accounting discrepancies during winter peak demands.

5. Liquid Hydrocarbon Dropout from Retrograde Condensation

For rich natural gas streams containing ethane, propane, and butane, pressure and temperature reductions along the pipeline traverse the phase envelope cricondentherm. Instead of staying gas, retrograde condensation occurs, dropping out liquid hydrocarbon slugs that pool in low-elevation pipe valleys, destroying pipeline efficiency ($E$ drops from 0.92 to 0.65) and choking flow.

Frequently Asked Questions

When should you use Weymouth versus Panhandle A versus Panhandle B? +
Why is the mean pipeline pressure (Pm) not a simple arithmetic average? +
How does the gas compressibility factor (Z) affect pipeline capacity? +
What is the API RP 14E erosional velocity limit? +
What is pipeline line pack and why is it important? +
Sponsored Utility
While You're Here
Sponsored Recommendations
Advertisement