Error with design MPC

조회 수: 4 (최근 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