Code Monkey home page Code Monkey logo

model_predictive_control's Introduction

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".

model_predictive_control's People

Contributors

andreadacol98 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jasonsheng

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.