You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load the last 7 days of daily inverter stats into a MemoryCache with 7 days' expiry.
Use the inverter data to calculate the max %age change in a single slot. This will replace the "slots to charge full battery" setting.
For each 30 minute slot through the day, aggregate the last 7 days' PV generation, and compare to the last 7 days' forecasts. This will allow us to create a per-slot damping factor that will take into account multiple strings, shading, etc
Once we have that, we can use the forecast to calculate how much power we need to generate in the current slot, to get the battery state to where we want it to be. So Charge action then only does something if the current slot looks like it's not going to achieve the battery SOC increase we need. If there's PV, Charge will be a no-op.
Always charge below export rate guarantees we arb the prices if they fall.
Do we need to do anything with the forecast overnight? Maybe use it to not bother charging, depending on the price from 7am to when we expect to start generating PV.
The text was updated successfully, but these errors were encountered:
So here's the plan
MemoryCache
with 7 days' expiry.Charge
action then only does something if the current slot looks like it's not going to achieve the battery SOC increase we need. If there's PV,Charge
will be a no-op.Do we need to do anything with the forecast overnight? Maybe use it to not bother charging, depending on the price from 7am to when we expect to start generating PV.
The text was updated successfully, but these errors were encountered: