Introduction
Ensuring the stability of power systems following major disturbances—such as lightning strikes or line failures—is a cornerstone of electrical engineering. This process, known as Transient Stability Assessment (TSA), determines if a system can maintain synchronism. Traditionally, TSA relies on Time Domain Simulations (TDS), which offer high accuracy but are computationally intensive and too slow for real-time operational decision-making. While machine learning (ML) has emerged as a promising alternative, existing models often struggle with changes in the grid's physical structure and the inherent sparsity of power grid data.
This paper introduces GEDF-SCL, a novel deep learning framework that integrates physics-informed graph embeddings with supervised contrastive learning. The proposed approach maintains high predictive accuracy even when the grid topology is altered, addressing a critical gap in current ML-based stability assessment.
Problem Statement
Machine learning models for TSA face two primary hurdles:
- Topology Sensitivity: Most models are trained on a fixed grid structure. If a line is disconnected for maintenance or a fault occurs, the model's performance typically degrades significantly because it cannot generalize to the new topology.
- Data Sparsity: Graph Convolutional Networks (GCNs), while designed for graph data, often struggle with the sparsity of power grid adjacency matrices, leading to computational inefficiencies and suboptimal feature extraction.
Proposed Methodology: GEDF-SCL
The authors propose a two-stage framework designed for robustness and efficiency.
1. Graph Embedding Dynamic Features (GEDF)
Instead of using raw sensor data, the framework employs physics-informed embeddings. By utilizing the Moore-Penrose pseudo-inverse of the grid's adjacency matrix, high-dimensional nodal data is mapped into a low-dimensional feature space. This process effectively "decouples" individual nodes while encoding global topological influences, making the resulting features significantly more robust to layout changes.
2. Supervised Contrastive Learning (SCL)
The model is trained using a contrastive objective that pulls samples with the same stability label (stable vs. unstable) closer together in the embedding space while pushing samples with different labels apart. This helps the encoder learn "universal" features of stability that are invariant to specific grid configurations.
3. Data Augmentation and Architecture
To prevent the model from memorizing specific fault locations, node IDs are randomly shuffled during training. This forces the network to learn underlying system dynamics rather than spatial patterns. The architecture utilizes a 2D Convolutional Neural Network (CNN) as the encoder and a Multi-Layer Perceptron (MLP) as the classifier.
Experimental Setup and Datasets
The study utilizes the IEEE 39-bus system (New England system) as a benchmark. To test the model's inductive capabilities, several datasets were generated via TDS in MATLAB:
- Training/Validation: Over 317,000 datasets on standard topologies.
- Test Set 1 (T1): New scenarios on topologies encountered during training.
- Test Set 2 (T2): Data from entirely unseen topologies to evaluate generalization.
- N-m-1 Contingencies: A specialized dataset for transfer learning involving multiple component losses.
Key Results and Insights
The GEDF-SCL model demonstrates superior performance across all test scenarios:
- Robustness to Topology Changes: The model achieved 94.39% accuracy for N-1 contingencies and maintained 93.35% accuracy on entirely new grid topologies (Test Set 2).
- Comparison with Baselines: GEDF-SCL significantly outperformed standard graph-based methods, such as GCNs (72.27% accuracy) and Graph Attention Networks (79.40%), proving the effectiveness of the GEDF embedding method.
- Transfer Learning Efficiency: When applied to complex N-m-1 contingencies, fine-tuning the pre-trained model with only 20% of the new data resulted in accuracies as high as 97.51%.
Conclusion
By "baking" the laws of power flow into the data through physics-informed preprocessing, the GEDF-SCL framework overcomes the limitations of standard graph neural networks in power system applications. While future work is needed to scale the approach to larger real-world grids and optimize real-time deployment, this research provides a robust foundation for next-generation, topology-aware stability assessment tools.
Summary updated