Data-Efficient Power Flow Learning for Network Contingencies

Parikshit Pareek, Deepjyoti Deka, Sidhant MisraarXiv 2023

Abstract

This work presents an efficient data-driven method to construct probabilistic voltage envelopes (PVE) using power flow learning in grids with network contingencies. First, a network-aware Gaussian process (GP) termed Vertex-Degree Kernel (VDK-GP), developed in prior work, is used to estimate voltage-power functions for a few network configurations. The paper introduces a novel multi-task vertex degree kernel (MT-VDK) that amalgamates the learned VDK-GPs to determine power flows for unseen networks, with a significant reduction in the computational complexity and hyperparameter requirements compared to alternate approaches. Simulations on the IEEE 30-Bus network demonstrate the retention and transfer of power flow knowledge in both N-1 and N-2 contingency scenarios. The MT-VDK-GP approach achieves over 50% reduction in mean prediction error for novel N-1 contingency network configurations in low training data regimes (50-250 samples) over VDK-GP. Additionally, MT-VDK-GP outperforms a hyper-parameter based transfer learning approach in over 75% of N-2 contingency network structures, even without historical N-2 outage data. The proposed method demonstrates the ability to achieve PVEs using sixteen times fewer power flow solutions compared to Monte-Carlo sampling-based methods.

Introduction

Managing modern power grids requires maintaining nodal voltages within strict operational limits, even under the stress of equipment failures or maintenance—events known as contingencies. Traditionally, operators ensure safety by calculating Probabilistic Voltage Envelopes (PVEs), which define the statistical range of expected voltages given load uncertainties. However, generating these envelopes typically relies on Monte Carlo simulations of non-linear Alternating Current Power Flow (ACPF) equations, a process that is computationally exhaustive and often too slow for real-time decision-making.

While machine learning (ML) offers a faster alternative, standard models often lack "topological awareness." When a transmission line fails, the physical graph of the network changes. Most ML models trained on a specific grid configuration fail to generalize to these structural shifts, requiring massive amounts of new data for every possible contingency.

The Challenge of Topological Awareness

The primary hurdle in data-driven power flow analysis is the sensitivity of voltage to the network's adjacency. As shown in the voltage density distributions below, a single line outage (N-1 contingency) can significantly shift and broaden the voltage profile at various nodes compared to the base topology. Capturing these shifts without re-solving the ACPF equations thousands of times is the core challenge addressed by this research.

Voltage density distributions at nodes V4, V6, and V25 comparing the base topology to N-1 contingency scenarios.

Methodology: Network-Aware Gaussian Processes

To overcome the limitations of standard ML, the authors utilize the Vertex-Degree Kernel (VDK) for Gaussian Processes. Unlike black-box models, the VDK explicitly incorporates the grid's graph structure, assuming that a node's voltage is primarily influenced by power injections at its immediate and near neighbors.

Building on this, the paper introduces the Multi-Task VDK (MT-VDK). This framework allows the model to "transfer" knowledge from known network configurations (source tasks) to a new, unseen contingency (the target task). By amalgamating kernels learned from previous configurations through a weighted sum, the MT-VDK retains physics-based insights from the base case while adapting to the specific local changes caused by a line outage. This approach avoids the "cubic explosion" in computational cost typically associated with multi-task GPs, keeping training efficient even as more tasks are added.

Performance and Data Efficiency

The MT-VDK-GP framework was evaluated using the IEEE 30-Bus system across 38 single-line (N-1) and 356 double-line (N-2) contingency scenarios. The results demonstrate a significant leap in data efficiency. In low-data regimes (50-250 samples), the MT-VDK-GP achieved a 50% reduction in mean prediction error compared to standard VDK-GP.

Comparison of Mean Absolute Error (MAE) across training samples for Minimum, Mean, and Maximum voltage prediction tasks.

Furthermore, in complex N-2 scenarios where two lines fail simultaneously, the MT-VDK outperformed simpler hyperparameter transfer learning (HTL) methods in over 75% of cases. Most notably, the proposed method generated accurate PVEs using 16 times fewer power flow solutions than traditional Monte Carlo methods. With a construction time of approximately 3.3 seconds per node contingency, the framework is well-suited for near-real-time security assessments.

Conclusion

By embedding topological awareness directly into the learning kernel, the MT-VDK-GP framework provides a robust and data-efficient solution for power grid contingency analysis. It successfully bridges the gap between the accuracy of physical simulations and the speed of machine learning. Future research will focus on scaling these kernels to larger, real-world networks with thousands of nodes and developing automated strategies for selecting the most informative source contingencies to further enhance transfer learning performance.

Summary updated

BibTeX
@misc{pareek2023data,
  author = {Parikshit Pareek and Deepjyoti Deka and Sidhant Misra},
  title = {{Data-Efficient Power Flow Learning for Network Contingencies}},
  year = {2023},
  eprint = {2310.00763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.00763},
}
Figure