Tanks with Invalid Material Names
This analysis rule includes the list of tank elements that have an invalid material name.
An invalid material name can indicate the following:
- A change in operation.
- A missing material value.
- A new material name has been created; however, it has not been added to the material table.
The following table lists a sample log output for this analysis.
Sample Log
| Time | Severity | Element | Attribute | Message |
|---|---|---|---|---|
| 9/1/2005 10:06 | ...REPORTING TANKS WITH INVALID MATERIAL | |||
| 9/1/2005 10:06 | Warning | TankA | Material | Tank material Attribute is empty |
| 9/1/2005 10:06 | Error | TankB | Material | Material 'BadMaterial' not found in table SF_Material Table |
Analysis Method
- Collect a list of all tank elements in the current Case that satisfy the following criteria:
- Status Attribute value is IS (In Service)
- Check that the material name Attribute value can be found in the material table in the material column.
- Write to the log section of the case. Report the violating tank information.
Configuration Using the Wizard
The configuration of the Tanks with Invalid Material Names 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.
Open the Gross Error Configuration window as described in Configuring - General Gross Error Analysis Rule.
On the Tanks tab, select Tanks with invalid material names.
A Tanks with invalid material names - Attributes window opens.
Select Attributes according to the following table:
Attributes
Selections Description Tank Material Material in the tanks The default is 'Material'. Material Table Material table name. The default is 'SF_Material table'. Material Column Name of the column in the material table that contains the material. The default is 'Material'. Status Tank in/out of service status. The default is to 'ObjectStatus'. Click OK to finish the configuration.
The text "CONFIGURED" displays next to the 'Tanks with invalid material names' selection.
To run this test, see Running the General Gross Error Analysis.