Aggregation Sensors¶
Aggregation sensors are fictional sensors defined from actual sensors. They can be used for various purposes, e.g. to compute zone water balance, sum up values from multiple flow sensors to get the total pump station flow, and similar. Each aggregation sensor is defined by an equation allowing for summing up values from "sensors to add" and values from "sensors to subtract". This mechanism allows you to define an aggregation sensor equation such as "sensor 1 + sensor 2 - sensor 3", for example.
Insert¶
This button is used to insert a new aggregation sensor into the list.
Delete¶
This button is used to delete the selected aggregation sensors from the list.
Figure: The Aggregation sensors editor for the Online analysis
The editor attributes are described below.
ID¶
This is the identification of the aggregation sensor.
Description¶
User-defined description of the aggregation sensor.
Is active¶
This option allows you to enable or disable the aggregation sensor without adding or removing it from the list.
Output table¶
This is the name of the table containing output data. It can be the same table as used for sensors input data. Or, it can be another table with the same data structure (matching field names) in the same database as the sensor's input table.
Sensors table¶
The table in the 'Sensors' group defines the aggregation sensor using actual sensors. For each aggregation sensor, this table must contain at least one sensor, with the following settings:
- Sensor ID: The identification of the input sensor.
- Sensor table: The name of the table with sensor's data.
- Sensor mode: This is a choice between 'Add' and 'Subtract'. 'Add' means that the value from the sensor is added to the aggregation sensor. 'Subtract' means that the value from the sensor is subtracted from the aggregation sensor.
- Multiplier: This is a multiplier "k" which will be used to multiply the sensor values before using them in the aggregation sensor.
- Offset: This is an offset "n" which will be added to the sensor values before using them in the aggregation sensor. Note that the offset value is applied after the multiplier, i.e. the final value from the sensor = sensor value * k + n
- Is active: This option allows you to enable or disable the input sensor without adding or deleting it from the list.
- Description: An optional description of the input sensor.