Insulindemo_Change of numerical values in some parameters are not reflected in the simulation
조회 수: 1 (최근 30일)
이전 댓글 표시
Carmen Juliana Gonzalez
2021년 4월 27일
댓글: Carmen Juliana Gonzalez
2021년 4월 27일
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
채택된 답변
Arthur Goldsipe
2021년 4월 27일
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)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Perform Sensitivity Analysis에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!