calculating integral of stepped curve #24315
Unanswered
martin3000
asked this question in
Q&A
Replies: 1 comment
-
Here is another discussion with more details: #24437 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a sensor that delivers 60W for 55 minutes and then 5W for 5 minutes, and again 60W.
So the integral over 1h is 605560+5560=199500Ws . This is a mean value of around 55W.
But using influxQL 1.8
SELECT integral("value") FROM "sensor.influxtestsensor" GROUP BY time(1h)
I get 117000, which is a mean value of 32.5
How can I get the integral for the step function?
Beta Was this translation helpful? Give feedback.
All reactions