Clear Filters
Clear Filters

Implementing mpctools package (from Rawlings group) in Simulink

8 views (last 30 days)
I want to implement mpctools (https://sites.engineering.ucsb.edu/~jbraw/software/mpctools/index.html) in Simulink for a Non Linear MPC. It seems that CASADI offers a demo file for implementation of MPC using CASADI (https://web.casadi.org/blog/mpc-simulink/), however I am planning to use mpctools (IPOPT Solver), and not sure what modifications are needed.
(The state dynamics include states, control and disturbances, and I also want to impose constraints on states, control, and change in control)
I would prefer implementation using Interpreter Function or MATLAB System Object (Similar to CASADI Implementation), however if this package can also be used with a Model Predictive Controller Toolbox, I would appreciate that too.

Answers (1)

Emmanouil Tzorakoleftherakis
I cannot comments on mpctools, but if your objective is to use IPOPT in Simulink, Model Predictive Control Toolbox allows you to bring in your own solver. Please take a look at the following links for additional information:

Categories

Find more on Model Predictive Control Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!