PDA

查看完整版本 : [Simulink相关] 【求助】这个问题怎样解决


zimu554
2009-04-25, 01:16
问题:
Derivative input 1 of 'fangzheng/equ2/sita1' at time 0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).

始终没有找出解决的办法!请高手指点!!!

anbcjys
2009-04-25, 08:59
问题:
Derivative input 1 of 'fangzheng/equ2/sita1' at time 0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).

始终没有找出解决的办法!请高手指点!!!
估计是某些参数问题

silas_xue
2009-04-26, 05:34
lz 提示的意思在迭代中可能出现了某个奇异点 导致无法收敛 而如果算法上没有问题的话 可能每次的增进步阶因子取的不合适 导致过调 比如因子过大会导致越过极值而发散 或者是你将算法结束的标准设定的过于严格 导致无法偏离过大
at time 0 is Inf or NaN 第一次就跳出 说明初始就可能有问题
能否把代码贴出来 大家一起讨论一下

Thx for reading.
PS:若还算满意,直接点击“Thanks”,再次登陆时亦便于查看回答是否真的帮到你了。
个人观点 仅供参考 多多交流 相互学习

laosam280
2009-04-26, 08:53
上面提示了解决办法啊,可以缩减求解迭代步长,可以是缩短固定步长或者加强误差限。

navyone
2011-06-10, 19:07
楼主,请问问题是如何解决的,我的问题提示在一传递函数模块上;急切!

storm_good
2011-06-13, 10:01
尝试用Simulink Debugger来调试仿真模型,问题相对比较容易解决。