Summarization - calculations
The following example explains how person count summarized values are calculated.
Hourly summarization
Summarization takes place from 9:00-9:59. Each minute, all readings are summarized. If there are no new readings, we assume the value is still the same.
Example
Reading time | Minutes | Count | Calculation |
---|
9:00 - 9:09 | 10 | 5 | 10 * 5 = 50 |
9:10 - 9:44 | 35 | 6 | 35 * 6 = 210 |
9:45 - 9:57 | 13 | 2 | 13 * 2 = 26 |
9:58 - 9:59 | 2 | 7 | 2 * 7 = 14 |
10:00 - 10:01 | <Next hourly summarization> | 7 | |
The summarization value that is stored for 9 o'clock is:
50 + 210 + 26 + 14 = 300
Daily summarization
Daily summarization is a sum of the hourly summarized reading values for a day.
Monthly summarization
Monthly summarization is a sum of the daily summarized reading values for a month.