How to get rid of "Integration Tolerance Not Met"?

7 views (last 30 days)
Victoria Miller
Victoria Miller on 6 Apr 2021
Answered: Arthur Goldsipe on 6 Apr 2021
I'm trying to run a simulation of a repressilator in E. coli and get the error message above. How would you recommend I fix this issue? I have already tried messing with the simulation settings, but no luck. Thanks so much.

Answers (1)

Arthur Goldsipe
Arthur Goldsipe on 6 Apr 2021
If you simulate from the command line, you should see a warning that infinite or NaN (not-a-number) values occur during the simulation. (In R2021a you should also see these warnings in the SimBiology Model Analyzer app.)
This typically indicates a modeling error. I suggest decreasing the simulation time to something shorter and inspecting the results to make sure they make sense. I see that the value of "LacI mRNA" becomes negative after the first time step. And if I look at the reactions involving this species, the reactions rates don't look physically meaningful to me: "LacI mRNA" is consumed even when its concentration is 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!