Valuekeep AssetsMeters and Monitorings
AssetsMeters and Monitorings
Meters and Monitorings
Back | List of Articles

How is the average of condition controls calculated?

Last changed in 02/09/2024
This article applies to:
PT
ES
AO
CV
MZ
ST
GW

When inserting monitoring values, the moving average is calculated for that value considering the average window defined in the monitoring and the average window value used on the calculation is also saved. It is performed for the next N-1 values (in the most recent date), and N is the average window value defined on the monitoring.

Example

The calculation of the average for a value is that value's sum with the previous N-1 values (in the oldest date) dividing by N, and N is the average window value defined on the monitoring.

Value Date Average Average window
2 15/07/2020 9:00:00
7 13/07/2020 9:00:00 5,67
6 10/07/2020 9:00:00 6
4 07/07/2020 9:00:00 5,67
8 06/07/2020 9:00:00
5 03/07/2020 9:00:00
10 01/07/2020 9:00:00

After inserting the value 4 for the day 07/07/2020 we remain with the following values:

  • Average window: 3
  •  The value 4 is inserted in a date between the values 8 and 6: 10, 5, 8, 4, 6, 7, 2
  • The calculation of the average for the value 4 is: (4 + 8 + 5) / 3 = 5,67
  • The calculation of the average for the value 6 is updated to: (6 + 4 + 8) / 3 = 6
  • The calculation of the average for the value 7 is updated to: (7 + 6 + 4) / 3 = 5,67
Bookmark or share this article
Esta página foi útil?
Obrigado pelo seu voto.
Related Articles
How do I create meters? How can I create monitorings? How do I insert meters values? How do I insert monitoring values? What is the meter average calculation?