Interpretable Deep Learning for Power Grid Power Flow Calculation: Applications of Graph Neural Networks and Recurrent Neural Networks
Mingyu Wang, Yu Xiao, Zhengxun Guo, Mengjia Xu, Xiaoshun ZhangAs power systems continue to expand and grow in complexity, power flow calculation remains a fundamental task in power system analysis and operation. Conventional methods rely on iterative solvers and detailed grid models, yet are often hindered by non-convergence and unreliable modeling assumptions. To address these limitations, this paper introduces a deep learning-based approach that integrates graph neural networks (GNNs) and recurrent neural networks (RNNs) for power flow calculation. The proposed model captures spatial dependencies through graph convolutional layers and temporal dynamics through recurrent layers, enabling accurate prediction of node voltage magnitudes, phase angles, and branch power flows. To enhance transparency, SHAP (Shapley Additive exPlanations)-based feature attribution and multi-modal visualizations are employed to interpret the model’s predictions. Experimental results on the IEEE 9-bus, 39-bus, and 118-bus systems demonstrate prediction errors within 4% and a computational speedup of approximately 40-fold over traditional Newton–Raphson methods. Beyond technical performance, these results suggest that the proposed method can support more efficient and reliable grid operation, thereby contributing to the integration of renewable energy, enhancement of grid resilience, and advancement of sustainable energy systems.