LEXFLEX

Legal parameters in. Scaling potential out.

The problem

A flexibility service or peer-to-peer product that is legal in one member state needs a shim in the second and is barred outright in the third. The directives are common; their national transpositions are not. Twenty-seven readings of IEMD 2019/944 (as amended by Directive (EU) 2024/1711) and RED II/III have produced twenty-seven answers to the same questions: who may aggregate, what an energy community is, whether energy may be shared across a boundary, and how storage is charged for using the network. The Commission's own enforcement record shows how live this is — 26 member states received letters of formal notice in March 2025, and reasoned opinions followed against Croatia, Poland and Portugal in April 2026 — while the energy-sharing provisions of Article 15a fell due on 17 July 2026 into a landscape that is anything but ready. For anyone developing flexibility or P2P solutions, this fragmentation is the single largest obstacle between a working pilot and a European market.

What LEXFLEX does

LEXFLEX treats the divergence as the primary variable rather than an inconvenience to be abstracted away. The user specifies a service design (energy sharing, community P2P trading, aggregated residential demand response, a 15-minute-granular product, PED shared storage), an actor (consumer, prosumer, flexumer), an entity (individual, energy community, PED) and a DER portfolio (PV, heat pump, battery, EV, controllable load). A capability gate resolves what the assets and actor can physically deliver; the legal resolver then intersects that with what each jurisdiction permits, returning one of eight outcomes per state — runs as-is, adaptation required, dated transition, enacted-inoperative, contested, barred, portfolio-gated, or unverified. The "why not" is as much an output as the "what": every exclusion names its binding provision, with citation. With the Implementation Observatory release, LexFlex extends from legal capability alone toward readiness — what is permitted in law, and whether it can actually operate today.

Three zoom levels sit on one computation. A country profile gives the depth view with instrument-level citations. Side-by-side comparison shows which of the many differences actually bite for a given design. Compatibility clustering collapses the 27 into groups where the same design runs unchanged — and because clusters are derived per design, not declared, changing the product redraws the map. That is the tool's central claim: fragmentation is product-specific, and there is no fixed list of "similar countries".

The catalogue underneath

Every value traces to the LexFlex catalogue: the v7 consolidated release with the v9 DSO master (1,878 operators — DE MaStR and ES CNMC R1 complete) and v9 energy-community register (4,845 named communities across the EU-27 including 1,056 Irish SEAI SECs + 26 country frameworks; index v7_2, as-of 2026-07-20) — legal/regulatory EU-27 provisions, economic and stock parameters, Implementation Observatory readiness layers, institutional directories, and TSO/DSO/community master registers. Each record carries a provenance class (legal-primary through secondary), a source with retrieval date, a twelve-term legal-status vocabulary, verification state, and an evidence snapshot. Where a record is unverified it holds no value at all, only a structured task naming the source, the question and the acceptance criterion; the resolver renders it as unverified rather than guessing. Schema validation is enforced mechanically, and confirmed absence is recorded as a finding, not a gap. Real-world texture already sits in the seed data: Croatia's sharing regime is enacted but inoperative because the DSO settlement systems were never adapted; Sweden's energidelning arrives, lawfully and datedly, on 1 January 2027.

Why it matters

For developers, LEXFLEX converts market-entry due diligence from weeks of legal review into a query, and separates the invariant core of a design from the thin jurisdiction shims that must be re-specified per state. For policy audiences, it turns barrier attribution into evidence — which provision, transposed which way, removes how much addressable base — and can model the counterfactual that matters most right now: how much potential the pending Network Code on Demand Response would unlock if adopted. For research, the catalogue is an auditable, replicable instrument captured at precisely the moment the divergence is forming.

Open SimTool Maps Browse institutions