Error with design MPC

3 次查看(过去 30 天)
rowida said
rowida said 2019-1-22
回答: Kothuri 2025-1-17
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."

回答(1 个)

Kothuri
Kothuri 2025-1-17
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":

类别

Help CenterFile Exchange 中查找有关 Controller Creation 的更多信息

标签

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by