Operator Descriptions and Rule Examples - Intergraph Smart Electrical - Help - Hexagon

SmartPlant Electrical Rule Manager

Language
English
Product
Intergraph Smart Electrical
Search by Category
Help
Smart Electrical Version
2015 R1 (7.1)

Describes operators available on the Consistency tab of the Rule Properties dialog. Also, provides examples of rules that you can create using a particular operator.

In the examples shown in the table, the rule components are displayed in brackets to separate them visually from properties or values. When a string that follows an operator does not start with a bracket, this indicates a single component rule.

Operator

Description

Rule Example

=

functions as 'equal to' with numeric characters or as 'like' with text strings. When using a Copy operand this operator initiates the copy rule.

In a filtered subset of 1hp motors:
(Motor) Rated voltage = 120 v

>

greater than

(Cable) Insulation rated voltage > (Motor) Rated voltage

>=

greater than or equal to

(Motor) Rated power >= (Motor) Brake power

<

smaller than

(Motor) Asynchronous speed < (Motor) Synchronous speed

<=

smaller than or equal to

(Motor) Asynchronous speed <= (Motor) Synchronous speed

<>

not equal to

In a filtered subset of heaters with heater rated power above 10kW:

(Heater) Number of phases <> 1

IN

any of the specified values

In a filtered subset of 10hp motors:

(Motor) Rated Voltage IN 380 V; 415 V; 400 V; 0.4 kV;

Comment: The values are case- sensitive and must be typed exactly as they appear in the Data Dictionary. The value separator must be either a semi-colon or a comma.

Important: In this example, even though the values 400V and 0.4kV produce the same result numerically, you must enter both values. This is because in SmartPlant Electrical, the software does not convert between one value and another.

Is Empty

ensures whether the user enters values for the item tag belonging to the rule component

Supply ACDC Is Empty

Is Not Empty

used for testing or comparing values or properties in a conjunction with another rule consistency

(Cable) Design length >= (Cable) Estimated length
(Cable) Design length Is not Empty
(Cable) Estimated length Is not Empty
Comment: if you do use the Is Not Empty operator in this rule, the software treats the expression as true even if the values for the (Cable) Design length and (Cable) Estimated length properties are not defined at all.