beautypg.com

Test an alarm, Complex alarm – Xylem STORM Central User Manual

Page 19

background image

17

Setup alarms

Testing an Alarm is performed by pressing

the ‘Evaluate’ button. If the result of

the Condition is true and the Alarm

has not been disabled, all Actions and

Notifications will also be run. If an error is

displayed, a syntax or typographical error

was discovered when trying to evaluate

the Alarm Condition. It will need to be

corrected before the Condition can be

properly evaluated.

Test an Alarm

If a more complex Alarm is desired, the

Advanced Alarm Condition can be used to

describe nearly any combination of Sites,

Sensors, and other functions. For example,

the image on the right shows an Alarm

Condition that will evaluate to true when

Stage from the UpperDam Site is greater

than 26.8 and Rain from the GageHouse

Site is greater than 0.30.

Supported syntax:

Using another Alarm’s result can help you set up differing levels of Alarms. For example, if you

already had an UpperDamAlarm set up, you could rewrite the above Advanced Condition as

{UpperDamAlarm} AND [GageHouse~Rain] > 0.30.

Complex Alarm

Retrieve the latest value of a Site’s Sensor

(case-sensitive): [SiteName~Sensor]

Logical operators: OR, AND, ==, !=, >, <,

>=, <=

Built-in functions: RSUM, MIN,MAX

where RSUM is the Reimann Sum. Syntax for these functions is Function(x,y) where x is a

[SiteName~Sensor], and y is the number of previous samples from the most recent to include in

the calculation. For example, MIN([Site1~Battery],5) would retrieve the minimum Battery value

from the last five samples recorded for Site1.

Retrieve the result of another Alarm (case-sensitive): {AlarmName}