Skip to content

idea: risk-aware overnight consumption buffer for floor-proximity decisions (asymmetric loss) #418

Description

@johanzander

Idea

Surfaced while investigating #381 (see conclusion posted there). Not proposing
this for implementation now — recording it as a future improvement that needs
real data before it's worth building.

The observation

The DP currently plans against a single point-forecast (the mean expected
consumption) for every period, including the pre-dawn hours with no PV to
rescue a bad forecast. But the cost of a forecast miss is asymmetric there:

  • Underestimating overnight consumption risks the battery hitting the
    floor before dawn, forcing an import at the buy price — a real, immediate
    cost.
  • Overestimating overnight consumption just means the DP holds back energy
    that turns out to be unneeded. That energy isn't lost — it's still in the
    battery and gets deployed at the next-best opportunity on a later re-plan.
    The cost here is much smaller: a delayed-use timing cost, not a lost sale.

This is a classic asymmetric-loss ("newsvendor") setup: planning against the
mean forecast is not the same as planning against the cost-minimizing
forecast when the two error directions cost so differently. A conservative
consumption estimate (e.g. a P70–P75 quantile) for the no-PV tail of the
horizon would trade a small, ongoing delayed-use cost for a reduction in
floor-breach risk.

Why this is not a fix for #381

#381's incident was a one-off ~25% overnight consumption miss, costing
~€0.15–0.20. That single data point doesn't tell us whether floor breaches
from forecast error are a recurring pattern or a rare tail event — and
applying a conservative buffer has a cost on every night (not just the ones
that miss), so it's only worth it if the aggregate saved-breach cost exceeds
the aggregate delayed-use cost across many nights/users.

What's needed before building this

  • Historical overnight forecast-vs-actual consumption deltas across multiple
    users/nights, to see if floor-breach-causing misses are common or rare.
  • If common enough to matter: a study of what buffer size (if any) is net
    positive, and whether it should scale with proximity to the floor / hours
    until PV, rather than being a flat adjustment.
  • This is a forecast/risk-modeling change to the DP's planning input for the
    no-PV tail of the horizon — not a new manual SOC knob (that idea was
    already evaluated and rejected in feature: computed overnight reserve floor (Min SOC + historical night use) so one knob covers evening export + night load #381).

Status

Idea only. No action planned until supporting data exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions