value of Stomach Glu After Dosing_insulindemo
1 view (last 30 days)
Show older comments
Carmen Juliana Gonzalez
on 30 Mar 2021
Edited: Arthur Goldsipe
on 31 Mar 2021
Hi,
I would like to know if someone knows why the value of parameter Stomach Glu After Dosing in the insulindemo from the Toolbox SimBiology® takes the value of 125 gr knowing that the value of the dose is 78 gr ?
Thank you very much for your help,
Juliana
0 Comments
Accepted Answer
Arthur Goldsipe
on 30 Mar 2021
Edited: Arthur Goldsipe
on 31 Mar 2021
I believe you are referring to the value of 125 in the variant named "Type 2 diabetic", as shown for example on this page. I believe I created this variant with the intention of simulating a meal containing 125 gram of glucose. In practice the initial value of this parameter (which is what the variant sets) will have very little impact on the simulation results. The value of the parameter is updated by an event whenever a dose is applied to the model. To eliminate confusion, I will remove this parameter from the variant.
Update: As described in the comments below, the initial value of this parameter does affect the simulation results due to a modeling error. Specifically, the event that updates Stomach Glu After Dosing imcorrectly updates parameters a and c. See my comment below for more details and a suggested fix.
2 Comments
Arthur Goldsipe
on 31 Mar 2021
Ah, you're absolutely right. This is yet another modeling error on my part. My intent was that the event that updates Stomach Glu After Dosing also updates parameters a and c based on the new value of Stomach Glu After Dosing. However, I forgot or misunderstood details of how events work. As described here, a and c do get updated but they use the old value of Stomach Glu After Dosing. Note that this issue likely affects all simulations. That is, regardless of whether this variant used, the values of a and c are not updated properly after a dose. The easiest short-term fix would be to update the event functions for a and c, replacing [Stomach Glu After Dosing] with Dose+[Glucose appearance].[Stomach Glu] (which is the new value for Stomach Glu After Dosing). In the longer term, I want to review this model to see if I can clean it up. I can take advantage of new features and my better understanding of the product to implement the model in a better way.
More Answers (0)
Communities
More Answers in the SimBiology Community
See Also
Categories
Find more on Perform Sensitivity Analysis 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!