Strange behaviour of Riemann sum helper

Hello together.
I try to measure some of the inverter data. In one case I measure Battery Power to make a sum so that I can get daily energy from battery. The problem I encountered is in the picture - bottom chart showing a peak of power coming from battery and upper chart shows the Riemann sum of this peak. How come that it sums it in such high energy? I mean the peak of power is 110 W for ~10sec but Riemann sums it as 0.3 kW! Any idea or tip?

Use method: left, not the default trapezoidal.

I was actually wondering what method should I use. I will recreate it then. Hope it helps. Is there any guidance what method to use for which case of usage?


1 Like

Thank you man. Helped a ton again!

1 Like