声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 4086|回复: 7

[综合讨论] 仿真中断--derivative input

[复制链接]
发表于 2008-4-4 14:38 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我的模型在仿真时,设置时间为4s,可到了2.8s时多一点,仿真中断,无法进行,截图如下:

Derivative input 1 of 'bsjiabf2/BG/baiC/Integrator' at time 2.815980315877682 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)

这是他的错误叙述,请问错误源自何处?该怎么解决??希望能得到帮助!!谢谢。QQ93644311;邮箱afei8233@yahoo.com.cn
cuowu.JPG
回复
分享到:

使用道具 举报

发表于 2008-4-4 16:12 | 显示全部楼层
代数环问题,可以参考
http://forum.vibunion.com/forum/viewthread.php?tid=28597
http://forum.vibunion.com/forum/viewthread.php?tid=56939

http://www.mathworks.com/support/solutions/data/1-16V6S.html?solution=1-16V6S
http://www.mathworks.com/support/solutions/data/1-2S1NR3.html?solution=1-2S1NR3
 楼主| 发表于 2008-4-4 19:28 | 显示全部楼层
这应该不是代数环的问题吧?!我理解代数环是怎么一回事!!!还有如下的警告——Warning: Unable to reduce the step size without violating minimum step size of 1e-010 at time 1.000000000000014e-010.  Continuing simulation with the step size restricted to 1e-010 and using an effective relative error tolerance of 0.02570638301884068, which is greater than the specified relative error tolerance of 0.001.
Warning: Unable to reduce the step size without violating minimum step size of 1e-010 at time 2.81598151763284.  Continuing simulation with the step size restricted to 1e-010 and using an effective relative error tolerance of 1.176948267777999, which is greater than the specified relative error tolerance of 0.001.
Warning: Unable to reduce the step size without violating minimum step size of 1e-010 at time 2.815981517632888.  Continuing simulation with the step size restricted to 1e-010 and using an effective relative error tolerance of 1.176935916686738, which is greater than the specified relative error tolerance of 0.001.
cuowu2.JPG
 楼主| 发表于 2008-4-6 08:11 | 显示全部楼层
请给以帮助,谢谢了!!
发表于 2008-4-25 08:33 | 显示全部楼层

回复 楼主 的帖子

求解微分方程问题,出现了Inf或Nan,设置变步长或者把tolerances error 设大些看看吧
发表于 2008-4-25 09:16 | 显示全部楼层
可以试着减小步长!!!:lol :lol
发表于 2009-3-4 16:34 | 显示全部楼层
可以试着减小步长!!!:lol :lol
发表于 2009-3-4 17:01 | 显示全部楼层
可以尝试在反馈上加一个memory模块
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-15 20:44 , Processed in 0.073391 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表