2.10 Windowed Aggregates
2.10 Windowed Aggregates
Section titled “2.10 Windowed Aggregates”This calculation is an optimized SLIDINGAGG variant that uses historian-provided aggregates to speed up data retrieval time. Instead of calculating over a sliding window, it calculates the aggregates over consecutive fixed windows within the time period.
The syntax of the WINDOWAGG function is:
calc/WINDOWAGG(input, operation, window)input — an integer or any valid timeseries source
operation — the short name for one of the operators listed below (AVG, COUNT, , NUMBAD, STDDEV, VAR, MIN, MAX, SUM, DIFF)
window — any valid time input — see section 2.2
The available operations for WINDOWAGG are AVG, MIN, MAX, COUNT, STDDEV, VAR. The functions as the same as for the SLIDINGAG calculation.