Is it possible to implement nonlinear arx in nonlinear mpc
2 views (last 30 days)
Show older comments
I understand that MATLAB allows the use of nonlinear prediction model in mpc by specifying the state and output functions. For nonlinear ARX, its states are "an ordered list of delayed input and output variables that define the structure of the model regressors" (https://www.mathworks.com/help/ident/ref/idnlarx.html). So, if my nonlinear ARX has three regressors (y(t-1), y(t-2) and u(t-1)), is what I'm doing here correct where I set the state function as equals to x(1:3) and output function as equals to x(4):
0 Comments
Accepted Answer
Suresh Maddina
on 16 Dec 2020
Hi, it is my understanding that you are trying to use nonlinear ARX model for prediction model within Nonlinear MPC Simulink in Matlab.
The prediction model inside the nonlinear MPC must be a linear or nonlinear state & output functions of the form specified here: https://www.mathworks.com/help/mpc/ug/specify-prediction-model-for-nonlinear-mpc.html
3 Comments
Suresh Maddina
on 17 Dec 2020
In case you are referring to the prediction model inside the Nonlinear MPC, it does not support the ARX models. Only the state-space model of the form is supported mentioned in above documentation link.
For the plant model there are no restrictions on the type of model, so you can use the ARX model
More Answers (0)
See Also
Categories
Find more on Code Generation 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!