Hit time invalid error message while runing in simulink

15 次查看(过去 30 天)
Hello,
Simulation while runing in simulink was stopped and the following message was occurred.
"The next hit time(-429.4967296) for variable sample time(tid=4) is invalid because it is either less than or not sufficiently greater than the current time (429.49672949999996)."
Simulation constraints are like this :
  • Accelerator mode
  • solver options : variable step, ODE23, max step 1e-7, relative tolerance 1e-3, min step size, absolute tolerance, initial step size : auto
I am looking forward to your good opinion. Thank you.
  7 个评论
Walter Roberson
Walter Roberson 2015-6-1
Re-reading I think the problem is the min step size, that you should set it specifically and make it 1E-8 or smaller.
Kyoung Ho Chong
Kyoung Ho Chong 2015-6-10
I tried to adjust the min step size from 1e-8 to 1e-12. But the result is not changed, still simulation is stopped at 429.xx sec. One more I've tried by changing Max step size into "auto" from previous 1e-8, but unchanged. Sorry for not giving a good result~. If you have any idea, anytime tell me. Thanks!!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by