I have available the active power attribute (kW) with a sample every more or less 10 seconds.
Starting from this value, I would like to calculate the daily energy production for yesterday (kWh).
I mean I would like to set up an analysis that, every day, at 5:00 AM, calculates the energy production for the day before.
I can assume to calculate the average power produced every minute of the day before. Then from the average power, I would like to calculate the energy production for every minute (simply dividing the average power in a minute, per 60) and then sum the minute energy production for the 1440 minute of the day.
How can I do this calculation in an Analysis template?