Abstract
One of the key challenges for the success of the energy transition towards renewable energies is the analysis of the dynamic stability of power grids. However, dynamic solutions are intractable and exceedingly expensive for large grids. Graph Neural Networks (GNNs) are a promising method to reduce the computational effort of predicting dynamic stability of power grids, however datasets of appropriate complexity and size do not yet exist. We introduce two new datasets of synthetically generated power grids. For each grid, the dynamic stability has been estimated using Monte-Carlo simulations. The datasets have 10 times more grids than previously published. To evaluate the potential for real-world applications, we demonstrate the successful prediction on a Texan power grid model. The performance can be improved to surprisingly high levels by training more complex models on more data. Furthermore, the investigated grids have different sizes, enabling the application of out-of-distribution evaluation and transfer learning from a small to a large domain. We invite the community to improve our benchmark models and thus aid the energy transition with better tools.
Introduction
As global energy systems transition toward decentralized renewable sources like wind and solar, power grids are becoming increasingly volatile. Traditional fossil fuel plants provide "inertia"—physical momentum that stabilizes the grid against sudden frequency changes. In contrast, inverter-based renewables provide little to no inertia, making the assessment of dynamic stability critical.
Currently, determining if a grid will remain stable after a disturbance requires exhaustive Monte Carlo dynamical simulations. These are computationally intensive; a single assessment of a medium-sized grid can take 30 minutes, while a large-scale grid could take years of CPU time. This research introduces a Graph Neural Network (GNN) approach that acts as a high-speed screening tool, identifying vulnerabilities millions of times faster than traditional methods.
Methodology
The researchers treat the power grid as a mathematical graph where nodes represent power plants or consumers and edges represent transmission lines. The study utilizes the Kuramoto model, a paradigmatic model of inertial oscillators, to simulate grid physics.
The primary metric for stability is Single-Node Basin Stability (SNBS), which calculates the probability that a grid returns to a steady state after a random perturbation at a specific node. To predict this, the authors benchmarked several GNN architectures, including TAGNet (Topology Adaptive Graph Convolutional Networks) and ArmaNet. These models were tasked with identifying "troublemaker" nodes—those that amplify small perturbations into system-wide failures—using only topological information and the binary status of nodes (source or sink).
Datasets
A core contribution of this work is the release of a massive open-source testbed, requiring approximately 700,000 CPU hours to generate:
- dataset20 & dataset100: Two datasets containing 10,000 synthetic grid topologies each, with 20 and 100 nodes respectively.
- The Texan Grid: A large-scale synthetic model of the Texas power system consisting of 1,910 nodes, used to evaluate real-world applicability.
Key Results and Insights
The GNN approach demonstrated that a grid's topology is a strong predictor of its stability. Models trained on small, synthetic 20-node or 100-node grids were remarkably effective at predicting stability on the much larger 1,910-node Texan grid. This suggests that stability is driven by local structural patterns that GNNs can successfully learn and generalize across scales.
- Accuracy: The TAGNet model achieved an $R^2$ score of over 88% on the 100-node dataset and maintained a high 83% accuracy when transferred to the Texan grid.
- Speed: Evaluating a 100-node grid with a GNN takes less than a second. For the Texan grid, the GNN provides a staggering speedup of $4.6 \times 10^7$ times compared to traditional simulations.
Conclusion
By outperforming traditional machine learning models that rely on hand-crafted features, GNNs prove capable of discovering complex structural relationships inherent in power grid stability. While the current study uses simplified physics (the Kuramoto model), it paves the way for future "Physics-Informed Neural Networks" (PINNs) that could incorporate more complex electrical engineering details. These tools offer a promising path toward real-time stability monitoring in utility control rooms, supporting a safer transition to renewable energy.
Summary updated