Consider an example where you have an asset with the following properties:
idle
– A measurement that is0
or1
. When the value is1
, the machine is idle.idle time
– A metric that uses the formulastatetime(idle)
to calculate the amount of time in seconds where the machine is idle, per 1-minute interval.
The idle
property has the following data points.
Timestamp | 2:00:00 PM | 2:00:30 PM | 2:01:15 PM | 2:02:45 PM | 2:04:00 PM |
Idle | 0 | 1 | 1 | 0 | 0 |
Neuron calculates the idle time
property every minute from the values of idle
. After this calculation is completed, the idle time
property has the following data points.
Timestamp | 2:00:00 PM | 2:01:00 PM | 2:02:00 PM | 2:03:00 PM | 2:04:00 PM |
Idle Time | n/a | 30 | 60 | 45 | 0 |
Neuron performs the following calculations for idle time
at the end of each minute.
At 2:00 PM (for 1:59 PM to 2:00 PM)
At 2:01 PM (for 2:00 PM to 2:01 PM)
At 2:02 PM (for 2:01 PM to 2:02 PM)
At 2:03 PM (for 2:02 PM to 2:03 PM)
At 2:04 PM (for 2:03 PM to 2:04 PM)