The fluctuation of the content of a species between negative and positive
3 次查看(过去 30 天)
显示 更早的评论
The model I am developing in Simbiology includes a drug species in which large repeated amounts of doses are injected. It has no other input parameters.
Why does the content if the drug species fluctuates between negative and positive values; although the content of the species is still large, i.e. far away from zero?
2 个评论
Jacopo Biasetti
2023-3-6
Hi,
One possibility is that your system of equations is stiff. Stiff systems usually result in oscillations when not solved correctly. Try using a stiff solver, e.g., ode15s, and also reduce the timestep.
Jacopo
采纳的回答
Arthur Goldsipe
2023-3-6
Can you share the model? As Jacopo mentions in the comment above, this is likely due to the difficult of solving the underlying differential equations for this model. In the absence of more details, the only thing I can suggest is to look at this doc page.
2 个评论
Arthur Goldsipe
2023-3-6
I recommend creating a new MATLAB Answers question, and sharing detailed reproduction steps. Ideally, share your code or project. Without these details, it's hard to help you.
更多回答(0 个)
社区
更多回答在 SimBiology Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!