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