Professional Documents
Culture Documents
The AGA3 Module performs the gas flow calculations specified by the
American Gas Association, Report No.3 (AGA-3) ANSI/API 2530,
1985 edition.1 The output of this module is the rate of flow of a gas
through an orifice plate in thousands of cubic feet per hour (MSCFH).
POINT
ORIF_DIAM
PIPE_DIAM
ORIF_CONST
Module Terminals
DIFF_PRESS Default: None, entry required
(hw) Format: Analog signal or constant
Input/Output: Input
ORIF_CONST Default: 1
(K = Fa Fm Fl) Format: Analog signal or constant
Input/Output: Input
is the base or contract pressure of the gas in psia. The base pressure
specified here will be used to calculate Fpb which equals 14.73/Pb.
FPV_IN Default: 1
Format: Analog signal or constant
Input/Output: Input
POINT Default: 1
Format: Analog signal or constant
Input/Output: Input
is a construction code. This entry applies to the pipe tap and flange
is the specific gravity of the flowing gas. This is defined as the ratio of
the density of the gas to that of dry air at standard conditions.
is used to force the gas flow output to zero under certain measurement
conditions. It could be used to close a block valve and stop the flow.
If the TRACK signal is a logical variable, the ON state will allow the
flow-computed output to be furnished to the OUTPUT terminal. If the
Qh = C’ h w pf
where:
The orifice flow constant, C’, is composed of various factors, some are
fixed by the physical equipment and others vary with the state of the
flowing gas. The orifice flow constant is defined as follows:
where:
Fb = Basic orifice factor for a given orifice size and pipe diameter
Fr = Reynolds number factor
Y = Expansion factor
Fpb = Pressure base factor
Ftb = Temperature base factor
Ftf = Flowing temperature factor
Fg = Specific gravity factor
Fpv = Supercompressibility factor
K = Combined orifice constant
K = Fm F a F l
where:
These equations are broken up into two factors, one of which depends
on the physical equipment, and the other which depends on the state
of the gas.
14.73
Fpb =
Pb
Tb + 459.67
Ftb =
519.67
519.67
Ftf =
Tf + 459.67
1
Fg =
SG
b 14.73 Tb + 459.67
Qh = KFb * 1+ * Y * *
hw Pf Pb 519.67
519.67 h w Pf
* Fpv * *
Tf + 459.67 SG
K = Fm Fa Fl
where:
SG * Fpv2 * Pf
= 1 - 2.699 *
844.132 * Ta
2. Compute the value manually and wire a signal with the value to the
input.
Upstream 4 2
Downstream 3 1
This code affects the calculation of the expansion factor (Y). The basic
orifice factor is obtained using a linear interpolation technique based
on the AGA3 tables.
4. Wait for the task to execute at least once and then set the
PIPE_DIAM or ORIF_DIAM back to the original value.