🏭

Compressor Station Spacing Calculator

Place compressor stations along a gas pipeline and size their horsepower, per GPSA and ASME B31.8.

Gas Pipeline Compressor Station Spacing
Walks the line mile by mile with the GPSA gas flow equations, including the elevation correction, and places each station where pressure reaches the minimum suction. MAOP comes from ASME B31.8 para. 841.1.1 and station horsepower from the GPSA Section 13 polytropic method. Read the fundamentals →

Gas & Flow

MMSCFD
°F
in
Used by the AGA fully turbulent equation only.

Pipe & MAOP

in
in

Pressures & Compressors

psig
psig
Leave blank to discharge at MAOP.
psig
psig
GPSA Fig. 13-8 gives k from molecular weight and temperature.
%

Elevation Profile

One point per line: milepost, elevation in feet. The first and last mileposts set the line length. Enter two points for a flat line.

Results

Enter the pipeline, pressures and elevation profile, then click Calculate.

Formula Reference

MAOP (B31.8 para. 841.1.1):

P = (2St / D) × F × E × T

Flow with elevation (GPSA Sec. 17):

P₁² − P₂² − 0.0375 G ΔH Pₐ² / (T Z)

Average pressure (Eq 17-16):

Pₐ = ⅔[P₁ + P₂ − P₁P₂/(P₁+P₂)]

Polytropic head (Eq 13-34b):

Hₚ = (1545/MW) Z T₁ / ((n−1)/n) × [r(n−1)/n − 1]

Brake horsepower (Eqs 13-35, 13-39):

Ghp = w Hₚ / (ηₚ × 33,000); Bhp = Ghp + Ghp0.4


Standards: ASME B31.8 para. 841.1.1 and Tables 841.1.6-1, 841.1.7-1, 841.1.8-1; GPSA Engineering Data Book Sections 13 and 17.

Frequently Asked Questions

How is compressor station spacing determined on a gas pipeline?

Each station raises the gas to its discharge pressure, which cannot exceed the pipeline MAOP. The gas then loses pressure to friction and elevation until it reaches the minimum suction pressure of the next station. The distance between those two pressures is the station spacing. This calculator walks the line in short steps using the GPSA flow equations and places each station where the suction limit is reached.

Why does the last station often run at a lower discharge pressure?

Once the gas has enough pressure to coast to the delivery point, full discharge pressure is no longer needed. The calculator marches backward from the delivery point to find the pressure required at every milepost and sizes the final station to that value, so horsepower is not overstated.

How does elevation affect gas pipeline pressure?

A column of gas has weight, so an uphill run costs pressure and a downhill run returns some. Because gas density rises with pressure, the effect is larger at high pressure: about 21 psi per 1,000 ft of rise at 900 psia for 0.6 gravity gas, and about 4 psi at 200 psia. The calculator applies the correction in pressure squared form at the average line pressure, as GPSA describes.

How is compressor horsepower calculated at each station?

Horsepower follows the polytropic method in GPSA Section 13: polytropic head from suction temperature, average compressibility and compression ratio (Eq 13-34b), gas horsepower from mass flow and polytropic efficiency (Eq 13-35), and brake horsepower after mechanical losses (Eqs 13-38 and 13-39). Suction is taken at the flowing gas temperature, assuming the gas is cooled after each station.

Which gas flow equation should I choose?

GPSA describes the Weymouth equation as agreeing more closely with metered rates on short pipelines and gathering systems. Panhandle A approximates partially turbulent flow and Panhandle B approximates fully turbulent flow, which is typical of large transmission lines. The AGA fully turbulent equation uses the pipe roughness directly. Efficiency factors are best calibrated against field data.