Skip to content

Germany (DE-LU) market adapter

Germany is the third market in the schedule-based framework (Pyomo + HiGHS, 15-minute grid). The adapter (euroflex_bess_lab.markets.adapters.germany, market id germany) covers day-ahead energy, symmetric FCR capacity and asymmetric aFRR capacity. It deliberately rejects the imbalance workflow. The real-data results are in reports/germany.md, regenerated by scripts/research/germany_backtest.py.

Workflow Status Notes
da_only supported (experimental tier) DE-LU day-ahead, hourly MTU before 2025-10-01 expanded to quarter-hours
da_plus_fcr supported (experimental tier) FCR capacity, 4-hour products, pay-as-cleared
da_plus_afrr supported (experimental tier) aFRR capacity only (afrr.settlement_mode: capacity_only)
schedule_revision supported wrapper over da_only, da_plus_fcr, da_plus_afrr; revised energy is valued at day-ahead prices
da_plus_imbalance rejected no deliberate imbalance positions in Germany (see below)

Example configs (synthetic reserve prices, real day-ahead prices):

  • examples/configs/basic/germany_da_only_base.yaml
  • examples/configs/basic/germany_da_plus_fcr_base.yaml
  • examples/configs/basic/germany_da_plus_afrr_base.yaml
euroflex validate-config examples/configs/basic/germany_da_plus_fcr_base.yaml
euroflex validate-data examples/configs/basic/germany_da_plus_fcr_base.yaml
euroflex backtest examples/configs/basic/germany_da_plus_fcr_base.yaml

The examples deliver 2025-10-01, the first SDAC day with 15-minute products. The persistence forecast comes from 2025-09-30, the last hourly day, so they exercise the hourly-to-15-minute transition.

Market model

Day-ahead (EPEX SPOT / SDAC, DE-LU)

  • Bidding zone DE-LU (10Y1001A1001A82H), local time Europe/Berlin, gate closure D-1 12:00 CET. The adapter rejects configs with day_ahead_gate_closure_local later than 12:00.
  • SDAC moved to a 15-minute market time unit on trading day 30 September 2025, for delivery day 1 October 2025 (EPEX SPOT, NEMO Committee). Before that, DE-LU day-ahead products were hourly.
  • Normalisation (normalize_day_ahead_frame): the source resolution is read from resolution_minutes/resolution or inferred per local delivery day. Hourly rows become four quarter-hours carrying the hourly price, tagged provenance=expanded_from_60m and source_resolution_minutes=60. Native rows are tagged source_15m. This follows the ENTSO-E normaliser. Gaps inside a day and missing prices raise errors instead of being filled. Days whose source resolution contradicts the SDAC calendar are listed in the series metadata (sdac_mtu_mismatch_days). DST days keep their local length (92 or 100 quarter-hours).
  • Accepted inputs: the framework CSV/parquet layout (timestamp_utc, timestamp_local, resolution or resolution_minutes, price_eur_per_mwh), the public-data layout (timestamp_utc, resolution_minutes, price_eur_mwh, as in data/public/energy_charts/da_prices_DE-LU.parquet) and raw Energy-Charts JSON (unix_seconds, price).

No implicit balancing: why da_plus_imbalance is rejected

A German balance responsible party (BRP) must keep its balance group balanced in every quarter-hour (Bilanzkreistreue). Unlike Belgium and the Netherlands, the German framework does not let a BRP run a deliberate imbalance position to earn the imbalance price. The obligation was codified in § 4(2) StromNZV, which expired at the end of 2025 (text and status). It continues in the Bundesnetzagentur balance-group framework: the standard balance-group contract (BK6-23-102) and the decision to strengthen Bilanzkreistreue (BK6-19-218).

The imbalance price is the reBAP (regelzonenübergreifender einheitlicher Bilanzausgleichsenergiepreis). It is one price per quarter-hour for all German balance groups, computed jointly by the four TSOs (netztransparenz.de, TransnetBW). The adapter documents reBAP and accepts an optional data.imbalance input as a reference series, but never trades it.

