Hit time invalid error message while runing in simulink

3 views (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 1 Jun 2015
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 on 10 Jun 2015
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!!

Sign in to comment.

Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!