Skip to content

MPC controllers for temperature regulation of a building. Graded project for the ETH course "Model Predictive Control".

Notifications You must be signed in to change notification settings

nicolaloi/Model-Predictive-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Model Predictive Control

Implementation of a variety of MPC controllers for temperature regulation of a building. Specifically, the controller tracks the reference temperatures while satisfying safety constraints at all time steps. The system is modeled using heat flows between the rooms and the environment, and taking into considerations also exogenous disturbances, e.g. solar radiation.

Project rated with full marks.

Tasks

Further info: Assignment.pdf and Report.pdf.

Unconstrained Optimal Control with LQR

Design of a discrete-time infinite horizon Linear Quadratic Regulator for reference tracking. Implementation of an heuristic LQR approach for controller tuning. This method aims at finding diagonal cost matrices such that the LQR minimizes the deviation from the desired stady-state.

MPC with Theoretical Closed-Loop Guarantees

Design of MPC controllers with feasibility and stability guarantees in closed loop. Closed loop trajectories will satisfy state and input constraints for all time steps and the target temperatures are asymptotically stable equilibrium points for the closed-loop system. Several variants to this problem are addressed, e.g. different terminal sets are considered.

Soft Constraints with disturbance

Design of a soft-constrained MPC controller to avoid the infeasibility caused by additional unmodeled disturbances. Soft constraints are introduced to tackle the fact that in practice optimization problems can become infeasible despite the theoretical guarantees on constraints' satisfaction and stability due to model mismatch or unmodeled disturbances.

Soft Constraints with disturbance knowledge

Extend the soft-constraint MPC controller by leveraging the knowledge of the future disturbances in a practical manner, enhancing the performance and the constraints' satisfaction.

Offset-Free MPC

Disturbances in the heat flows are never known exactly. Therefore, estimation of the actual disturbances is needed to ensure offset-free reference tracking. The heat transfer between different zones is typically not modelled or known exactly. Estimate the resulting disturbance such that offset-free tracking is ensured, modeling it as a time-invariant unknown disturbance. The simulation of the system additionally includes unmodeled time-varying disturbances, hence a perfect tracking cannot be expected.

Setup

Run the whole project from run_simulations.m.

Some functions require the installation of Yalmip, MPT Toolbox, and Forces PRO.

About

MPC controllers for temperature regulation of a building. Graded project for the ETH course "Model Predictive Control".

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published