Condition Based Processing or CBP is a powerful Stream Analytics module with a Rule Engine. This module relies on expert knowledge and converts this knowledge into rule base that acts like an expert monitoring the asset 24x7 and then taking appropriate action. This module is very versatile and can be used in many different ways. Please study this module carefully and use it to maximize returns you get from the system.


Here user defines various conditions or rules. Each rule is evaluated in real time on every polling cycle and if condition is true, attached action is executed


The condition itself has 3 parts -

relational conditions created using variables and constants

logical operators (AND / OR) to join relations conditions

Evaluation methods for the condition based on periodicity or based on number of occurrences.

Some examples -


Periodicity based condition

If flow > 10 AND pressure1 > 100. If this occurs and holds for 5 minutes, then condition is true


Occurrence based condition

If flow > 10 AND pressure1 > 100. If this occurs 4 times in 10 minute, then condition is true


Average based condition, comparison with another parameter

If average (NOX) for past 15 minutes > NOX Limit, then condition is true


Various actions can be taken when a condition becomes true as shown in the diagram below:







Condition Based Alarms

User can define conditions that indicate a failure or an impending failure and raise an alarm if the condition becomes true.


Execute Custom Logic (Pre-processor)

There are many scenarios where some logic needs to be executed when a condition becomes true. For example

  • In a ZLD plant, start recording video when flow becomes more than acceptable limit


The custom logic itself is written as a plug-in that we call 'processor'. When condition becomes true, selected processor is called. User can also define some parameters to be passed to the processor.


Device Status Alarm

User can define an alarm based on device status. This can be used to inform user about a device being down for more than a certain time


CBP Configuration for Device


Define CBP Condition

Define Conditional Alarm Action

Define Device Status Action

Define Execute Processor Action

Device Status Alarm Action

Modify

Delete