
Function Blocks
AGA8DL Function Block
14
HC900 Hybrid Control Designer Function Block Reference Guide
Revision 11
2/07
Inputs
TF
= Temperature at flow in units selected by the UNITS configuration parameter.
PF
= Pressure at flow in units selected by the UNITS configuration parameter.
HW
= Differential pressure in the units selected by the UNITS configuration parameter.
(Only required if the meter block is AGA3.)
METH
= Methane Mole Fraction
NITRO
= Nitrogen Mole Fraction
CO2
= Carbon Dioxide Mole Fraction
ETH
= Ethane Mole Fraction
PROP
= Propane Mole Fraction
H2O
=
Water Mole Fraction
H2S
= Hydrogen Sulfide Mole Fraction
HYDRO =
Hydrogen Mole Fraction
CO =
Carbon Monoxide Mole Fraction
OXYGEN =
Oxygen Mole Fraction
I-BUT =
i-Butune Mole Fraction
N-BUT =
n-Butane Mole Fraction
I-PENT =
i-Pentane Mole Fraction
N-PENT =
n-Pentane Mole Fraction
HEX =
Hexane Mole Fraction
HEPT =
Heptane Mole Fraction
OCT =
Octane Mole Fraction
NON =
Nonane Mole Fraction
DEC =
Decane Mole Fraction
HEL =
Helium Mole Fraction
ARG =
Argon Mole Fraction
Outputs
RHOTP
= Density at flow temperature and pressure conditions in units selected by the UNITS
configuration
parameter.
RHOB
= Density at base conditions in units selected by the UNITS configuration parameter.
RHOS
= Density at standard conditions in units selected by the UNITS configuration parameter.
FPVS
= Super-compressibility factor
GRS
= Real Gas relative density at 60 deg F/14.73 PSI
GRS
=
(M
gas
*Z
air
)/(M
air
*Z
gas
)
where
Z
air
= .9995844 and M
air
= 28.96256
HV
= Heating Value in units selected by the UNITS configuration parameter.
ERR
= Set when calculation status is indicating an error condition.
WARN
= Set when calculation status is indicating a warning condition -
STATUS
= a status number is placed on this pin which can be used to find the error in the error/warning
lookup table (See
H
Table 5 AGA Error Codes). This enables the user to connect the pin to comparator
blocks to distinguish various error/warning conditions in the function block configuration.
METER BLK CONNECT
= Must be connected to the companion meter block. This output connection
provides multiple data for input to its associated meter function block, (AGA 3, 7, or 9), reducing the need
to make multiple connections to complete the configuration.
Execution Order of this block must be set to be less than meter block (AGA3, 7, or 9) Execution Order
for correct calculation sequence.