Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This transformations calculates the mean value of instantaneous values over a certain period. If the options option allowMissingValues is enabled true, then a mean missing value is calculated if there 1 or more valid returned if one of the input values in the aggregation period is a missing value. If the option allowMissingValues is disabled false, then a missing mean value returned if one of the is calculated if there are 1 or more non-missing values in the period is a missing valueaggregation period, i.e. missing values are ignored in this case.

The transformation offers two options different ways for calcuating calculating the mean value over a period.  The default method (used by setting the includeFirstValueOfAggregationPeriodInCalculation option to true - this is the default behaviour) takes calculates the mean of the last n pairs, averages that, and stores it at the output time. An alternate method (similar to the MeanToMean aggregation) is enabled by setting the includeFirstValueOfAggregationPeriodInCalculation option to false) takes the last n  calculates the mean of all values that fit in the output interval (includding , excluding the start time itself) , and stores these that at the output time.

In the table below an example of in and output using both methods is given:

...