Graph Neural Solver for Power Systems

Balthazar Donon, Benjamin Donnot, Isabelle Guyon, Antoine MarotIJCNN 2019

Introduction

To maintain the stability of electricity grids, Transmission System Operators (TSOs) must perform constant "load flow" analyses. These calculations determine how electricity moves through every line in a grid based on fluctuating production and consumption. Traditionally, this is achieved using the Newton-Raphson method to solve non-linear equations. While highly accurate, this iterative process is computationally expensive and slow, creating a bottleneck when TSOs need to simulate thousands of "what-if" failure scenarios in real-time.

Previous attempts to utilize neural networks as fast proxies were limited by being "topology-specific." If the grid layout changed—such as adding a new power line—the model became obsolete. Researchers have now developed a Graph Neural Solver (GNS) that overcomes this by utilizing Graph Neural Networks (GNNs) to achieve "combinatorial generalization," allowing it to accurately predict flows on entirely new grid topologies it has never encountered during training.

Methods and Architecture

The GNS architecture is built on "relational inductive bias." Rather than treating the grid as a flat vector of numerical data, the model treats it as a graph where information propagates between neighbors, mimicking physical laws like Kirchhoff’s laws.

Dual Graph Representation

A key innovation of this approach is the use of a dual graph representation. While standard models treat electrical "buses" as nodes, the GNS treats the power lines as the primary vertices. This shift ensures the model remains invariant to changes in the number of buses and focuses on the relationships between transmission lines.

Dual graph representation: transforming power lines into the primary vertices of the graph to ensure topology invariance.

The Three-Step Solver Process

The architecture follows a modular three-step process to translate physical injections into flow predictions:

  1. Embedding: Input data (power injections at nodes) is transformed into a high-dimensional latent space using modular neural blocks ($E_p$ for producers, $E_c$ for consumers).
  2. Propagation: The core of the solver performs $K$ iterations of "message passing." Each power line updates its internal state based on its immediate neighbors, allowing the model to "solve" the balance of the network.
  3. Decoding: A final neural block ($D$) translates these abstract latent states back into physical values, specifically the electricity flow (in Amps and MegaWatts) at both ends of every line.
The three-step GNS architecture: (a) Embedding of node data, (b) Message passing for propagation, and (c) Decoding into physical flow values.

Generalization and Results

The study utilized synthetic data to test the model's ability to generalize across scales. The GNS was trained on 100,000 samples of 30-node grids and then tested on grids ranging from 10 to 110 nodes.

Key Findings:

  • Zero-Shot Generalization: The model accurately predicted flows on 110-node grids despite only seeing 30-node grids during training. This suggests the GNS learns the underlying mathematical strategy of solving flow problems rather than memorizing specific maps.
  • Superior Accuracy: The GNS significantly outperformed the DC-approximation (the industry-standard linear benchmark), maintaining a low error rate even as the grid size increased.
  • Computational Speed: Even without optimization, the GNS proved to be twice as fast as the highly optimized proprietary physics solvers currently used by TSOs like France’s RTE.

Limitations and Future Work

While promising, several hurdles remain before deployment in live control rooms. The current model assumes homogeneous physical characteristics (impedance) for all lines, whereas real-world grids are diverse. Additionally, the current implementation uses dense adjacency matrices; moving to sparse matrix operations is expected to unlock even greater speedups. Future research will also focus on moving from steady-state "snapshots" to dynamic, time-varying flow simulations and exploring unsupervised training by minimizing "physics-loss" based on Kirchhoff’s laws.

Summary updated

BibTeX
@inproceedings{donon2019graph,
  author = {Balthazar Donon and Benjamin Donnot and Isabelle Guyon and Antoine Marot},
  title = {{Graph Neural Solver for Power Systems}},
  booktitle = {IJCNN},
  year = {2019},
  doi = {10.1109/ijcnn.2019.8851855},
}
Figure