Insulindemo_Change of numerical values in some parameters are not reflected in the simulation
1 view (last 30 days)
Show older comments
Carmen Juliana Gonzalez
on 27 Apr 2021
Commented: Carmen Juliana Gonzalez
on 27 Apr 2021
Hello,
I am currently and actively working with the insulindemo included in the toolbox simBiology.
for the object named Type 2 diabetic, I ran a first simulation using the default values.
Then I wanted to change the values of the parameters m5 and m6, the modification of these two values shold be reflected in the value of the initial assignment
[Basal Ins Secr] = (m6-[Basal Hepatic Extraction])/m5
using the defautl values m6 = 0.8118 and m5 = 0.0526 I get a value for the [Basal Ins Secr] of 4.0266
However, if I use m6 = 0.6471 and m5 = 0.0304 ([Basal Ins Secr] = 1.5493) and I run the simulation the value of [Basal Ins Secr] remains the same as for the defaul values.
My question is whether the values of the parameters are changeable or not.
Thank yo very much in advance, I'm looking forward to hear from you.
I wish you a very good day.
Juliana GONZALEZ
0 Comments
Accepted Answer
Arthur Goldsipe
on 27 Apr 2021
Hi Juliana,
Yes, you can change these parameters. However, the values on the parameters themselves are replaced by any values specified in variants, and the Type 2 diabetic variant includes values for these two parameters. So you will either need to modify the values on the Type 2 diabetic variant, or include a second variant in the simulation that specifies the desired values for these two parameters. If you choose to specify multiple variants, you need to make sure that the one with the desired values for m5 and m6 comes last in the list, since they are applied in order.
Here's how you could use two variants at the command line:
sbioloadproject insulindemo.sbproj m1
diabeticVariant = getvariant(m1, 'Type 2 diabetic');
sim1 = sbiosimulate(m1, diabeticVariant);
sim1a = selectbyname(sim1, 'Basal Ins Secr');
% Value of [Basal Ins Secr] when using 'Type 2 diabetic' variant:
sim1a.Data(1)
m5m6Variant = sbiovariant('m5 and m6');
addcontent(m5m6Variant, {'parameter', 'm5', 'Value', 0.0304});
addcontent(m5m6Variant, {'parameter', 'm6', 'Value', 0.6471});
sim2 = sbiosimulate(m1, [diabeticVariant, m5m6Variant]);
sim2a = selectbyname(sim2, 'Basal Ins Secr');
% Value of [Basal Ins Secr] when using both variants:
sim2a.Data(1)
More Answers (0)
See Also
Categories
Find more on Perform Sensitivity Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!