Description

Smart Operators make it possible to synthesize several points from a query. The syntheses can be of various types depending on the SmartOperator used:

The advantage of SmartOperator lies in the optimization of the JACE resources because it only executes the initialization query according to the parameterization. The components considered by the Smart Operator (and which must be selected by the initialization query) are as follows:

The Smart Operator Ext extension in the component takes care of the calculations and then returns the result to the ControlPoint (StringPoint, Numeric Point or BooleanPoint) of where it is located. The out slot of the Smart Operator also contains the status synthesis of the points.

Implementation

(To use the extension in an existing point, drag and drop the Smart OperatorExt extension present to inside the Smart Operator).

Example:


                  


Properties

Extension properties

        (warning) If the Smart Operator is not initialized an error message appears. Check the error messages in the Application Director to understand the reason for the failure.

         (warning) It is possible to define a relative query. This query is expressed relative to the extension (SmartMinExt for example). It is therefore necessary to go to the parent  twice (slot:../../|bql: ) to retrieve elements in the same component as the SmartOperator.

         (warning)  This property makes it possible to optimize the Smart Operator's processing. A null value disables this function, but in this case any change to an input property of the Smart Operator triggers the calculation, so if the synthesis includes many points, numeric for example,                  it can be resource-intensive. Irrespective of the setting of this variable, it is also a good idea to create a Smart Operator tree to distribute the processing rather than having a Smart Operator connected to many points.

Advanced configuration properties

         (warning)  In the case of Smart Status, the ControlPointOnly value also includes components with a status slot.

The SmartOperators with a numeric value (SmartAddSmartAverageSmartMinSmartMax) also have two additional slots:

Advanced configuration actions:

Properties reported at the parent point

General:

         (warning)  When a point is considered invalid, its value is ignored BUT its state is still added to the resulting status

If there are SmartOperators considered to be MultiplePoints, then only their invalid points will be added to the invalidPointCount.

If there are input components, they are counted as points (currently only in the case of a SmartStatus)

In addition to normal validity conditions (status, value, units), SmartOperators can be considered invalid if they are disabled (property set to false).

If it is invalid, the value of the Smart Operator is not taken into account in the calculations, but its status is, unless it is disabled (set to false).

If a linked activated Smart Operator is invalid:

In DisplayCountsOnParent only mode:

          (warning) It should be noted that in the case of SmartOperators working on other SmartOperators considered to be MultiplePoints, the counts from the SmartOperators "children" will be added to those of the parent.

Example: A SmartAdd has the following counters: alarmCount = 3 and faultCount = 2. Its resulting state is therefore {alarm, fault}.

A second SmartAdd (called GeneralSynthesis) works on this SmartAdd as well as on an additional point whose state is {alarm, unackedAlarm}.

If the SmartAdd is considered a SinglePoint, the GeneralSynthesis component will have the following counters: alarmCount = 2 (the SmartAdd + the point), UnackedAlarmCount = 1 (the point), faultCount = 1 (the smartAdd) and the other counters at 0.

However, if the SmartAdd is considered as MultiplePoints, the GeneralSynthesis component will have the following counters: alarmCount = 4 (the three points of the SmartAdd + the extra point), UnackedAlarmCount = 1 (the extra point), faultCount = 2 (the two points of the SmartAdd) and the other counters at 0.

          (warning) The syntheses of the states are independent of the syntheses of the values. If a point is invalid because of its value (+inf, NaN, etc.), its state is still counted in the synthesis status.


Actions

          (warning) If the initialization is not successful, check the error messages in the Application Director. There is no pop-up to indicate initialization failure.





Training

You can follow this e-learning course to practice