The rejection happens in three places, each with the same message naming Bilanzkreistreue:

  • config validation, including schedule_revision with revision.base_workflow: da_plus_imbalance;
  • GermanyMarketAdapter.validate_timing / load_actuals;
  • GermanyMarketAdapter.settlement_engine.

FCR (frequency containment reserve)

Source: regelleistung.net, tendering and bidding, FCR settlement.

  • Joint procurement in the FCR Cooperation with a daily auction closing at D-1 08:00.
  • Six 4-hour products per day (00-04, ..., 20-24 local time). Products are symmetric. The minimum bid is 1 MW, in 1 MW increments.
  • Pay-as-cleared: every awarded MW earns the marginal price of the cooperation, or a local German price when an import or export limit binds. Activation energy is not remunerated separately.
  • Activation is full within 30 s at ±200 mHz, held for up to 15 minutes, with a ±10 mHz dead band.
  • regelleistung.net publishes the German FCR settlement price in EUR/MW per 4-hour product. The parser divides it by the product length (3 or 5 hours on DST days) to get EUR/MW/h. This reproduces published Q1 2026 figures exactly (see the report).

Energy rule for limited-energy reservoirs (what is modelled). The German PQ conditions (PQ-Bedingungen v1.04, 3 June 2022, section 3.1.6) size a 1 MW symmetric FCR unit at 0.83 MWh. Per direction that is 0.415 MWh:

Component MWh
Alert state: 15 minutes at full power 0.25
Maximum of the previous-activation and storage-management-lag allowances 0.125
5-minute bridge to reserve mode 0.04

The research LP keeps soc - 0.415 h x FCR / eta_d >= soc_min and soc + 0.415 h x FCR x eta_c <= soc_max at both ends of every quarter-hour. SOGL Art. 156(10) allows 15-30 minutes for the alert-state duration. The Continental Europe regulators referred that decision to ACER in July 2026 (ACER). The report shows the 30-minute case (0.665 h per direction) as a sensitivity. The engine path uses fcr.sustain_duration_minutes: 30, the nearest framework value (multiples of 15) that is not below 24.9 minutes.

aFRR (automatic frequency restoration reserve)

Sources: regelleistung.net tendering page (above), aFRR activation, ALPACA, PICASSO.

  • Capacity market (RLM). Daily auction closing at D-1 09:00. Products are 4-hour blocks with separate positive (POS) and negative (NEG) directions. Pricing is pay-as-bid: each awarded bid earns its own capacity price. Germany procures jointly with Austria and Czechia in ALPACA.
  • Energy market (RAM). Quarter-hour products closing 25 minutes before delivery, settled pay-as-cleared through PICASSO and IGCC. The German TSOs joined PICASSO on 22 June 2022. Every awarded capacity bid must be matched by energy bids. Full activation within 5 minutes.
  • Energy rule for limited-energy reservoirs. PQ-Bedingungen section 2.7.1 requires 60 minutes of energy per marketed MW, held for both directions when both are offered. The research LP keeps 1.0 h per direction for the whole block; this is conservative, because the rule allows a pro-rata buffer towards the end of the marketing window. The engine path uses afrr.sustain_duration_minutes: 60. With 60-minute buffers a 2 MWh battery can hold about 0.9 MW up and 0.9 MW down at the same time.
  • 15-minute capacity products (TSO project FlexRL) were expected for autumn 2026 but have been postponed (FlexRL). The results through 2026-10-25 contain 4-hour products only.

