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
{{ message }}
Repository navigation
A self-consuming hybrid keeps charging inside the deadband above the plan's absorb cap #1929
Narrow follow-up from #822. #815 fixed the shape #822 reported: a battery charging against a closed charge direction now makes the deadband fall through (anyBlockedBatteryCharging, covered by TestDeadbandExitMayNotStrandBlockedCharge).
One case is left. When the planner sets an absorb cap for PV surplus, the deadband still watches only the grid error. A hybrid in its native self-use mode holds the meter near 0 W by charging the battery itself, so FTW sends nothing. The planner audit on 27 Oct confirmed it: with an absorb cap of 0.60 and SoC 0.80, the battery keeps charging inside the deadband (go/internal/control/dispatch.go, about lines 1566–1579 on master 83c2b24).
Expected: above the absorb cap, a battery that charges by more than a set amount while the slot models about 0 W gets an explicit 0 W order, as #815 does for a closed charge direction. Drivers whose uncommanded state is already idle see no change.
Test: self-use hybrid, absorb cap 0.60, SoC 0.80, meter −20 W, battery +1800 W → order 0 W within one tick, and no order flapping over 300 ticks of meter noise.
Activity