Error with design MPC

4 visualizzazioni (ultimi 30 giorni)
rowida said
rowida said il 22 Gen 2019
Risposto: Kothuri il 17 Gen 2025
For this demo
mdl = 'mpc_linearization';
open_system(mdl);
Iam tring to design MPC but it always gives error
"Cannot linearize..."
"Could not linearize. You may consider first obtaining a linear model from a Linearization task and then using it in MPC design."

Risposte (1)

Kothuri
Kothuri il 17 Gen 2025
The error encountered is due to the Simulink model cannot be linearized around the operating point as the model contains blocks or components that are inherently nonlinear or cannot be linearized or the model's solver configuration may not be compatible with the linearization process.
You can try the following steps for linearization:
  • Open the model and navigate to Apps > Control Design > Linear Analysis.
  • In the Linear Analysis Tool:
  1. Select the input and output points for linearization (these are typically your MPC input and output).
  2. Compute the linear model using "Bode plot" or "Step Response" analysis.
  • If successful, export the linear model to the MATLAB workspace and use it for the MPC design
  • Identify components in the model that may not be linearizable.
  • Replace such blocks with linear approximations.
You can refer the below documentation links for more info on "Linearization":

Tag

Prodotti


Release

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by