Skip to main content

Tanks with Measurement Below Minimum or Above Maximum

This analysis rule includes the list of tank elements that have a measured value below the minimum or above the maximum. When the measured value falls outside the range indicated by the tank's minimum and maximum, normal operating parameters have been violated. While nothing may be wrong (for example, the tank is being serviced) this situation is a gross error. This condition can indicate the following:

  • Missing data
  • Bad data
  • Invalid tank configuration

The following table lists a sample log output for this analysis.

Sample Log

TimeSeverityElementAttributeMessage
9/1/2005 10:06...REPORTING TANKS WITH MEASUREMENT BELOW MINIMUM/ABOVE MAXIMUM - BASIS= VOLUME
9/1/2005 10:06ErrorTankANetVolumeNetVolume: 100 (L) above Maximum: 50 (L)
9/1/2005 10:06ErrorTankBNetVolumeNetVolume: 1 (L) above Maximum: 0 (L)
9/1/2005 10:06ErrorTankCCorrectedVolumeCorrectedVolume: 100 (L) above Maximum: 0 (L)
9/1/2005 10:06ErrorTankDNetVolumeNetVolume: 1 (L) below Minimum: 1000 (L)

Analysis Method

  1. Collect a list of all tank elements in the current Case that satisfy the following criteria:
  • Status Attribute value is IS (In Service).
  1. Based on the analysis basis selection, mass or volume, compare the measured value to the minimum and maximum attributes.
  2. Write to the log section of the case. Report the violating tank information.

Configuration Using the Wizard

The configuration of the Tanks with measurements below the minimum or above the maximum is a selection of the General Gross Error Analysis Rule. You open the window for configuring the test (shown in the following figure) from the General Gross Error Analysis Rule Wizard.

  1. Open the Gross Error Configuration window as described in Configuring - General Gross Error Analysis Rule.

  2. On the Tanks tab, select Tanks with measurements below minimum or above maximum.

    A Tanks with measurements below minimum / above maximum - Attributes window opens.Figure 385: Tanks with measurements below minimum / above maximum - Attributes window

  3. Select measurement basis and the Attributes according to the following table:

    Attributes

    SelectionsDescription
    Measurement BasisSelect either mass or volume basis.
    MeasuredTank inventory actual measurement. The default is 'MeasuredMass' or 'NetVolume' depending on mass or volume selection.
    CorrectedTank inventory corrected measurement. The default is 'CorrectedMass' or 'CorrectedVolume' depending on mass or volume selection.
    MinimumTank minimum inventory value. The default is 'Minimum' for volume selection; there is no default for mass selection. You must add a minimum mass Attribute to your tank template before you can configure for a mass selection.
    MaximumTank maximum inventory value. The default is 'Maximum' for volume selection; there is no default for mass selection. You must add a minimum mass Attribute to your tank template before you can configure for a mass selection.
    Manual FlagFlag to indicate if a corrected measurement was used for the tank inventory. The default is to 'ManualAdjustmentFlag'.
    StatusTank in/out of service status. The default is to 'ObjectStatus'.
  4. Click OK to finish the configuration.

    The text "CONFIGURED" displays next to the 'Tanks with measurements below minimum or above maximum' selection.

  5. To run this test, see Running the General Gross Error Analysis.