Docs / Background
Why utilities need a new stack
The energy transition turned a slow, annual-reading business into a real-time, regulated, multi-sided market. The software has not caught up.
From annual readings to quarter hours
For most of the twentieth century a utility’s IT did three things. It read a meter once a year, sent an invoice, and kept the customer record. Power flowed one way, from large plants through the transmission grid to passive consumers. The software matched: monolithic billing systems, batch jobs, and integrations built once and left alone for a decade.
Three changes ended that world.
Liberalisation (from 1998 in Germany). One company became several roles. EU unbundling separated the supplier (Lieferant), who sells energy, from the grid operator (Netzbetreiber), who runs the wires, and later from the metering point operator (Messstellenbetreiber). These roles may sit in one Stadtwerk group, but they must talk to each other as if they were strangers: through standardised messages, on regulated deadlines, with no privileged shortcuts. In Germany this became the Marktkommunikation. See The German energy market.
Decentralisation. Millions of rooftop PV systems, batteries, heat pumps and wallboxes turned consumers into prosumers. The low-voltage grid, which was designed for predictable household load, now sees reverse flows and evening peaks when cars charge. Grid operators that never needed telemetry below the substation now must see and sometimes steer individual devices. See Grid, metering and flexibility.
Digitalisation by law. Smart meter rollout (MsbG), §14a EnWG control of heat pumps and wallboxes, dynamic tariffs, the 24-hour supplier switch, energy sharing and e-invoicing mandates are not optional modernisation projects. They are legal obligations with deadlines, and each one changes processes, formats and systems.
The multi-utility: one company, many regulated businesses
Germany has around 900 Stadtwerke, municipal utilities ranging from a few thousand to more than a million customers. A typical mid-sized Stadtwerk runs, under one roof:
| Business | Regulated by | Talks to |
|---|---|---|
| Electricity and gas supply | EnWG, StromStG/EnergieStG, BNetzA Festlegungen | Grid operators, balancing responsible parties, customers |
| Distribution grid (electricity, gas, often heat and water) | EnWG, ARegV, §14a, Redispatch 2.0 | Suppliers, TSO, metering point operators, connection customers |
| Metering point operation (gMSB) | MsbG, BSI TR-03109 | Gateways, grid operators, suppliers |
| Public and depot charging | AFIR, LSV, PAngV, MessEG (Eichrecht) | Drivers, eMSPs, roaming hubs, the national access point |
| Energy services: PV, heat pumps, HEMS, tenant power | EEG, GEG, MsbG | Households, installers, the grid operator |
| Fibre (FTTH) | TKG | Other carriers (provider switch), open-access partners, end customers |
Each business usually runs on a different system from a different vendor, glued together by file transfers and manual work. The same customer appears in four databases. The same meter reading is validated three times. The same invoice arithmetic is re-implemented by every vendor.
Four forces arriving at once
1 · Regulation every six months
The BDEW publishes new format versions (Formatversionen) for market communication every April and October. A format version is a coordinated set of EDIFACT message guides, application handbooks and code lists. On top come BNetzA decisions (Festlegungen) on processes, balancing (MaBiS), Redispatch, e-mobility and energy sharing; the switch to AS4 transport (binding profile 1.2 from 1 October 2026); and planned API web services next to EDIFACT. Each release is a project for every market participant, and today every vendor implements the same tables independently.
2 · Flexibility becomes the business
Since 2024, §14a EnWG lets grid operators reduce the power of heat pumps, wallboxes and batteries in exchange for lower grid charges. Suppliers must offer dynamic tariffs. Energy sharing under §42c EnWG lets neighbours share generation through the public grid. Bidirectional charging is coming. The value in all of these comes from coordinating devices behind the meter with the grid and the market, which today live in three separate system worlds.
3 · Software must be accountable
The EU Cyber Resilience Act requires manufacturers to handle vulnerabilities and report exploited ones from September 2026, with full obligations from December 2027. NIS2 and the German KRITIS rules extend security duties across the energy sector. Eichrecht (MessEG/MessEV) requires that a driver can verify every kilowatt-hour they pay for. GoBD requires immutable books. B2B e-invoicing becomes mandatory between 2025 and 2028. Every one of these asks the same question: can you prove it?
4 · AI in operations, with a person in charge
Utilities run large exception queues: rejected messages (APERAK), clearing cases (Klärfälle), implausible readings, disputed invoices. Language models are good at preparing these cases. Regulators and auditors will not accept “the model decided”. The workable pattern is an assistant that proposes inside a governed, replayable runtime, and a person who decides.
What a next-generation stack must do
From these forces follow the requirements the stack is built on:
- Composable, not monolithic. A utility must be able to adopt one part, such as the market communication engine, §14a control or the charging back office, next to its existing core.
- Regulation as tested code. Market rules, deadlines and formats implemented once, cited to their source, tested against conformance suites, and released on the same calendar as the regulator.
- Exact by construction. Energy and money never as floating-point numbers. Time always in Europe/Berlin, including 23- and 25-hour days.
- Edge to ledger. The same stack speaks to the heat pump, the substation, the market partner and the bank, so evidence is never lost between systems.
- Evidence everywhere. Signed readings, signed journals, a tamper-evident ledger, and an evidence bundle for each control action.
- Open and verifiable. A regulator, an auditor or a municipal council can read the code, and anyone can run the conformance tests.
The Architecture page shows how the stack meets each of these.