MATLAB: SimBiology | simulation tolerance fails at beginning if time increased

SimBiologytolerance

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.

Best Answer

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.