Pipeline Toolbox
Function Reference Manual
Early Public Release DD-00011-000

3.8.3 weymouth_q - Weymouth for flow Q
q = weymouth_q(l,d,p1,p2,pb,tb,tf,z,e,sg=1)

Calculate the volume flow Q using the Weymouth equation.

Arguments

l

Length of the pipe L (m).

d

Diameter of the pipe D (m).

p1

Upstream pressure P1 (kPa ).

p2

Downstream pressure P2 (kPa ).

pb

Base pressure Pb (kPa ).

tb

Base temperature Tb (K).

tf

Average temperature Tf (K).

z

Gas compressebility factor.

e

Pipeline efficiency factor.

sg

Gas gravity (gair= 1).

Returns Volume flow Q in m3/h.