Energy Metering blocks > Flow Metering (AGA_US) function block

AGA_US function block status handling

The block determines the status of the output parameters and the internal accumulation parameters.

The status of the output parameters is a function of the status of the input parameters and the value of ERROR_STATE.

When ERROR_STATE is other than Clear, it impacts the status of output parameters. The error states include:

The status of the output parameters is set to the worst of the status of the input parameters and the status based on ERROR_STATE.

The status of the accumulation parameters is Good until a value accumulated has Bad or Uncertain status. At that point the accumulation parameter has Uncertain status until it is reset.

There is a corresponding PCT_ parameter for each accumulation parameter. For example, CURR_VOLUME has PCT_CURR_VOLUME. The PCT_ parameter contains the percentage of the total in the corresponding parameter where the value being accumulated had Good status.