Efficient Extreme Operating Condition Search for Online Relay Setting Calculation in Renewable Power Systems Based on Parallel Graph Neural Network

Yan Li, Zengli Yang, Youhuai Wang, Jing Wang, Xiaoyu Han, Dongyuan Shi · DOI

Abstract

The Extreme Operating Conditions Search (EOCS) problem is one of the key problems in relay setting calculation, which is used to ensure that the setting values of protection relays can adapt to the changing operating conditions of power systems over a period of time after deployment. The high penetration of renewable energy and the wide application of inverter-based resources make the operating conditions of renewable power systems more volatile, which urges the adoption of the online relay setting calculation strategy. However, the computation speed of existing EOCS methods based on local enumeration, heuristic algorithms, and mathematical programming cannot meet the efficiency requirement of online relay setting calculation. To reduce the time overhead, this paper, for the first time, proposes an efficient deep learning-based EOCS method suitable for online relay setting calculation. First, the power system information is formulated as four layers, i.e., a component parameter layer, a topological connection layer, an electrical distance layer, and a graph distance layer, which are fed into a parallel graph neural network (PGNN) model for feature extraction. Then, the four feature layers corresponding to each node are spliced and stretched, and then fed into the decision network to predict the extreme operating condition of the system. Finally, the proposed PGNN method is validated on the modified IEEE 39-bus and 118-bus test systems, where some of the synchronous generators are replaced by renewable generation units. The experiment results show that the proposed PGNN method achieves higher accuracy than the existing methods in solving the EOCS problem. Meanwhile, it also provides greater improvements in online computation time.

Introduction

Protection relays are the critical "circuit breakers" of the power grid, designed to trip during faults while remaining stable during normal fluctuations. To determine optimal settings, engineers must identify Extreme Operating Conditions (EOCs)—worst-case scenarios, such as specific lines being out of service, that result in maximum fault currents.

Modern grids face new challenges: high volatility from wind and solar, and complex nonlinear fault behaviors from Inverter-Based Resources (IBRs). Traditional search methods like Genetic Algorithms or local enumeration are too slow for real-time "online" calculation. This paper introduces a Parallel Graph Neural Network (PGNN) to overcome these bottlenecks, enabling near-instantaneous relay updates for renewable-heavy grids.

Methodology: Parallel Graph Neural Networks

The authors propose a PGNN architecture that treats the grid as a graph rather than a simple table. The core innovation lies in Parallel Feature Coding, where the power system is formulated into four distinct layers:

  1. Component Parameter Layer (P): Node types and impedances.
  2. Topological Connection Layer (T): Binary connectivity.
  3. Electrical Distance Layer (Dz): Based on the node impedance matrix ($Z_{bus}$).
  4. Graph Distance Layer (D): Shortest path distances.
The PGNN architecture processes four distinct feature layers in parallel to predict extreme operating conditions.

As shown in the architecture diagram, four independent GraphSAGE-based GNNs process these layers in parallel. This prevents data with different magnitudes (e.g., impedance vs. binary topology) from interfering during early learning stages. The extracted features are then spliced and fed into a Multi-Layer Perceptron (MLP) decision network to predict the EOCs.

Key Results and Performance

The PGNN was validated on modified IEEE 39-bus and 118-bus systems with significant photovoltaic (PV) penetration. The model accounts for the nonlinear characteristics of Full-Power (FIPS) and Partial-Power (PIPS) inverter models during training.

Training performance of the PGNN model, showing rapid convergence and high accuracy across multiple metrics.

As illustrated in the training curves, the model achieves high accuracy rapidly. Key performance metrics include:

  • Accuracy: Operating Condition Accuracy (OC-Acc) exceeded 94%.
  • Safety: Protection Selectivity Accuracy (PS-Acc) reached 100%, ensuring predicted settings never lead to protection violations.
  • Speedup: On the 118-bus system, PGNN inference takes only 25.86 ms. This is roughly 1,700 times faster than global enumeration and significantly faster than Genetic Algorithms, which can take up to 10 minutes.

Conclusion

By decoupling the search process from iterative physical simulations, the PGNN allows the system to "intuit" worst-case scenarios. This approach provides the speed and accuracy necessary for online relay setting calculation, ensuring grid stability in the face of increasing renewable energy volatility.

Summary updated

BibTeX
@misc{li2025efficient,
  author = {Yan Li and Zengli Yang and Youhuai Wang and Jing Wang and Xiaoyu Han and Jingyu Wang and Dongyuan Shi},
  title = {{Efficient Extreme Operating Condition Search for Online Relay Setting Calculation in Renewable Power Systems Based on Parallel Graph Neural Network}},
  year = {2025},
  eprint = {2506.19289},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.19289},
}
Figure