Skip to main content
QUICK REVIEW

[Paper Review] MPC Controller Tuning using Bayesian Optimization Techniques

Qiugang Lu, Ranjeet Kumar|arXiv (Cornell University)|Sep 29, 2020
Advanced Control Systems OptimizationEngineering19 references25 citations
TL;DR

This paper proposes a Bayesian optimization (BO) framework to efficiently tune model predictive control (MPC) parameters in HVAC plants, treating closed-loop performance as a black-box function. By strategically balancing exploration and exploitation, BO reduces the number of required year-long simulations from hundreds (grid search) to just 13, achieving lower closed-loop costs by optimizing back-off terms for thermal storage tanks.

ABSTRACT

We present a Bayesian optimization (BO) framework for tuning model predictive controllers (MPC) of central heating, ventilation, and air conditioning (HVAC) plants. This approach treats the functional relationship between the closed-loop performance of MPC and its tuning parameters as a black-box. The approach is motivated by the observation that evaluating the closed-loop performance of MPC by trial-and-error is time-consuming (e.g., every closed-loop simulation can involve solving thousands of optimization problems). The proposed BO framework seeks to quickly identify the optimal tuning parameters by strategically exploring and exploiting the space of the tuning parameters. The effectiveness of the BO framework is demonstrated by using an MPC controller for a central HVAC plant using realistic data. Here, the BO framework tunes back-off terms for thermal storage tanks to minimize year-long closed-loop costs. Simulation results show that BO can find the optimal back-off terms by conducting 13 year-long simulations, which significantly reduces the computational burden of a naive grid search. We also find that the back-off terms obtained with BO reduce the closed-loop costs.

Motivation & Objective

  • To address the high computational cost of tuning MPC controllers for HVAC plants via trial-and-error or grid search.
  • To reduce the number of expensive year-long closed-loop simulations needed to identify optimal MPC tuning parameters.
  • To improve economic performance by optimizing back-off terms for thermal energy storage tanks.
  • To demonstrate the effectiveness of Bayesian optimization in handling black-box, computationally intensive MPC tuning problems.
  • To provide a systematic, data-driven alternative to heuristic or manual tuning methods.

Proposed method

  • Formulates MPC tuning as a black-box optimization problem where the objective function f(ξ) represents closed-loop cost and ξ denotes tuning parameters such as back-off terms.
  • Employs a Gaussian process (GP) surrogate model to approximate the unknown objective function, using a Matérn 5/2 kernel with hyperparameters l=1, ν=5/2, σ²=1e−6.
  • Uses the Upper Confidence Bound (UCB) acquisition function (κ=2.6) to balance exploration and exploitation during optimization.
  • Initiates the BO process with n=3 initial simulation points before iteratively selecting new sampling locations that maximize the acquisition function.
  • Applies the L-BFGS algorithm to solve the acquisition function maximization subproblem at each iteration.
  • Validates the method using a synthetic objective surface derived from 81 prior simulations, simulating the true cost landscape without full closed-loop evaluations.

Experimental results

Research questions

  • RQ1Can Bayesian optimization significantly reduce the number of closed-loop simulations required to tune MPC controllers in HVAC systems?
  • RQ2How effective is BO in identifying optimal back-off terms for thermal storage tanks compared to grid search or heuristic methods?
  • RQ3Does the use of a surrogate GP model with UCB acquisition improve convergence speed and solution quality in MPC tuning?
  • RQ4To what extent does BO avoid local minima in the non-convex tuning parameter space of HVAC MPC controllers?
  • RQ5Can BO achieve meaningful cost reductions in year-long HVAC operation through optimal tuning of back-off parameters?

Key findings

  • Bayesian optimization identified the optimal back-off terms using only 13 closed-loop simulations, a dramatic reduction compared to a coarse grid search requiring 81 simulations.
  • The BO-optimized back-off terms reduced weekly HVAC operating costs consistently across all weeks, with the largest savings observed in late August.
  • The algorithm converged to the global minimum within 10 iterations after an initial exploration phase, demonstrating fast and stable convergence.
  • The acquisition function values remained low near the global optimum and high near local minima, indicating that BO effectively avoided suboptimal regions.
  • The posterior mean of the GP model stabilized quickly, confirming reliable surrogate modeling and convergence of the optimization process.
  • The results show that BO can achieve significant economic savings by identifying optimal MPC tuning parameters with minimal simulation effort.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.