flexpool

Open-source virtual power plant

Experimental 路 pre-1.0 路 APIs can change between releases

Flexibility you can explain.

flexpool pools batteries, homes and depots, plans them against day-ahead prices, offers their flexibility to grid operators and proves what was delivered. Every number is exact, every decision has a reason, and every step can be replayed.

Get started Run the demo Source on GitHub

$ docker compose up -d --wait
$ curl -s localhost:8080/healthz
{"status":"ok","version":"0.5.0","service":"flexpoold"}
$ flexpool scenario run scenarios/demo.toml
day       2025-10-02
events
  2025-10-01 12:00 +02:00  gate closed  da.gate
  2025-10-01 12:57 +02:00  published    da.prices
  2025-10-01 15:00 +02:00  gate closed  ida1.gate
prices    96 intervals  mean 84.82 EUR/MWh

The operator desk

Calm by default, loud on exception. Every value shows its age, every order has a reason, and nothing reaches a market until a person releases it.

The flexpool desk's Plan view: for Pool Nord the expected revenue with its range, one sentence on when the batteries charge and discharge, and aligned charts of price, power and state of charge over the day.

What flexpool does

From a forecast to a settled euro

  1. Forecastprice quantiles per quarter hour
  2. Plana schedule per pool, inside hard limits
  3. Tradechecked, released, journaled
  4. Offerflexibility to the grid operator
  5. Delivermeasured, quarter by quarter
  6. Settlerecomputed, digest compared

Built on open standards

Why flexpool馃敆

Aggregators sell what their customers' batteries, heat pumps and chargers could do differently. Each step of that sale is a number someone else relies on: a forecast, a bid, a schedule, a delivered megawatt, a settlement. flexpool computes every one of them deterministically and keeps the inputs. Its answer to "why?" comes from the record, not from memory:

Status馃敆

flexpool is pre-release software. The planning plane, the book, delivery, alarms, the desk and the flexibility market run end to end on simulated and replayed data. Orders are paper orders: no exchange is connected and no device is controlled. Get started in three minutes with Docker.