Error with design MPC

3 visualizaciones (últimos 30 días)
rowida said
rowida said el 22 de En. de 2019
Respondida: Kothuri el 17 de En. de 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."

Respuestas (1)

Kothuri
Kothuri el 17 de En. de 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":

Categorías

Más información sobre Controller Creation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by