Optimizer Forecast adjustment
Is your feature request related to a problem? Please describe. Since one of the recent updates, the optimizer dynamically adjusts the forecast based on actual production data. However, I think the time horizon on which it bases this adjustment is set too short, which can lead to very strange forecasts when there are slight deviations for 1-2 hours.
For example, I have some shading on the modules until about 8-9 a.m. As a result, the solar-production in the first two hours of sunshine is much lower than predicted. This then leads to incorrect forecasts on the optimizer page. Some hours later, the forecast of the optimizer fits very well.
Describe the solution you'd like I think the time horizon for comparison between real production data and forecast should be larger or, ideally, adjustable.
It's a compromise. The adjustment is always focused on the current day and that in turn aligns quite well with the weather. There aint no perfect solution...
I completely agree that there's no perfect solution. The question is, what do I primarily want to know from the forecast? The exact power-output of the PV system every 15 min? Or the total amount of energy production, and the precise power distribution in this case is more secondary?
It's energy, even when expressed as power over time.
The adjustment is always focused on the current day and that in turn aligns quite well with the weather.
Local weather should already be baked into the forecast source data itself. That's the sole reason why we integrate a datasource here. Agree with @florian240483 that the adjust / correction factor should be based on a larger time frame (multi day) to avoid spikes in the morning.
I totally agree with @naltatis. Today i noticed, that the correction factor was set to zero over night. But in fact, if i look at the correction factor over the last few days, it's clear that it's very similar every day (around -15%). This suggests that the weather model simply has a relatively constant deviation in the amount of energy produced. However, the time of day this deviation occurs (in my case, in the morning) is irrelevant.
From my perspective, it's not so important that the correction factor is calculated "perfectly" for each day, as the forecast should also be accurate for the next x days. If the correction factor is recalculated every day, then probably an incorrect forecast for the next x days will be made every morning (And when I think about the future, perhaps some wrong decisions will be made initially by the optimizer).
So what do we want? We can simply make the adjustment factor actionable in the backend- right now it's enforced for optimizer regardless of the UI setting. Wdyt?
I would suggest a time horizon of about one week. But I think you know this better than I do, @naltatis.
I also had some issues with the Forecast-tariff recently, so no forecast data was available for 2-3 hours. In that case, the Optimizer made an extremely large upward adjustment (~+1000% and more), which means you can completely forget about the forecast for the rest of the day. I think there should be some way to handle such incidents. Similar to what is described in #30753.
Especially given that the optimizer will soon need to make decisions regarding specific actions, certain peaks in the forecast (both upward and downward) should be avoided.
have some shading on the modules
You can decide to use the adjusted forecast or not. You can also run the optimizer locally if you need longer horizon and have the data. We‘re not going to extend the period at this time.
@naltatis we could still low pass the forecast adjustment factor but imho that is just another share of „wrong in a different way“.