I need to create channels that accumulate values.
I have access to real-time power and daily energy production, and I need the monthly total of energy produced.
Another example is sales profit: I have a data stream with the energy price, which changes every 15 minutes, and I’d like to accumulate the profit throughout the day—that is, energy produced * current price. Similarly, I’d like to calculate the monthly profit.
What would be the best solution?