Cross-layer Design for Real-Time Grid Operation: Estimation, Optimization and Power Flow

Miguel Picallo, Dominic Liao-McPherson, Saverio Bolognani, Florian Dörfler

As power distribution grids transition toward high penetrations of renewable energy, real-time management becomes increasingly complex due to volatility and sparse measurement data. This paper introduces a unified cross-layer framework that integrates dynamic state estimation, a high-speed power flow solver, and Online Feedback Optimization (OFO). By replacing traditional gradient-based methods with a Quadratic Programming (QP) approach and utilizing single-iteration Newton steps for power flow tracking, the proposed system achieves sub-second control intervals. Experimental results on the IEEE 123-bus feeder demonstrate a significant reduction in convergence time—from 30 minutes to 30 seconds—while maintaining strict operational constraints.

Introduction

The rapid adoption of distributed energy resources (DERs), such as rooftop solar and electric vehicles, has introduced unprecedented volatility into modern power distribution grids. Managing these grids requires solving the AC Optimal Power Flow (AC-OPF) problem to determine optimal set-points for controllable elements like battery inverters. However, traditional AC-OPF solutions face two primary hurdles: high computational complexity that prevents sub-second response, and a lack of real-time measurements across all grid nodes. While Online Feedback Optimization (OFO) has emerged as a potential solution, previous iterations often relied on slow-converging "soft constraints" or inaccurate linear approximations.

Methods

The researchers propose a "cross-layer" architecture where three critical components operate simultaneously at the same timescale to steer the grid toward optimal operation.

The cross-layer architecture integrates the physical power system with online feedback optimization, dynamic estimation, and a power flow solver.
  1. QP-based Online Feedback Optimization (OFO): Unlike prior gradient-descent methods that use penalty functions for voltage violations, this framework employs a Quadratic Programming (QP) operator. This allows for the handling of "hard" operational constraints, such as strict voltage bounds, with much higher efficiency and speed.
  2. Dynamic State Estimation: To address information scarcity, an Extended Kalman Filter (EKF) is used to estimate uncontrollable loads and disturbances in real-time based on sparse measurements.
  3. Online Power Flow Solver: A key innovation is the use of a single-step Newton iteration enhanced with sensitivity conditioning. Rather than solving nonlinear power flow equations to full convergence at every step, the solver "tracks" the physical state of the grid as it evolves, providing the accuracy of a nonlinear model without the associated computational burden.

The authors provide mathematical proofs for the stability and convergence of this interconnected system, ensuring it remains robust under time-varying conditions.

Validation and Results

The framework was validated using the IEEE 123-bus test feeder, a standard benchmark for distribution systems. To simulate realistic volatility, the researchers used the ECO dataset (1-second resolution household consumption) and high-resolution solar and wind profiles.

Comparison of convergence speeds: the proposed QP-based controller reaches the optimal solution significantly faster than gradient-based methods.

The results highlight a dramatic improvement in performance. The QP-based controller converged to the optimal solution in approximately 30 seconds, whereas previous state-of-the-art gradient-based methods required nearly 30 minutes to achieve comparable accuracy. Furthermore, the system successfully maintained grid voltages within the required [0.94, 1.06] p.u. range despite high renewable energy fluctuations. The study also quantified tracking error, proving that the controller remains within a predictable neighborhood of the theoretical optimum even as generation and load shift rapidly.

Conclusion

This cross-layer design demonstrates that real-time, optimal grid control is achievable by combining fast optimization with efficient state tracking. The shift from gradient descent to QP-based operators, combined with the insight that a single power flow iteration is sufficient for stability, marks a significant advancement in grid management. Future work will focus on explicitly accounting for estimation uncertainty and testing the scalability of the QP solver for larger transmission-level grids.

Summary updated

BibTeX
@inproceedings{picallo2022cross,
  author = {Miguel Picallo and Dominic Liao-McPherson and Saverio Bolognani and Florian Dörfler},
  title = {{Cross-layer Design for Real-Time Grid Operation: Estimation, Optimization and Power Flow}},
  booktitle = {Electric},
  year = {2022},
  doi = {10.1016/j.epsr.2022.108378},
}
Figure