Time Average

The aggregate forms a value that is the time average of 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.

Values used for time average calculation can be selected with three options:

Last Good

Includes values from datapoints between data group start timestamp and end timestamp. If there are values before the data group start timestamp, then it also includes the value of the first data point before the data group start timestamp.

Next Good

Includes values from datapoints between data group start timestamp and end timestamp. If there are values after the data group end timestamp, then it also includes the value of the first data point after the data group end timestamp.

Interpolated

Includes values from datapoints between data group start timestamp and end timestamp. If there are values outside of them, then it also includes interpolated values at the data group start timestamp and data group end timestamp.

Each value is given the weight using the weighted arithmetic mean.

Configuration

Signal Configuration
Signal Name

The name of the signal at the ‘in’ port.

Operation

To use the time average aggregate, the operation must be Time 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

Data Point Selection

Selects data points for calculation - Last Good, Next Good, Interpolated (see description above).

Default: Interpolated

Output Signal Name

The name of the signal on the ‘out’ port. If empty, the Signal Name is the Output Signal Name.