Automatic Scenario Generation for Robust Optimal Control Problems*

Marta Zagórowska, Paola Falugi, E. O’Dwyer, Eric C. Kerrigan

Abstract

Existing methods for nonlinear robust control often use scenario-based approaches to formulate the control problem as nonlinear optimization problems. Increasing the number of scenarios improves robustness, while increasing the size of the optimization problems. Mitigating the size of the problem by reducing the number of scenarios requires knowledge about how the uncertainty affects the system. This paper draws from local reduction methods used in semi-infinite optimization to solve robust optimal control problems with parametric uncertainty. We show that nonlinear robust optimal control problems are equivalent to semi-infinite optimization problems and can be solved by local reduction. By iteratively adding interim globally worst-case scenarios to the problem, methods based on local reduction provide a way to manage the total number of scenarios. In particular, we show that local reduction methods find worst case scenarios that are not on the boundary of the uncertainty set. The proposed approach is illustrated with a case study with both parametric and additive time-varying uncertainty. The number of scenarios obtained from local reduction is 101, smaller than in the case when all $2^{14+3\times192}$ boundary scenarios are considered. A validation with randomly drawn scenarios shows that our proposed approach reduces the number of scenarios and ensures robustness even if local solvers are used.

Introduction

Robust Optimal Control (ROC) is a critical framework for designing systems that maintain performance and safety despite environmental uncertainties, sensor noise, or parameter variations. A common approach is scenario-based optimization, which discretizes the uncertainty set into a finite number of scenarios. However, this approach faces a fundamental trade-off: using too few scenarios risks failure under unmodeled conditions, while using too many makes the resulting optimization problem computationally intractable for real-time applications.

Furthermore, a common engineering heuristic—the "Boundary Myth"—assumes that worst-case scenarios always occur at the extreme edges of the uncertainty set. In complex nonlinear systems, however, the most challenging conditions may arise from subtle combinations of factors within the interior of the uncertainty range. This paper addresses these challenges by introducing an automated scenario generation method based on local reduction.

Methodology: Local Reduction for Semi-Infinite Optimization

The authors reformulate the Robust Optimal Control Problem (ROCP) as a Semi-Infinite Optimization problem. This class of problems involves a finite number of decision variables but an infinite number of constraints, as the controller must satisfy requirements for every possible point in a continuous uncertainty set.

To solve this, the paper employs a Local Reduction algorithm:

  1. Initialization: Start with a single nominal scenario and solve for the optimal controller.
  2. Maximization Step: Given the current controller, search for the "worst-case" uncertainty realization that maximizes constraint violation. This search is itself formulated as an optimal control problem, allowing the use of efficient solvers like Ipopt.
  3. Iterative Refinement: If a violating scenario is found, it is added to the scenario set, and the controller is re-optimized. This loop continues until no further violations are detected.

Case Study: Residential Building Temperature Control

The method was validated using a simulated 48-hour temperature control task for a single-zone residential building. The model includes 14 uncertain parameters (e.g., thermal dynamics) and 192 time steps of additive time-varying uncertainty (e.g., solar radiation and internal heat gains). The goal is to maintain the room temperature between 17°C and 26°C.

Results and Discussion

The local reduction method successfully identified a robust controller using only 101 scenarios. This is a massive reduction compared to the $2^{14 + 3 \times 192}$ scenarios required to check every boundary combination.

Comparison of room temperature control under different scenario generation strategies: Local reduction (proposed), Nominal, Random, and Nominal+two extreme.

As shown in Figure 2, the proposed Local Reduction approach (top plot) maintains the temperature strictly within the green constraint bounds across all tested scenarios. In contrast:

  • Nominal Control: Fails significantly when uncertainty is introduced.
  • Random Sampling: Even with 600 scenarios, violations occur (indicated by yellow and blue trajectories crossing the bounds in the third plot).
  • Boundary (Extreme) Method: Using only the "corners" of the uncertainty set resulted in a 0.5°C violation of the lower bound, confirming that worst-case scenarios can indeed reside in the interior of the uncertainty set.

Conclusion

By framing scenario generation as an iterative search for local maxima of constraint violations, this work provides a systematic way to ensure robustness with minimal computational overhead. While the current implementation uses local solvers for the maximization step, the results demonstrate high reliability in practical building control scenarios. Future work will focus on integrating this approach into Model Predictive Control (MPC) frameworks and developing more rigorous convergence proofs for time-varying uncertainties.

Summary updated

BibTeX
@inproceedings{zagorowska2022automatic,
  author = {Marta Zagórowska and Paola Falugi and E. O’Dwyer and Eric C. Kerrigan},
  title = {{Automatic Scenario Generation for Robust Optimal Control Problems*}},
  booktitle = {IFAC-PapersOnLine},
  year = {2022},
}
Figure