Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A rule within the program defines a set of facts, rules, and constraints that are used to gauge performance scoring criteria and event notification of devices in real-time, providing a quick analysis on of how equipment is operating and performing while sending alerts when critical events and alarms occur. When using an existing rule you can make changes to the rule to meet your business needs. When the rule is changed it is no longer a system (pre-defined) rule , but is now classified as a custom (user-defined) rule.

Step 1: Create the Rule Name

  1. From the Mega Navigation, select Rules.

  2. Select Actions > Add Rule.

  3. In the Create Rule section, select the Base Rule drop-down and then select New Custom Rule.

  4. Enter in Rule Name. Enter a descriptive name for the rule. For example, "70A High Supply Temperature VS Setpoint (Single Setpoint, Fan Status = On)"

Excerpt

Step 2: Enter the Rule Target Filter

  1. In the Rule Target Filter section, enter the following types or specific entities, as needed. You are required to select at least one Client and/or one Site and then at least one System or one Equipment. 

    • Clients

    • Sites

    • Equipment

  2. In the Edit Custom Rule section, select Save.

Step 3: Enter or Edit the Rule Properties

  1. On the right pane, the PROPERTIES tab is displayed.

  2. Select the Rule Priority.

  3. Enter a Description that describes the rule. For example, "Supply temperature is above the active/effective setpoint by 5ºF or more. Fan status is ON."

  4. Enter the System Effect of this Rule. Enter a description of the effect of the rule. For example, "Occupant comfort can be impacted and you may receive calls that it is too warm in the space."

  5. Enter the Recommendation for this Rule. The information entered in this field displays along with the rule information. You can enter potential causes for issues as well as a recommended solution. For example, for a supply temperature that is above the active/effective setpoint, you might enter: "Potential causes include: Heating overrides, mechanical failure of the cooling valve not allowing cold water to pass and/or dampers not opening/closing properly. Check for overridden fans, valves, and dampers in the BAS."

  6. Mark one or more Issue Types.

  7. Under Additional Rule Processing, you can optionally select the Rule Aggregate. Rule aggregates provide the ability to look back through time series to get Sensor values. It also allows for Rule-level processing like "This Rule must be in a Fault state for 3 hours before a Fault is triggered."
    The Rule Aggregate options are:

    • None

    • Consecutive Duration

    • Change Count

    • Percent Active

  8. In the Edit Custom Rule section, select Save.

Step 4: Set up or Edit the Sensor Filters

  1. On the right pane, select the SENSOR FILTERS tab.

  2. Select New Sensor Filter.

  3. In the Add Sensor Filter window, select the Sensor Source Type.

  4. In the Edit Custom Rule section, select Save.

Step 5: Enter or Edit the Formula

  1. On the right pane, select the FORMULA tab.

  2. Edit the Formula as needed. See Working with Formula Editor

blocks
  1. Blocks for more information.

  2. In the Edit Custom Rule section, select Save.

Step 6: Enter the Per Rule Score (optional)

The Rule Score is calculated based on a linear reset. As the formula moves between the 0 score value and the 100 score value, the Rule Score will be calculated proportionally. This allows you to view the overall score for a piece of equipment or system as well as a per-rule score for that equipment.

  1. On the right pane, select the SCORE tab.

  2. Mark Use New Formula Based Scoring

  3. Select the Formula Output Data Type. The formula output type should

associate
  1. be associated with the value type the formula will calculate.

    • Analog - Select for numerical values.

    • Boolean - Select for true/false values.

  2. Enter the Score Values. As the Rule Score approaches the 0 Score Value, it will proportionately decrease the target entity's (equipment or system) score based on its priority.

    • 0 Score Value - Enter the minimum score value.

    • 100 Score Value - Enter the maximum score value.

  3. Mark Use Custom Weight (1-100) to enter custom weight to control exactly how much each rule decrements the parent entity's score. 

Step 7: Enter or Edit the Fault Logic

  1. On the right pane, select the FAULT LOGIC tab.

  2. Edit the Fault Logic as needed. See Working with Fault Logic Editor Blocks for more information.

  3. In the Edit Custom Rule section, select Save.