Hit time invalid error message while runing in simulink

15 vues (au cours des 30 derniers jours)
Kyoung Ho Chong
Kyoung Ho Chong le 19 Mai 2015
Commenté : Kyoung Ho Chong le 10 Juin 2015
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 commentaires
Walter Roberson
Walter Roberson le 1 Juin 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 le 10 Juin 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!!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by