Mon, Nov 30

Autonomous Grid Architecture: The Software Components We Need Most

Part 2 in my Autonomous Grid Article Series

Disclaimer: The article was originally posted on the AI-native Power Grid Newsletter on Substack, but adapted and refreshed for Energy Central.

Last week I wrote the 1. part of this series: What is an Autonomous Grid. There I gave my definition of an autonomous grid: a grid where defined decisions are taken and executed by machines, inside limits that humans set and own. The machines act on a trusted picture of the grid state. And when the state or the limits cannot be trusted, operations fall back to a safe mode.

In the meantime I read “The Grid We Need Now”, an independent review of AI in the electricity networks, done for the UK government. Chapter 3 is about autonomy. And interestingly (or luckily for me), it is quite aligned with my thinking and ideas. It talks about levels of delegation, operational design domains and safety cases. If you work in grid operations, I can really recommend reading it in detail.

Both my article and the government define an autonomous grid. The vision. Now, in this post, I want to talk about the software we do need to deliver on this vision.

Spoiler alert: We need a lot more than AI. The AI agent that does the reasoning and takes the decision is actually the easiest part. Most of the hard stuff is the work that sits around it. We need software that provides the AI (or the machine) a true picture of the grid. We need software that tells the AI what and when (meaning in which conditions) it is allowed to do. And we need software that keeps track of what the AI did.

The Software that makes the AI-native Power Grid

Some weeks ago, I tried to formulate my thoughts around 4 layers defining the architecture of an AI-native Grid: measurement, trusted state, cognition and control. An autonomous grid needs all four of them. But it also needs two more things that spawn across all layers: limits that humans set, and a record of what happened.

Going back to my definition from part one, we can easily identify several crucial software modules to operate an autonomous grid.

  • A trusted picture of the grid needs the Trusted State.

  • Limits that humans set and own need Software to orchestrate Limits and Policies.

  • Defined decisions need Decision Agents in the Cognition Layer.

  • A safe fallback needs Supervision between Cognition and Control.

  • To know who is accountable, we need a Record or Audit Trail.

Funny enough, only one of these five is about AI.

The Trusted State

Everything starts with the trusted state. A machine (or AI) can only make good decisions if it sees the grid correctly.

In part one I mentioned the DSO4DT report. It found fully integrated and up to date digital twins only at a handful of DSOs in Europe. The UK review shows the same gap from another side: the system operator in Great Britain sees only part of the home solar, batteries and EV chargers connected to the grid.

So for an autonomous grid, the software for the trusted state must do three things:

  • Keep one network model that everybody uses. The same topology for planning, for operation, for DERs or the edge. Today, many utilities still have one model per department.

  • Estimate the state also where there are few measurements. Think about the low voltage grid, where most of the new assets get connected.

  • Tell how good the picture is. Tell the quality or trustworthiness. Most systems today don’t do this. But when a machine acts on the state, it must know how much it can trust it. Or when it should not trust it at all.

Software to orchestrate Limits and Policies

In part one I said that the machine (AI) acts inside limits that humans set and own. With owning I mean being responsible or accountible for. For the software, this means that limits and policies become something we have to handle on their own. Like data assets. Just like the network model.

Think about where limits live today. In protection settings. In operating instructions. In an Excel sheet. And in the head of an experienced operator. Or now, maybe in a Copilot solution. For an autonomous grid, this is not good enough. We need software that can:

  • write limits and policies in a form that a machine / AI can read and check,

  • keep versions, so we always know which limit was valid at which time,

  • handle the approval, so it is clear who approved what,

  • distributes the limits to where the decision is taken, also to the edge, and check that they arrived.

The UK review uses the term operational design domain for a similar idea. It means the conditions in which a system was tested and is allowed to act. The term comes originally from autonomous cars, and fits our grid domain very well, too.

As far of my knowledge, there is one thing is still missing in our industry. We have standards for the network model with CIM. We have IEC 61850 for devices / assets. But I am not sure if there is a common standard for how a control center sends limits and policies to an edge controller. And none for how the edge reports back. Without such a standard, utilities will end up with the same vendor for the center and for the edge. And that is exactly the kind of lock-in many of us have worked against for the last twenty years.

Decision Agents in the Cognition Layer

This is where AI comes into play: forecasting, optimisation, and more and more agents that suggest or take actions.

