#Riemann's Sum for kWh

1 messages · Page 1 of 1 (latest)

blissful narwhal
#

I have a utility meter tracking energy that resets daily readings Watts, then a Riemann's summ converting to kW/h. When the utility meter resets to 0, the Riemann's sum does not reset, have I configured something wrong?

#

When the usage resets

#

The Riemann's sums skyrockets rather than reset

tawdry mason
#

looks like same problem as I hade with Riemann Sum, try recreate the helper with method selected as Left. In the other methods it will take the time from last changed value and multiply it with the new value. In cases when a meter is reporting 0W for 1 hour and then starts to report 1-2kw it will be calculated as 2kWh even if the load just started. With method Left it will look at the previous value (0W) and multiply it with the time.
Next thing is that a Utility meter doen't reset the sensor collecting the data, instead it collects it own sampling and rotate it acording to it schedule.

blissful narwhal
#

@tawdry mason appreciate your message, I've got a helper set up for both trapezoidal and left sums and both do the same thing. Both use the utility meter sensor, not the sensor itself to calculate kW/h, so theoretically when the utility meter resets so should the sum

tawdry mason
#

I beleive that a Riemann sum only adds the integration between 2 points to its calculation. So It will not reset to zero, You should use the Riemann sum on the power meter source that is showing the current power usage (W or kW) to get it to calculate the running energy usage in kWh. Then you can create a utility meter on the new Riemann sum helper to get the daily usage or monthly usage in kWh.

blissful narwhal
#

Ohhhh!! I tried that previously but didn't have much luck but I'll give it another go