Function Blocks 
AGA8DL Function Block 
18    HC900 Hybrid Control Designer Function Block Reference Guide  Revision 11 
  2/07 
Properties Group  Parameter  Index #  Parameter Description  Value or Selection 
METH 
NITRO 
CO2 
ETH 
PROP 
H2O 
H2S 
HYDRO 
CO 
OXYGEN 
I-BUT 
N-BUT 
I-PENT  
N-PENT 
HEX 
HEPT 
OCT  
NON  
DEC  
HEL 
ARG 
  Each of the 21 gas 
component fractions can be 
configured with either a 
constant fraction value 
derived from a lab report or 
from an on-line gas 
chromatograph. 
< 1.0 and >= 0.0 
The sum of the gas components 
should equal 1. HCDesigner will 
show the sum of the gas 
components to aid the user. 
Local Gas 
Component 
Values 
 
SUM 
  Sum of the 21 gas entered 
(not active) values.  
Read Only 
 
Error Codes 
The AGA function blocks have a status pin that outputs a number that indicates the status of the block. This 
pin can be connected to comparator blocks to distinguish various error/warning conditions in the function 
block configuration. 
Table 5  AGA Error Codes 
Status 
number 
Block type  Severity  Description 
0  ALL  Good  OK – NO ERRORS OR WARNINGS ENCOUNTERED  
1  AGA 8 - DETAIL  Error  PRESSURE HAS A NEGATIVE DERIVATIVE 
2  AGA 8 - DETAIL  Warning  DENSITY IN BRAKET EXCEEDS MAXIMUM DEFAULT 
PROCEDURE USED 
3  AGA 8 - DETAIL  Error  MAXIMUM ITERATIONS EXCEEDED IN BRAKET 
4  AGA 8 - DETAIL  Error  MAXIMUM ITERATIONS IN DDETAIL EXCEEDED 
5  AGA 8 - GROSS  Error  THE ROOT WAS NOT BOUNDED IN DGROSS 
6  AGA 8 - GROSS  Error  NO CONVERGENCE IN DGROSS 
7  AGA 8 - GROSS  Error  VIRGS SQUARE ROOT NEGATIVE 
8  AGA 8 - GROSS  Error  COMBINED VALUES OF GRGR, X[2] AND HV NOT 
CONSISTENT 
9  AGA 8 - GROSS  Error  INVALID TERM IN VIRGS 
12  AGA 8 - GROSS  Error  FLOWING PRESSURE (PF) <= 0.0 PR > 1740.0 PSIA 
13  AGA 8 - GROSS  Error  FLOWING TEMPERATURE (TF) < 14.0 OR > 149.0 DEG F