Choosing the best direction. Photo from

Using an MPC to control a system: Applying the controller to the system

Derivating the cost function

Simulating the real world system

System evolution. Continuous vs. discrete with 5 and 2 updates. Figure by author.

The MPC loop

Extended control loop for an MPC. Image by author.
MPC control scheme. Image by author.

Simulating the MPC

Control loop prioritizing the minimization of the temperature error. Image by author.
Control loop prioritizing pressure variation. Image by author.

Closing thoughts


Chemical Engineer enthusiast in learning programming with python, data science and machine/deep learning skills

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store