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 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