Skip to content

Controlling the internal temperature of a building using an MPC framework

Notifications You must be signed in to change notification settings

andreadacol98/Model_Predictive_Control

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. Modeled using simplified heat flows between the rooms and the environment, the dynamical system is affected by exogenous disturbances, e.g. solar radiation.

Tasks

Unconstrained Optimal Control

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.

Constrained Optimal Control

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 will be considered.

Soft Constraints

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

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. In particular, in this subtask we have been dealing with a constant but unknown disturbance.


Further info on this programming exercise can be found in "Assignment.pdf". Solutions as well as considerations on the problem itself are instead in "report.pdf".

About

Controlling the internal temperature of a building using an MPC framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published