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!