NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Encoding Frequency Constraints in Preventive Unit Commitment Using Deep Learning with Region-of-Interest Active Sampling

Yichen Zhang, Hantao Cui, Jianzhe Liu, Feng Qiu, Tianqi Hong, Rui Yao, Fangxing LiarXiv 2021

Introduction

The global shift toward renewable energy sources, such as wind and solar, has introduced significant challenges to power grid stability. Unlike traditional synchronous generators, these inverter-based resources lack "rotational inertia." Consequently, a sudden loss of generation can cause the grid frequency to drop rapidly, potentially triggering blackouts. To mitigate this, grid operators utilize Unit Commitment (UC) to schedule generation. However, incorporating frequency constraints into UC is difficult because the underlying physics are highly nonlinear and computationally intensive.

Methodology

The proposed framework addresses these challenges through a three-stage pipeline that integrates high-fidelity simulation with deep learning and optimization.

Overview of the proposed data-driven framework for Frequency-Constrained Unit Commitment (FCUC), showing the flow from data generation to dispatch solution.

1. Data Generation with ROI Active Sampling

To overcome the "labeling bottleneck" of slow high-fidelity simulations (e.g., PSS/E), the authors employ Region-of-Interest (ROI) Active Sampling. Instead of random sampling, a discriminator identifies power injection scenarios near the critical Under-Frequency Load Shedding (UFLS) threshold. This focuses the training data on "borderline" cases where accuracy is most critical for safety.

2. Deep Neural Network (DNN) Predictors

Two DNNs are trained: one to predict the frequency nadir (the minimum frequency post-disturbance) and another to assess dynamic stability. These models capture complex interactions that simplified physics models often miss.

3. MILP Encoding

The core innovation is the mathematical reformulation of the trained DNNs. By using Rectified Linear Unit (ReLU) activation functions, the DNNs can be converted into exact Mixed-Integer Linear Programming (MILP) constraints. This allows the predictions to be embedded directly into industrial optimizers like Gurobi, ensuring the final dispatch solution respects the learned frequency limits without approximation error during the conversion.

Key Insights and Results

The effectiveness of the ROI active sampling is evident when comparing the distribution of samples against random sampling.

Comparison of sample distributions between random sampling and the proposed active sampling across iterations, highlighting the focus on critical frequency ranges.

As shown in the heatmaps, active sampling successfully concentrates data points in the critical frequency nadir ranges (e.g., -1.0 to -0.8 Hz) over successive iterations, whereas random sampling remains biased toward safer, less informative regions.

Performance Highlights:

  • Accuracy: The active-sampling-trained DNN achieved a Maximum Error (MAX-E) of 0.1814 Hz, significantly outperforming the 0.2536 Hz achieved via random sampling.
  • Safety: In testing on the IEEE 39-bus system, the proposed FCUC successfully maintained frequency above the 59 Hz limit across all periods, whereas standard UC failed in several worst-case scenarios.
  • Efficiency: The optimization process took approximately 269 seconds, demonstrating its viability for real-time grid operations.

Conclusion and Future Work

This framework provides a robust method for ensuring frequency stability in low-inertia grids. While highly effective, future work aims to improve the 78% accuracy of the stability predictor by incorporating "on-fault" trajectory data. Additionally, balancing security and cost in larger, more sensitive systems like the NPCC 140-bus grid remains a priority for scaling this technology.

Summary updated

BibTeX
@misc{zhang2021encoding,
  author = {Yichen Zhang and Hantao Cui and Jianzhe Liu and Feng Qiu and Tianqi Hong and Rui Yao and Fangxing Li},
  title = {{Encoding Frequency Constraints in Preventive Unit Commitment Using Deep Learning with Region-of-Interest Active Sampling}},
  year = {2021},
  eprint = {2102.09583},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.09583},
}
Figure