Feature: Native Solar Clipping Buffer (Resolves #1206)#4036
Conversation
|
Cross-referencing #4023 (Model curtailment on a negative export price) — our PRs look complementary and touch some of the same files, so flagging for coordination.
Yours handles clipping against a power limit with active SoC buffering; mine models price-driven curtailment and keeps PV calibration clean (modelling-only). We overlap in |
|
This looks very smart, I guess the question I have at the higher level is why does PredBat not handle the clipping correctly already, could it do so natively without having to work around it? |
ae46217 to
123776b
Compare
|
Thanks @springfall2008! IMO the need for a solution like the clipping buffer stems from the combination of hardware limits and forecast resolution:
This feature introduces a proactive safety margin to ensure there is always a buffer of empty battery space ready to absorb those local above average spikes. |
9959642 to
55d32ac
Compare
Inside PredBat solar there is a cloud model which creates a wave formation on the solar in 5 minute intervals throughout the 30 minute period basic on the variation between 10% and 90% forecasts. I'm wondering why it isn't working for you and if we can debug that? |
I think there are probably a few things affecting it. This happens for me as well, and it seems to be at least partially because Predbat assumes that in freeze export mode the battery won't be charged whereas for FoxESS at least, it is, when the generation is above the export limit + house load. This causes Predbat to think that battery will fill slower than it actually does. See #3555 for a bit of a discussion on that. |
55d32ac to
2d71bab
Compare
|
Hey @springfall2008, taking your suggestion, I've had a stab at integrating the manual clipping overrides directly into the cloud model. I'm still testing on my setup to evaluate real life results, but if you have a sec I'd appreciate you your eyes on the approach to see if it better aligns with your expectations. You can check out the branch here: https://github.com/rholligan/batpred/tree/clipping-cloud-model |
Resolves #1206. This PR introduces a native clipping buffer to Predbat. It prevents solar energy loss on high-generation days by reserving a dynamic buffer in the battery SoC, specifically targeting periods where PV generation is forecast to exceed inverter AC capacity or DNO export limits.
Key Features:
Clipping Limit" (choosing the most restrictive hardware or DNO constraint).
(default 5% of window solar) to protect against un-forecasted cloud-edge spikes.
Configuration Parameters:
Testing & Documentation:
Developed with Gemini ✦