Average
The aggregate forms a value that is the average of all the values of the input signal and produces an output signal that consists of a data point that has a timestamp corresponding to the end of the data group.
Configuration
- Signal Name
The name of the signal at the ‘in’ port.
- Operation
To use the average aggregate, the operation must be
average
.- Parameters
- Use Only Good Quality
Only the datapoints with good Quality are used for calculation.
Default: enabled
- Minimum Number Of Required Values
If set the calculation requires a minimum number of values for a good quality.
Default: unset
- Output Signal Name
The name of the signal on the ‘out’ port. If empty, the Signal Name is the Output Signal Name.
Example:
The received data group has a granularity of 1h (e.g. 01:00-02:00) containing data points with a granularity of 10m.
Timestamp |
Values |
---|---|
01:10 |
1 |
01:20 |
4 |
01:30 |
3 |
01:40 |
2 |
01:50 |
3 |
02:00 |
5 |
The node builds an average of all data point values and creates an output signal with one data point timestamped at the end of the data group: 02:00
Timestamp |
Values |
---|---|
02:00 |
6 |