MATLAB Answers

value of Stomach Glu After Dosing_insulindemo

조회 수: 67(최근 30일)
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,

채택된 답변

Arthur Goldsipe
Arthur Goldsipe 30 Mar 2021
편집: Arthur Goldsipe 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
Arthur Goldsipe
Arthur Goldsipe 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.

댓글을 달려면 로그인하십시오.

추가 답변(0개)


더 많은 답변 보기:  SimBiology Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by