Tuning and testing an Online Feedback Optimization controller to provide curative distribution grid flexibility

Lukas Ortmann, Fabian Böhm, Florian Klein-Helmkamp, Andreas Ulbig, Saverio Bolognani, Florian Dörfler

Abstract

As power grids integrate increasing levels of volatile renewable energy, transmission system operators (TSOs) require rapid "curative" measures to maintain stability and prevent equipment overloads. This paper demonstrates how Online Feedback Optimization (OFO) can be utilized to coordinate distributed energy resources (DERs) within distribution grids to provide this essential flexibility. By leveraging real-time measurements instead of complex, error-prone grid models, the authors show that a tuned, constraint-based OFO approach achieves rapid convergence (within 10 seconds) and maintains local voltage limits even under unpredictable disturbances like electric vehicle charging.

Introduction

The transition toward renewable energy has led to a significant increase in grid intervention costs. TSOs increasingly rely on curative measures—rapid adjustments to power flows—to manage grid congestion. Traditionally provided by large-scale power plants, these services must now be sourced from the "flexibility" of distribution grids. However, the challenge of "disaggregation" remains: how to efficiently split a high-level flexibility request among numerous heterogeneous local units (PV inverters, batteries, EVs) while ensuring local grid constraints, such as voltage limits, are not violated. Traditional model-based optimization often fails due to high computational overhead and sensitivity to model inaccuracies.

Methodology: Online Feedback Optimization

To address these challenges, the authors propose an Online Feedback Optimization (OFO) controller. Unlike traditional optimization that solves problems "offline" using a static model, OFO functions as a real-time controller. It iteratively takes steps toward an optimal solution based on direct grid measurements, effectively bypassing the need for a perfect grid model.

The paper compares two primary formulations:

  1. The Cost Approach: Flexibility targets are treated as "soft" goals within the objective function.
  2. The Constraint Approach: Flexibility targets are treated as hard constraints, while the objective function focuses on minimizing the "effort" (active and reactive power deviations) of the participating units.

A key technical contribution is the tuning of the controller's gain matrix. Proper tuning ensures that the system converges quickly even when units approach physical voltage limits, preventing the sluggish performance often seen in untuned feedback systems.

Experimental Setup

The proposed controller was validated using a real-world laboratory distribution grid at RWTH Aachen University. The setup, illustrated below, consists of an 850m radial grid operated at 400V.

Schematic of the laboratory distribution grid setup used for testing the OFO controller.

The experimental environment included two PV inverters and a Battery Energy Storage System (BESS) as controllable units, alongside an Electric Vehicle (EV) charging station acting as a source of unpredictable load disturbance. The system operated on a 5-second sampling and control cycle.

Results and Discussion

The "Constraint Approach" emerged as the superior formulation, offering faster convergence and higher efficiency. By prioritizing the most effective units for a given request, the controller naturally reduced internal grid losses compared to the cost-based approach.

As shown in the performance results below, the tuned controller successfully reached requested flexibility setpoints within approximately 10 seconds (two control cycles).

Performance of the OFO controller showing active power convergence, voltage stability, and reactive power response.

Key performance highlights include:

  • Speed: Convergence achieved in roughly two iterations.
  • Robustness: The controller maintained voltage limits (typically 1.05 p.u.) and stability despite ramp-like disturbances from EV charging.
  • Infeasibility Signaling: A unique benefit of the constraint approach is that it provides an immediate signal to the TSO if a requested flexibility level is physically impossible to achieve under current grid conditions.

Conclusion

This study proves that OFO is a viable, robust, and fast method for tapping into distribution grid flexibility for curative measures. While the laboratory results are promising, future work will explore scaling the system to larger grids with higher communication latencies and refining sensitivity estimates for highly dynamic environments.

Summary updated

BibTeX
@inproceedings{ortmann2024tuning,
  author = {Lukas Ortmann and Fabian Böhm and Florian Klein-Helmkamp and Andreas Ulbig and Saverio Bolognani and Florian Dörfler},
  title = {{Tuning and testing an Online Feedback Optimization controller to provide curative distribution grid flexibility}},
  booktitle = {Electric},
  year = {2024},
  doi = {10.1016/j.epsr.2024.110660},
}
Figure