Quantcast
Channel: InfluxDB - Grafana Labs Community Forums
Viewing all articles
Browse latest Browse all 199

Average electricity based on SPOT and consumption

$
0
0

Newbi asking what I need to do, in order to get grafana to calculate average electricity price (cent/kWh).
Consumption data is read once every hour and stored into influxDB as well as Spot market price. Cost for each hour is calculated with Expression (consumtion * spot). This cost is then divided using a second expression (Cost / consumpition) to obtain snt/kwh for each hour.
Now I’m stuck since I cannot figure out how for sum up the individual hours before the calculation (cost/consumption) is performed.

Eventually this will be a gauge or pie chart, but expressed it here as time serial to make the datapoints visible. Thank you for your help

5 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 199

Trending Articles