Skip to content

Forecast error bands reset on every Core update #1489

Closed

Description

@frahlg

Problem

Forecast error bands never leave their cold-start form on a box that takes weekly betas.

NewCalibrator(history, site.Revision, …) uses only error samples from the same cohort, and the cohort revision includes the Core Version. Every update starts a new cohort with no errors, and empirical bands need 48 samples over 7 days. The planner's forecast margin (safety_k) then always scales the wide cold-start widths: 35–50 % of load, and PV down to the model's lower bound.

Evidence (home box)

  • The live plan on 1 Oct used exactly the cold-start load width (max(250 W, load × (0.35 + 0.05 × lead))) for every night slot.
  • That is why k 1 was so harsh: at 11:30 it would have counted on 1.8 of 7.2 kW of forecast sun.

Fix

Key the cohort on what decides the forecast (learning revision, Energyplan binary, forecast pipeline policy), not on the Core build version. Bump forecastPipelinePolicy when Core's own forecast composition changes.

Related: #1482.

Activity

  1. added 2 commits that reference this issue on Oct 1, 2026
    9ff5cd7
    adef12f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions