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

3.8.4 spitzglass_q - Spitzglass for flow Q
q = spitzglass_q(type,l,d,p1,p2,pb,tb,tf,z,e,sg=1)

Calculate the volume flow Q using the Spitzglass equation.

Arguments

type

Pressure drop type, this can be either of:

low

Low pressure drop Spitzglass equation.

high

High pressure drop Spitzglass equation

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  .