- Add a species 'drug_release' to your model
- Add the necessary parameters ym, yo, k to your model
- Add a repeated assignment to your model where the rule reads: 'drug_release = ym-(ym-yo)*exp(-k*time)'
How to assign a rate constant that will change through time into SimBiology model?
3 次查看(过去 30 天)
显示 更早的评论
I have a set of drug releaseing data, and I would like to apply its drug release kinetic into my model. The data and the regression equation is attached below. The equation used for the data set is a exponential plateau formula defined as y = ym-(ym-yo)*exp(-k*x). y is drug release percentage, ym,yo and k are constant and x reprecents time. How could I assign this durg release kinetic into my simbiology model? The derivative of this drug releaseing profile is the rate. However, the rate change through time, and the simbiology don't allow me to use time into my equation. Is there any way I could solve this kind of problem? Thank you.
0 个评论
采纳的回答
Sietse Braakman
2021-1-12
Hi Jesse,
You can do this using a repeated assignment and the reserved keyword 'time'. E.g.:
Make sure your time units are consistent between the 'time' in your repeated assignment and the rest of your model.
Let me know if that works for you.
Best,
Sietse
更多回答(0 个)
社区
更多回答在 SimBiology Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Extend Modeling Environment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!