Method
- Rolling plan: day 1 is planned at 00:00 for day 1 only. After that, each day at the decision time the plan covers the rest of that day plus all of the next day, using the prices known by then, and runs until the next decision. The 24-hour plan re-solves at 00:00 for that day only. Perfect foresight is one LP over the whole period, the upper bound.
- Value of leftover energy: for each month, the extra savings over the next two days from ending a plan with more energy stored, averaged over historical days of that month. It is scaled down by the factor α that earns most on that history, because the fit sees two days ahead.
- The assumed profile scales the weekday, Saturday and Sunday shapes so that each month adds up to its kWh (on the 2026 calendar). Public holidays count as weekdays. The default shapes are an approximation in the spirit of the BDEW H0 standard profile, not the official table.
- Load shifting (optional): the chosen share of each day's consumption moves like a device run, from that day's dearest stretch to its cheapest, with the same kW (at most the given device power), before the battery plans. Shifted load already sits in cheap hours, so it leaves the battery less to gain.
- Times are Europe/Berlin. Partial first and last days are dropped.
Methodology: full model, equations and limitations.