Skip to content

improvements

Choose a tag to compare

@kw123 kw123 released this 06 Feb 11:49
· 8 commits to master since this release
  1. added
    measurement "consumption" = end value of period - start value of period
    UpTime = % of time the value in the time window was not 0
    Simple Average

  2. added other time bins
    day time, night time , last 12 hours, previuos 12 hours

  3. fixed calculation of std deviation, the simplified formula does not work for LARGE numbers, back to general formula : sqrt(sum((xi-av)**2))/N

  4. added simple average to measures

  • before it was ONLY time weighted average as some of the data is not in regular time intervals and some values are longer valid that others. ie when a state is not upated on a fixed time slot basis
    eg a lamp is off for 11, on for 1, off for 12 hours
    simple average would give (0+1+0)/3 = 1/3
    time weighted average would be (011 + 11 * 0*12 )/24 = 1/24 instead of 1/3
    now you have both.
  1. some print out improvements, shows definitions of time windows and measures