What is modelled: capacity only.

  • The benchmark capacity price is the published German average awarded price (GERMANY_AVERAGE_CAPACITY_PRICE). That is a benchmark for a pay-as-bid auction, not what an individual bid earns. The report adds a pay-as-bid sensitivity: the bid is the persistence price (optionally shaded), it is accepted only if it does not exceed the realised marginal price, and it earns its own bid.
  • Activation energy is not modelled, because a battery's activation depends on its energy-bid position in the PICASSO merit order, which public data does not identify. Expected activation is zero, while the 60-minute energy buffer is reserved.
  • In the engine path the config sets afrr.settlement_mode: capacity_only and afrr.activation_mode: none, and omits activation inputs. The adapter then supplies zero activation series (provenance=zero_activation_capacity_only_assumption). Users with their own activation data can use the expected-value mode with the four activation inputs. CSV forecasts must also provide activation forecast files, which should be zeros for capacity-only.

Decision timing (no look-ahead)

Reserve auctions close before the day-ahead auction, so for da_plus_fcr and da_plus_afrr the adapter's decision_schedule sets the joint decision time to the reserve gate closure: D-1 08:00 for FCR and D-1 09:00 for aFRR.

  • The engine reads that time from day_ahead_gate_closure_*. The true day-ahead gate closure is kept in day_ahead_market_gate_closure_*, and decision_time_basis names the rule.
  • da_only decides at D-1 12:00.
  • Persistence uses the previous local day: day-ahead prices for D-1 were published on D-2, and reserve results for D-1 were published on D-2, so no data from after the decision time is used.

Engine path vs. block-constant research LP

The framework solver lets reserve volumes change every quarter-hour. German products are 4-hour blocks, so solve_germany_day co-optimises one delivery day with reserve volumes constant per local 4-hour block. It also keeps the PQ buffers at both ends of each interval and, as in the framework, uses a binary that forbids simultaneous charge and discharge.

  • In replication mode (per-quarter-hour reserve, start-of-interval check, framework durations and throughput degradation) it reproduces the engine objective exactly. This is checked in tests/test_germany_block_solver.py and in the report's consistency section.
  • The block constraint is worth a few percent of reserve value (see the report's sensitivities).
  • Engine support for block-constant reserves would need a solver and engine change (a block length threaded from the adapter into optimization/solver.py); until then the example configs use the relaxation.

Data and licences

Data Source Licence / redistribution Where
DE-LU day-ahead prices Energy-Charts API (Fraunhofer ISE), data from Bundesnetzagentur / SMARD.de CC BY 4.0, attribution "Bundesnetzagentur | SMARD.de"; redistributed data/public/energy_charts/da_prices_DE-LU.parquet, test fixtures, example inputs
FCR / aFRR capacity results regelleistung.net data center (German TSOs) imprint: reproduction needs prior written consent; not redistributed built locally under data/raw/germany/

The example and test reserve prices are synthetic illustrative values, labelled synthetic_values_not_regelleistung_net. The regelleistung.net exports are xlsx files; the adapter reads them with the standard library (read_xlsx_rows, parse_regelleistung_fcr_results, parse_regelleistung_afrr_results), so no extra dependency is needed. The research script prefers the euroflex_bess_lab.public_data loaders and falls back to its own cache (--fetch). Both parsers agree to float32 precision.

Limitations

  • Day-ahead only: no continuous intraday or intraday auctions, no re-trading after gate closure. schedule_revision re-optimises at day-ahead prices as a proxy for intraday re-trading.
  • No imbalance revenue by design.
  • FCR activation energy and storage-management trades are not modelled. FCR energy is assumed to net to zero per block, with the PQ buffer reserved.
  • aFRR is capacity-only. The average-price benchmark overstates what a simple pay-as-bid bidder earns; the report quantifies this.
  • Price taker with perfect acceptance (except in the pay-as-bid sensitivity). Bid granularity (1 MW minimum and increments) is assumed to be met by pooling.
  • Daily 50 % to 50 % SOC boundary, linear efficiencies, linear degradation, no grid fees or availability losses.
  • The framework PersistenceForecastProvider needs an equal-length previous local day, so it raises on the day after a DST change. The research script then uses the last complete earlier day and lists those days. Engine runs across such a day need a different provider.