Adaptive Economic Model Predictive Control for linear systems with performance guarantees

Maximilian Degner, Raffaele Soloperto, Melanie N. Zeilinger, John Lygeros, Johannes Köhler

TL;DR

This paper introduces an Adaptive Economic Model Predictive Control (AE-MPC) framework that learns system parameters online while directly optimizing for economic performance. Crucially, it provides the first rigorous asymptotic and transient performance guarantees for such a scheme, proving that online learning can recover the performance of a perfectly known model even when starting from a poor initial guess.

What Problem Does This Paper Address?

Model Predictive Control (MPC) is a powerful tool for controlling complex systems with constraints, but its performance depends heavily on having an accurate mathematical model. In practice, models are often imperfect due to changing environments or mechanical wear.

While Economic MPC (EMPC) directly optimizes for goals like energy efficiency or profit rather than just tracking a setpoint, it is particularly sensitive to model errors. Existing "Adaptive MPC" methods focus on updating the model to improve tracking, but they rarely address economic objectives with formal mathematical guarantees. This paper fills that gap by providing a way to adapt the model online while ensuring the system remains stable and performs optimally over time.

Methods

The authors propose an Adaptive Economic MPC (AE-MPC) scheme that combines three key components:

  1. Online Adaptation: It uses a projected Least-Mean Squares (LMS) filter to update uncertain model parameters at every time step based on new measurements.
  2. Economic Optimization: A "certainty-equivalent" EMPC solves an optimization problem at each step, using the current best estimate of the parameters to minimize a convex linear-quadratic cost.
  3. Performance-Aware Design: To ensure theoretical guarantees, the authors designed a terminal cost function that automatically updates as the parameter estimates change. They also utilized soft state constraints, which allow the controller to remain feasible even if the initial model is highly inaccurate or the system faces large disturbances.

The overall online loop is summarized in the paper's main algorithm: Algorithm 1: The AE-MPC loop

Algorithm 1: The AE-MPC loop

Datasets

The researchers evaluated their approach using a numerical simulation of a building temperature control (HVAC) problem. They used a standard "2R2C" thermal model representing a single room. The goal was to minimize heating costs while keeping the room temperature within a comfortable range, despite unknown disturbances like solar radiation and fluctuating outdoor temperatures. No external datasets were used; the evaluation relied on this physics-based simulation.

Key Insights and Ideas

  • Performance Recovery: The most significant finding is that for disturbances with finite energy, AE-MPC eventually performs just as well as an EMPC that had perfect model knowledge from the start. The "learning penalty" vanishes over time.
  • Quantifiable Transient Costs: The authors derived a transient performance bound showing that the "extra" cost paid during the learning phase scales linearly with the initial parameter error and the magnitude of persistent disturbances.
  • Simplicity and Feasibility: By using soft constraints and a simple LMS update, the scheme avoids the high computational complexity often associated with robust or set-membership adaptive control, making it practical for real-time applications.

Key Results

The simulation results clearly demonstrate the benefits of adaptation:

  • Parameter Convergence: The parameter estimates significantly improved within the first few days of operation, approaching the true values despite persistent disturbances (see Figure 2). Parameter estimates converging over time
Parameter estimates converging over time
  • Improved Regulation: Once the model converged, AE-MPC showed much smaller temperature oscillations and fewer constraint violations compared to a standard, non-adaptive Economic MPC (see Figure 1). State and input evolution before and after convergence
Fig. 2. Evolution of the state [x]1 (top) and the input u (bottom) for the initial phase (left) and after parameter convergence (right). The constraint sets X, U are shown as black, dashed lines.
  • Cost Savings: The accumulated economic cost for AE-MPC was substantially lower over a 50-day horizon, proving that the online learning directly translates to better economic outcomes (see Figure 3). Accumulated cost comparison
Fig. 3. Accumulated cost of AE-MPC (blue) and E-MPC (orange).

Limitations and Future Work

The current theoretical framework is restricted to open-loop stable systems. While this covers many important applications like building climate control or certain chemical processes, it limits the method's use for unstable systems (e.g., drones or high-performance aircraft).

The authors suggest several promising directions for future research:

  • Integrating robust tube MPC formulations to handle unstable systems and strictly enforce hard constraints.
  • Extending the theory to handle time-varying parameters, where the system's true nature changes slowly over time.
  • Developing methods to handle parameter-dependent optimal steady-states, allowing the controller to find even better operating points as it learns.

Summary updated

BibTeX
@inproceedings{degner2024adaptive,
  author = {Maximilian Degner and Raffaele Soloperto and Melanie N. Zeilinger and John Lygeros and Johannes Köhler},
  title = {{Adaptive Economic Model Predictive Control for linear systems with performance guarantees}},
  booktitle = {CDC},
  year = {2024},
  doi = {10.1109/cdc56724.2024.10886675},
}
Figure