Defines consistency check criteria and enables you to create one or more logical expressions for the rule. Also, you can specify an action for each logical expression. An action is an inconsistency indicator that determines the software response when a user violates the rule in SmartPlant Electrical.
Whenever the software detects a rule violation, it performs the action assigned to the specific logical expression. Depending on an action, the software can record the inconsistency to a log file, reject the user operation automatically, or prompt the user to accept or reject the operation.
Each row is the tab is a specific logical expression that consists of various parameters for creating a relationship between a pair of rule components or between one rule component and its property or a specific value. A user operation that does not satisfy all of the consistency criteria is considered a rule violation.
To open the Consistency tab, you must first define rule components.
Enables you to define consistency criteria by creating one or more logical expressions and associating an action with specific expressions. A logical expression is a relationship created between two operands by means of a logical operator. An operand can be a rule component that you specified on the in the Rule Components tab, or you can use the Value operand to create a logical expression using a value of a specific property selected for a rule component.
A logical expression consists of the left and right parts separated by an operator:
Left part — Must always contain Operand 1 and its property, where Operand 1 represents a rule component.
Right part — Can contain either a rule component as an Operand 2 and its property or the Value operand and a value specified for the property of Operand 1.
Operand 1 — Enables you to select a rule component specified in the Rule Components tab. If the rule type is single component, the cell displays the rule component specified on the Rule Components tab under Component 1.
Copy — Enables you to copy, in the event of an inconsistency, a property value from one operand to the other. For example, rated power might be set at 240V in the properties of one operand and be null in the other. Using the correct copy function automatically copies the rated power to the operand that was null, thus removing the inconsistency. This function only operates if the Operator is set to = (equals). Note if the original values were not consistent before the rule was applied then the copy function will not be implemented. For more information on the Copy function operators, see Consistency Rules - Copy Function Operator Descriptions.
Property — Lists appropriate properties for the rule component that you select from the Operand 1 list. You can either select a property from the list, or start typing a required property. The software displays the property as you type.
Operator — Enables you to select an operator for the logical relation. For details about operator descriptions, see Operator Descriptions and Rule Examples.
Operand 2 — Enables you to select a rule component specified in the Rule Components tab, or select the Value operand of a property selected in the Property column. If you select a rule component, you create a relationship between properties of rule components. If you select the Value operand, you create a relationship between a rule component property and the property value.
Property/Value — Depending on the selection in the Operand 2 column, lists properties or values. If in the Operand 2 column you selected a rule component, you can select a property of a specific item type or filter. If in the Operand 2 column you selected the Value operand, you can select or type a value for the property defined in the Property column. Depending on the operator, a value can be free text, a number of units of measure separated by commas or semi colons, or a value selected from the list.
When you type a unit of measure, the software converts the value automatically to the default units of measure defined in SmartPlant Electrical.
Action — Displays a list from which you can select an action for the software to perform in case of inconsistency. In SmartPlant Electrical, the software applies an action only when the software detects a rule inconsistency (that is, whenever a user violates the logical expression with which you associate the action). For all actions, the software records rule inconsistency details into a log file which you can generate in SmartPlant Electrical.
The actions are:
Log — Records the rule inconsistency to the log file without notifying the user.
Warn — Prompts the user to reject or accept the operation when a rule inconsistency is found. This action gives the user flexibility in making an appropriate decision. When a user performs a batch operation, the software behavior depends on the Consistency Rule for Batch Operation setting defined in the General Settings window of Options Manager. If the setting is Continue current operation, in case of a rule inconsistency, the software accepts the inconsistency and completes the batch operation without displaying any messages. If the setting is Cancel current operation, in case of a rule inconsistency, the software cancels the inconsistent operation and then continues the batch operation automatically without displaying any messages.
Reject — Rejects user operation automatically and notifies the user about the rule inconsistency. This action prevents the user from accepting the operation when the software detects an inconsistency, forcing the user to take the necessary actions to fix the inconsistency before being able to continue.
Delete — Deletes a selected logical expression together with the associated action.
You can select a row by clicking the row tab at the far left side. An arrow symbol beside a row indicates the currently selected row.