Solver was unable to reduce the step size without violating minimum step size of 8.8942E-18 for 1 consecutive times at time 0.0025035. Solver will continue simulation with th
49 次查看(过去 30 天)
显示 更早的评论
- Solver was unable to reduce the step size without violating minimum step size of 8.8942E-18 for 1 consecutive times at time 0.0025035. Solver will continue simulation with the step size restricted to 8.8942E-18 and using an effective relative error tolerance of 0.390524, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the system or increase the solver Number of consecutive min steps violation parameter.
1 个评论
Walter Roberson
2023-2-2
https://www.mathworks.com/help/simulink/gui/number-of-consecutive-min-steps.html
回答(1 个)
Swaraj
2023-4-6
Hi,
I understand that you are getting an error. I went through to understand the reason for this error.
When the solver is unable to solve the equation within the specified step-size, an error may occur.
Increasing the minimal number of consecutive steps, the model takes is one of the suggested solutions for this problem. Expanding the "Additional options" section in the solver part of the configuration settings will change this value.
A dialogue box with the title "Number of consecutive min steps:" should be visible in this part. Increase this box's value.
You can also try to relax all the tolerances in the model from the Model Configuration Parameters.
Go through the following documentation to understand in detail.
I hope it helps.
Let me know it is not getting solved.
Thanks!!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!