Solar predictions and curtailment, how to handle? #536
scruysberghs
started this conversation in
General
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
@davidusb-geek , I explained the issue the claude.ai code and had him/it create a PR, let me know what you think or if you see another option? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Starting this topic after a remark from @davidusb-geek on an issue a while back:
"For now the adjustment is based on historic values of both the real PV power and the forecasts. So it will consider any curtailment events as these are not filtered. But wouldn't it be nice to have a prediction of curtailment events integrated into the PV forecast?
We can open a discussion thread for this."
->
I’m running an MPC optimiser every two minutes in Home Assistant. My original approach was to feed it the Open-Meteo solar forecast (pv_power_forecast), supplemented by sensor.energy_production_today. As the first element of the forecast array I used the inverter’s actual output—but this caused the optimizer to toggle curtailment on and off each run when emhass was controlling the inverter.
To fix that, I changed the first array element to:
Here, the first value is actual inverter production + emhass curtailment power, so the optimizer sees the “true” PV output.
Now that we can use "set_use_adjusted_pv": true to invoke an ML model that reconciles sensor.p_pv_forecast with sensor.solar, I suspect we’ll need a different strategy for handling curtailment in our forecasts.
How are you managing solar predictions and curtailment in your setups?
Beta Was this translation helpful? Give feedback.
All reactions