Derivative of state '1' in block ~ at time 0.0 is not finite.

94 次查看(过去 30 天)
Hello.
I have a problem..
please help me
[problem]
캡처4.JPG
캡처5.JPG
  4 个评论

请先登录,再进行评论。

回答(1 个)

Shuai WANG
Shuai WANG 2021-3-31
(1)改变求解器,试试定步长或是刚性求解器,通常选择的算法是ode45,我们不妨试试刚性算法ode23tb
(2)如果是变步长的话,可设置最大步长上限,也可以增大容差试试;
(3)确保没有0为除数的情况出现;
(4)消除代数环(最好是人工化简);
(5)通常给定积分的初始输入为eps,
(6)离散的,在代数环处增加delay环节,如果是连续系统,增加memory环节。

类别

Help CenterFile Exchange 中查找有关 Create Large-Scale Model Components 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by