Abstract
Power system cyber-physical uncertainties, including measurement ambiguities stemming from cyber attacks and data losses, along with system uncertainties introduced by massive renewables and complex dynamics, reduce the likelihood of enhancing the quality of measurements. Fortunately, denoising diffusion models exhibit powerful learning and generation abilities for the complex underlying physics of the real world. To this end, this paper proposes an improved detection and imputation based two-stage denoising diffusion model (TSDM) to identify and reconstruct the measurements with various cyber-physical uncertainties. The first stage of the model comprises a classifier-guided conditional anomaly detection component, while the second stage involves diffusion-based measurement imputation component. Moreover, the proposed TSDM adopts optimal variance to accelerate the diffusion generation process with subsequence sampling. Extensive numerical case studies demonstrate that the proposed TSDM can accurately recover power system measurements despite renewables-induced strong randomness and highly nonlinear dynamics. Additionally, the proposed TSDM has stronger robustness compared to existing reconstruction networks and exhibits lower computational complexity than general denoising diffusion models.
Introduction
Modern power grids are increasingly sophisticated cyber-physical systems, relying on a continuous stream of data from Supervisory Control and Data Acquisition (SCADA) systems and Phasor Measurement Units (PMUs). However, the reliability of this data is frequently compromised by two primary factors:
- Cyber-Physical Uncertainties: These include accidental data loss due to communication congestion and malicious False Data Injection Attacks (FDIA). In FDIA scenarios, attackers stealthily manipulate measurements to mislead control centers, potentially triggering incorrect operational decisions.
- System Uncertainties: The rapid integration of renewable energy sources, such as wind and solar, introduces significant volatility and highly nonlinear dynamics. Traditional state estimation and recovery methods, including Kalman filters and simple interpolation, often struggle to accurately model these complex behaviors.
While existing AI solutions like Generative Adversarial Networks (GANs) have been explored, they frequently suffer from training instability and fail to capture the intricate underlying physics of the grid during extreme events.
Proposed Methodology: TSDM
To address these challenges, the authors introduce the Two-Stage Denoising Diffusion Model (TSDM), a deep generative framework based on Denoising Diffusion Implicit Models (DDIM). The TSDM architecture is designed to recover corrupted or missing measurements by leveraging the superior distribution-learning capabilities of diffusion models.
The framework operates in two distinct stages:
- Stage 1: Detection and Rectification: Utilizing "classifier-guided" conditional diffusion, the model treats incoming, potentially corrupted data as a guide. By adjusting a guidance scaling parameter ($\omega$), the model identifies outliers and "steers" noisy inputs back toward a physically plausible state.
- Stage 2: Diffusion-Based Imputation: For missing data points, the model exploits spatial-temporal correlations to fill gaps. A resampling strategy ensures that the reconstructed data aligns with known, healthy measurements.
A key innovation is the acceleration via optimal variance. Standard diffusion models are computationally intensive, often requiring hundreds of iterations. The authors derived an analytical "optimal variance" schedule using Bayesian estimation, combined with subsequence sampling. This allows the TSDM to generate accurate results in just 10 steps, making it viable for near-real-time grid applications.
Experimental Evaluation
The TSDM was validated across several standard benchmarks, enhanced with real-world complexity:
- SCADA Scenarios: IEEE 30, 57, and 118-bus systems were used, integrated with real-world renewable power profiles from Belgium (2022–2023) to simulate realistic volatility.
- WAMS (Transient) Scenarios: IEEE 39-bus and NPCC 140-bus systems were simulated using the ANDES tool to capture high-frequency dynamic transients, such as line trips and generator sheddings.
- Attack Resilience: The model was tested against six temporal forms of data manipulation, including ramp, replay, and phase-shift attacks.
Results and Key Insights
The experimental results highlight the advantages of diffusion-based models over traditional generative approaches for power system physics. Diffusion models are fundamentally better at capturing the "prior" probability of a power system's state, learning the underlying structure of both noise and signal.
Key performance metrics include:
- Superior Accuracy: In steady-state recovery for the IEEE 118-bus system, TSDM achieved a Weighted RMSE of 1.28, significantly outperforming GANs (3.09) and VAEs (3.66).
- Robustness: The model maintained high recovery accuracy even when up to 50% of measurement channels were compromised.
- Efficiency: Subsequence sampling and optimal variance made TSDM approximately 10x faster than standard Denoising Diffusion Probabilistic Models (DDPM) while maintaining higher precision than standard DDIM.
Conclusion and Future Work
The TSDM represents a significant step forward in resilient power system state estimation. By acting as a physics-informed filter, it effectively rejects measurements that do not conform to a valid grid state manifold.
Future research will focus on automating the selection of hyperparameters like the guidance scale ($\omega$) and exploring diffusion processes in "latent space" to further enhance speed for large-scale national grids.
Summary updated