Where the Grid Thinks
How AI can contribute most to our electricity grid
By Age van der Mei
Self-organisation gives order for free, and adaptive systems thrive between rigid order and chaos.
The largest machine humans have built — the electricity grid — needs not just AI, but a self-organising artificial nervous system to become more reliable, sustainable, affordable and, as a new goal, evolvable.
The answer first
Artificial intelligence can soon help run the electricity grid, just as the grid itself is going through upheaval: millions of solar panels and batteries added at its edges, electric cars and data centres hungry for power, planetary pressure to decarbonise, while attackers are probing for new ways for disruption and control.
The instinct is to give the grid a bigger brain and help its operators and planners: more central optimisation, more AI at the top. I've worked for 15 years with different AI technologies and see that it's the wrong paradigm. The grid needs an artificial nervous system, not just a brain: meaning reflexes at the edge that never wait for a signal, judgement at the top where AI has time to think, and a thin layer of protocols (frequency, prices, connection limits) that no AI agent can override.
Hence this piece is about doing AI-ready grid infrastructure right. And doing it future-proof. It requires an augmentation of our traditional grid control — adding to the protection relays, frequency response and control rooms we have today three things they lack: live measurements at every layer of the grid, limits enforced in hardware at every connection, and certified fallbacks that take over within a fraction of a second when software or a link fails.
Take a neighbourhood transformer at its limit on a cold evening. Today the operator cuts load or orders a bigger transformer. In an augmented grid, the meters on that street already cap each connection, AI agents behind them shift heat pumps and car charging by a few minutes, and if the AI or the link fails, every device drops back to its certified default and the transformer stays within its rating.
Humans set the goals, physics sets the limits, AI helps to operate and plan.
It is the one design that keeps the grid affordable, reliable and evolvable.
1Why now
- The grid gets faster. Inverters replace rotating machines, so disturbances unfold in fractions of a second.
- AI arrives everywhere at once, and planted instructions can steer it without touching the grid.
- Rules change faster than the grid. Markets change in years; grid codes were written for decades.
2A trilemma of three time frames
| Goal | Time frame | What it means | Measured as |
|---|---|---|---|
| Affordable | Now, normal days | Low cost when the world behaves as planned | Nominal performance |
| Reliable | Now, bad days | Holds up when the world departs from the plan | Robustness margin |
| Evolvable | Over time | Learns at least as fast as the world changes | Learning margin α = Clearn / hstruct |
No design maximises all three. Carbon is a constraint on the design, not a fourth goal.
3Where the three meet: an artificial nervous system
- Information affordable · reliable
- Sensing and forecasts allow thinner margins.
- Interfaces affordable · evolvable
- Open standards and prices let newcomers join.
- Safe change reliable · evolvable
- Learn inside a proven envelope; keep diversity.
- An artificial nervous system all three
- Reflexes at the edge, coordination in between, judgement at the top, laws no agent can override. Failures stay local; change enters through the interfaces.
4Where AI contributes most
AI adds most where situations are new and varied and there is time to think: in the slower layers, and behind the meter within a limit the meter enforces. It adds least in the millisecond reflex loops, which must stay simple and provable. Robustness limits the authority of AI, not its presence.
| Layer | Control | AI agent | Testing level to operate |
|---|---|---|---|
| Device | Adaptive reflexes (L2) | No AI (A0) | Type-tested (T1) |
| Building / connection | Cooperative (L3) | Autonomous, within the meter's limit (A2) | Third-party tested (T2) |
| LV neighbourhood | Cooperative (L3) | Advisory (A1) | Certified & field-proven (T3) |
| MV & substation | Predictive (L4) | Advisory (A1) | Verified & audited (T4) |
| Transmission & system | Cooperative (L3) | Advisory (A1) | Verified & audited (T4) |
| Market & planning | Predictive (L4) | Advisory (A1) | Certified & field-proven (T3) |
Explorer recommendation for a Dutch-style grid today, balanced priorities: reliable in the worst of seven futures 57 / 100. A stylised model, not a measurement.
5How information flows: a nervous system, not one brain
The same grid can be run in two ways. In a layered design every layer has its own AI, sized to the time it has to decide, and the layers talk through narrow interfaces: limits go down, summaries go up. In a central design one large model sees all the data and sends every command. The difference shows in three things: how long a decision takes, how much information has to travel, and how far a fault spreads.
An artificial nervous system
Market & planning
h – yearsA1 advisoryMost capable models, on sovereign infrastructure
A fault reaches: money first, physical effects indirect
Transmission & system
min – hA1 advisoryLarge model in the operator's own control centre
A fault reaches: the whole country
MV feeders & substation
s – minA1 advisorySmall models at the substation, larger ones in the regional control centre
Industry connects here: a large connection with its own site controller, run like a building
A fault reaches: a district or town
LV neighbourhood
s – minA1 advisoryTiny or small models in the transformer station
A fault reaches: one neighbourhood
Building / connection
s – hA2 autonomousSmall model on the home or building controller; private data stays on site
A fault reaches: one household
Device
ms – sA0 no AIFixed, provable reflexes; a tiny network may only forecast or flag
A fault reaches: one device; a whole fleet if all are alike
One central brain
One central AI model
In one data centre; seconds per answer
Millions of devices, homes and sites
- Latency
- Seconds for every decision, also for reflexes that need milliseconds
- Per update
- Everything, from everywhere: nothing is summarised on the way up
- Link down
- The edge has no limits of its own to fall back on
- A fault reaches
- The whole country at once
- One planted instruction
- Steers every device it commands
6Twelve decision levers
Structure of control
Level of coordination, level of decentralization, self-organisation.
Reliable now
Communication speed, level of redundancy, error correction, proof of behaviour (with a verified fallback guard).
Evolvable later
Agent autonomy, diversity of response, learning per agent, rule-update speed, AI model capability.
7Ten design rules
- Layer by timescale: provable below, capable above.
- A verified core guards a capable one: AI proposes, proven limits decide.
- Every unit stands on its own when cut off.
- Know the state before you optimise it.
- Place AI where variety and time meet.
- Bounded authority: AI can always be vetoed or switched off.
- No single target: safety stays outside the reward.
- One model is a single point of failure.
- Evolve module by module, shadow mode first.
- Keep humans skilled: drills with AI off.
8What to do now
Grid operators
- Invest in state estimation before AI.
- Use advisory AI in control rooms now.
- Make every cell able to run on its own, and rehearse with AI switched off.
AdoptEvery unit stands on its own.
Do nowRun a drill with the control room offline and AI switched off, and fix every cell that stops.
Regulators
- Enforce connection limits in the meter, not in the agent.
- Scale acceptance tests with what is at stake, including red teams.
- Require diversity of vendors and models in large fleets.
AdoptHumans set the goals, physics sets the limits.
Do nowIn the next connection-code revision, require that limits for flexible devices are enforced in the meter, not in the device's own software.
Device makers and AI developers
- Build on open interfaces such as S2 and OpenADR.
- Ship every agent with a verified fallback, and never reward it on a single number.
AdoptA verified core guards a capable one.
Do nowShip every smart inverter, charger and heat pump with a certified fallback that takes over when the AI misbehaves or the link drops.
Everyone. Treat every model update as a new agent that earns its authority again: shadow mode, a small rollout, a tested off switch.
9Limits and sources
The explorer is a stylised model: it shows direction and rough strength, not measured values. All sources are checked against a publisher, DOI or catalogue.
Matni, Ames & Doyle (2024) layered multirate control · Sha (2001) Simplex · Shannon (1948) · von Neumann (1956) · Simon (1962) · Kauffman (1993) The Origins of Order · Meadows (1999) Leverage Points · Lovins & Lovins (1982) Brittle Power · Greshake et al. (2023) prompt injection.
Adding capacity or reserves is among the weakest ways to change a system. Information flows, rules, self-organisation, goals and above all the paradigm are far stronger.