Constrained Diffusion Models for Synthesizing Representative Power Flow Datasets
Abstract
High-quality power flow datasets are essential for training machine learning models in power systems. However, security and privacy concerns restrict access to real-world data, making statistically accurate and physically consistent synthetic datasets a viable alternative. We develop a diffusion model for generating synthetic power flow datasets from real-world power grids that both replicate the statistical properties of the real-world data and ensure AC power flow feasibility. To enforce the constraints, we incorporate gradient guidance based on the power flow constraints to steer diffusion sampling toward feasible samples. To enhance learning efficiency and reduce model complexity, we further leverage insights from the fast decoupled power flow method and propose a variable decoupling strategy for the training and sampling of the diffusion model. These solutions lead to a physics-informed diffusion model, generating power flow datasets that outperform those from the standard diffusion in terms of feasibility and statistical similarity, as shown in experiments across IEEE benchmark systems.
Fields of Study & Subjects
Optimal Power Flow Distribution
Power Quality and Harmonics
Model Reduction and Neural Networks
Publication details
- Journal / source
- IEEE Transactions on Power Systems
- Publisher
- Institute of Electrical and Electronics Engineers (IEEE)
- Volume
- 41
- Issue
- 5
- Pages
- 3922–3934
- Publication date
- 16 April 2026