Solver was unable to reduce the step size without violating the minimum step size value
이전 댓글 표시
- Solver was unable to reduce the step size without violating the minimum step size value of 1.17684e-19 for 1 consecutive times at time 3.31252e-05. This usually may be caused by violating algebraic constraints in the differential-algebraic system or by the high stiffness of the system. Try tightening the error tolerances, and/or the tolerances for computing consistent conditions. If the problem persists, please check the system or increase the solver Number of consecutive min stepsviolation parameter.
Suggested Actions
Open Solver Profiler to explore such issues
댓글 수: 4
Hamed Majeed
2021년 11월 29일
Steve Miller
2021년 11월 29일
Hi Hamed - the diagnostic message alone is not enough for us to help you. This is the best guess the software can make at ways to solve the problem, and that guess is based only on the numerical behavior observed by the solver. Please upload the model if you want more specific suggestions.
--Steve
Hamed Majeed
2021년 11월 29일
Steve Miller
2021년 12월 2일
Attached is the model saved in R2020b.
--Steve
채택된 답변
추가 답변 (1개)
Walter Roberson
2021년 11월 29일
1 개 추천
you probably have an algebraic loop. Algebraic loops are mostly caused by having feedback processes through a sequence of steps that do not take any time. The error is not typically in the fact that the feedback exists, but rather in the fact that no processing time was associated with the sequence, so mathematically you get into situations similar to "x must equal x+1" (which is is only possible for infinite x in that example.)
카테고리
도움말 센터 및 File Exchange에서 Discrete Events and Mode Charts에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!