SimBiology | simulation tolerance fails at beginning if time increased

1 view (last 30 days)
I have built a model in SimBiology. I works fine say, if time is 1250 seconds. But it gives "Integration Tolerance Not Met" error at 10^-3 sec if time is increased to 1500 sec.
I am using "ode15s (stiff/NDE)" solver with default settings.

Accepted Answer

Arthur Goldsipe
Arthur Goldsipe on 10 Jun 2019
Edited: Arthur Goldsipe on 19 Aug 2019
My guess is that you are encountering the problem described in the tip on the AbsoluteToleranceStepSize reference page. The suggestion there is to update your simulation settings by manually setting AbsoluteToleranceStepSize to a small value. My suggestion would be to start with a value of 1e-5 and see how that works. If that results in the same error message, try 1e-6, and so on.

More Answers (0)


More Answers in the  SimBiology Community




Community Treasure Hunt

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

Start Hunting!