Hit time invalid error message while runing in simulink

15 ビュー (過去 30 日間)
Kyoung Ho Chong
Kyoung Ho Chong 2015 年 5 月 19 日
コメント済み: Kyoung Ho Chong 2015 年 6 月 10 日
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 Center および File ExchangeGeneral Applications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by