JPB Process Calcs

Choosing a gas pipeline flow equation

Updated 2026-10-28

The app has six gas-line flow equations, and on the same pipe they can disagree by 30 percent. All six come from the same isothermal energy balance, where flow goes with the square root of the difference of the squared inlet and outlet pressures. The difference is how each one handles friction. Picking an equation is mostly a matter of matching its friction assumption to your line, then knowing how far to trust the answer.

How each equation treats friction

The worked case

A 40 mile (64.4 km) NPS 16 standard wall line, 15.25 in (387.3 mm) inside diameter, commercial steel and level. Gas specific gravity is 0.65 and the flowing temperature is 60°F (15.6°C). Inlet pressure is 1,000 psia (6,895 kPa abs) and the outlet must stay at or above 800 psia (5,516 kPa abs). Two questions: how much gas will the line carry at that pressure drop, and what reaches the far end at a design flow of 150 MMSCFD?

Step 1: run the general equation first

Start with the general equation, Z computed. It gives 126.0 MMSCFD (3.560 million Sm³/d). Along the way it reports an average pressure of 904 psia (6,231 kPa abs), slightly above the arithmetic mean because pressure falls faster near the outlet, an average Z of 0.8296, a Reynolds number of 8.73 million and a Darcy friction factor of 0.01255. Outlet velocity is 17.5 ft/s (5.34 m/s), only 0.316 of the erosional velocity, so velocity is not a concern on this line.

Note the average Z. The comparison calculator in the next step takes Z as an input instead of computing it.

Step 2: compare all six on the same case

Gas Line Equation Comparison, with Z entered as 0.8296, runs every equation at once. It fixes the efficiency factors at 0.92 for Weymouth and Panhandle A, 0.96 for Panhandle B and 1.0 for AGA. Results:

The spread across the five transmission equations, (max minus min) over mean, is 0.297. The calculator recommends Panhandle A, because the line is longer than 20 miles and the Reynolds number sits inside Panhandle A's band.

Read the numbers before taking the recommendation. The general equation and AGA agree within 1 percent (AGA is 1.007 times general). That says commercial steel at this Reynolds number is close to fully rough, and AGA's transmission factor of 17.98 is doing about the same job as Colebrook. Weymouth comes in at 0.907 times general, the low result you expect on a long line. Panhandle A and B come in at 1.174 and 1.223 times general. Spitzglass is far off because it was never meant for a 1,000 psia line. It appears only because the comparison runs all six.

Step 3: decide, then solve for outlet pressure

The recommendation is a short rule in the code. Spitzglass below 1 psig inlet, Weymouth up to 20 miles, then by Reynolds number: Panhandle A from 5 to 11 million, Panhandle B above 11 million, and the general equation below 5 million. It knows nothing about your company standard, the age of the pipe or field data.

Now solve each calculator for outlet pressure at 150 MMSCFD (4.24 million Sm³/d), with Z computed in each and the same efficiency factors:

That is about 200 psi between the lowest and highest answer, and the 800 psia delivery requirement falls right in the gap. Panhandle B says the line meets it as built. The general equation says the line falls about 100 psi short and needs more pipe or compression.

For a new line with no operating data, lean on the general equation, checked against AGA. Both build friction from roughness and Reynolds number, which you can defend from the pipe specification. The Panhandle results depend heavily on E, which is meant to be calibrated against measured flows and pressures on an operating system. A default E on a line that does not exist yet is a guess. Use Panhandle where that calibration exists, use Weymouth for short plant and gathering lines, and treat Weymouth as a conservative bound elsewhere.

Step 4: add elevation where it matters

Only the general equation calculator takes an elevation change. With a 1,000 ft (305 m) rise from inlet to outlet, its outlet pressure at 150 MMSCFD drops from 697 psia to 666 psia (4,594 kPa abs). The other five calculators treat the line as level. For a hilly route, split the line into segments at the high and low points and run each one, carrying the outlet pressure forward as the next inlet.

Mistakes that matter more than the equation

Calculators used in this guide