Mass balance issues with PBPK model in Simbiology
Show older comments
I am having issues with mass balance (creating mass out of nowhere, Nobel prize here I come...) in my PBPK model. Eventually the system evens out, but the first steps (hours 0-10 out of 72) end up spitting out about a 1-10% error as a fraction of the dose applied. I have tried different solvers and this has not eliminated the issue. The mass balance term is sensitive to parameter values as well.
Any pointers would help.
Accepted Answer
More Answers (2)
Sietse Braakman
on 3 Oct 2019
0 votes
Hi Andrew,
This might be an integration imprecision in the solver due to tolerances that are not strict enough. Have you tried tightening your absolute and relative tolerance and seeing whether this reduces the mass balance error you are observing?
Best,
Sietse
Andrew Heitman
on 3 Oct 2019
0 votes
Communities
More Answers in the SimBiology Community
Categories
Find more on Extend Modeling Environment in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!