flexpool

Begründung

Every order explainable, every release replayable: why an order is there, from the facts; and Nachrechnen, which recomputes a release from its journal record alone.

An order nobody can explain is an order nobody may send. flexpool keeps the reasons with every decision — not as prose someone wrote afterwards, but as the facts the decision was made from.

Warum?🔗

In Plan, every order has Warum?. One paragraph, written from the server's facts:

Kauf 45,8 MW bis 83,41 €/MWh: Erwartet sind 25 €/MWh (80 % zwischen −29 und 70 €/MWh). Eine gespeicherte MWh ist später 51 €/MWh wert; auch nach 6 % Verlust beim Laden lohnt der Kauf jetzt. Das Limit 83,41 €/MWh ist der höchste Preis, den eines der Szenarien für möglich hielt — darüber kauft der Pool nicht. Ladezustand 43 % → 55 %. Die volle Leistung des Pools ist ausgeschöpft.

Below it: the forecast quantiles, the scenario range the limit comes from, the water value, the efficiencies, the plan it belongs to — and the market rules applied, each with its registered source. The words are a template over the numbers; no model writes them.

The limits that can bind are named: the storage full (90 %) or empty (10 %), the pool's full power, and the day's end at least as full as its start.

Nachrechnen🔗

A release is a decision record on the journal:

day=2025-10-02 model=blend risk=balanced issued=2025-10-01T08:00:00Z round_trip=88 cycle_cost=0
max_order_mw=0 rules=sha256:… orders=68 mwh=461.5 buy_eur=27306 digest=sha256:dd0daf80…

Nachrechnen in Buch recomputes the orders from that record alone — the forecast as it stood at the recorded issue time, the settings of the time, the rules of the day — and compares the fingerprint of the order set. Identical is a proof: the plan is deterministic. If something cannot be reproduced, it says what: the rule pack changed since (rules), the forecast version is no longer available (forecast), or the orders differ (orders). It never quietly uses today's inputs.

API🔗

curl -s 'localhost:8080/api/v1/plan/day-ahead/why?pool=nord&start=2025-10-02T16:30:00Z'
curl -s 'localhost:8080/api/v1/book/day-ahead/replay?day=2025-10-02'     # ?seq= for an older record

Both need the API authentication and share the planner's one-solve-at-a-time bound.

Edit this page