And this is also the part that gets the most attention at conferences. To be blunt, it is the smallest part of the work. Not easy. But not that hard. The hardest thing: An agent can never be better than the data, the limits and the supervision around it.

I’d like to propose some simple rules:

  • One agent per type of decision. Small agents with one clear job are easier to test, to approve and to replace than one big brain for the whole grid. It also fits part one: autonomy is given per decision, not for the whole grid at once.

  • Agents must be replaceable. Algorithms get better very fast. The trusted state, the limits and the record should stay, while the agent can be changed.

  • Open for third parties. Some agents will come from the utility, some from vendors, some from startups, some from aggregators and maybe even from customers or the open source community. The software must integrate them. Orchestrate them. The software must let them in. But only inside the fence. And only inside the limits.

Supervision at the Cognition/Control Boundary

I have written before about the cognition/control boundary. The layer, the boundary, the point between the decision and the action. For an autonomous grid, this boundary needs its own software. Let’s call it Supervision for now.

Before an action goes to the grid, Supervision asks a few simple questions. Is the agent inside its operational design domain? Can we trust the data it’s using? Is the state it used good enough? Is the action inside the limits? Is there a conflict with another zone or another agent right now? If one of the answers is no, the action is stopped, and the system goes to a safe fallback.

And this is also my main comment on the UK review. An operational design domain only works if the system knows that it is inside of it. And to know that, it needs a trusted state that also tells how much it can be trusted. So supervision and the trusted state must be built together.

Supervision is not just ad-hoc or real time. Supervision also has a slower part. Before a new agent or a new policy goes live, it should be tested on a model of the grid. With real history. Also with the bad days. And when it is live, someone must watch it. Does the agent slowly drift? Does it leave its domain more often? Do operators override it more often? None of this proves that something is wrong. But those are signal. Signals we should watch. Otherwise, we only see the risk when it is too late.

The Record or Audit Trail to know who’s accountable

At Enlit, I had many discussions: who is accountable when AI goes from advising the operator to acting on the grid? I am not quite sure. But at least, I have an idea from the software part of it.

The person or team that sets a limit is accountable for that limit. The person who approves an agent is accountable for letting the agent action. And the vendor is accountable for the agent doing what was promised, inside its domain. To make this work in practice, we need a record or audit trail that records and connects all of it.

For every automatic action, the record should store:

  • which grid state the agent saw, and how good the grid state was,

  • which limit was valid, and in which version,

  • which agent decided, and in which version,

  • what it did, and why.

And an operator must be able to read and understand this within seconds.

The UK review has one point I keep thinking about. AI adoption often does not stop because the risk is too high. It stops because nobody is in the position to decide. A good record can help a lot here. It is much easier to approve something when you know you can see afterwards exactly what happened.

The messy Middle

The UK review also has one point that challenges my thinking. I wrote that a utility should build autonomy step by step. Like a Journey of Trust. The review calls the steps in between the “messy middle”. When the machine / AI does most of the work and the human only supervises, the human stops looking carefully. AI fatigue it’s called, I believe. Errors that happen rarely get caught less often than errors that happen often. The review even says that more delegation can sometimes be safer than less, because the risks are easier to measure.

I agree with the problem. But I don’t think the answer is to jump over the middle. For me, we must make the middle measurable. Understandable. Explainable. I think about supervision that does not need an operator to watch every single action. With a record or audit trail that shows every override, every near miss and every time an agent leaves its domain. And by moving up one type of decision at a time. While we all learn.

Then the step from supervised to fully automatic is a decision you can take with real data and experience in your hands.

Where to start

So where should a utility start? I think I am repeating myself. The order is quite clear. Start with the trusted state. And with the record. Both give value from day one, even without any autonomy: better planning, better operation and a clear history of what happened. Then write down the limits, in a form a machine can read. And only then add agents. One type of task or decision at a time.

But, we all know, ,many projects go the other way around. They start with the agent, because it makes the best demo. But remember: an agent on top of a grid picture nobody trusts, without written limits and without a record, will always stay a demo.


Disclaimer: The article was originally posted on the AI-native Power Grid Newsletter on Substack, but adapted and refreshed for Energy Central.


Quick note on the use of AI: All articles are written by me. All ideas, thoughts, concepts, and opinions are mine. But yes, I am using AI. To challenge my thinking, to validate and fact-check some of the content. To create the banner pictures or diagrams. And occassionally, as I am a non-native english speaker, to check my spelling and grammar.

1
1 reply