📄 glucos3.mdl
字号:
Ports [3, 1, 0, 0, 0]
Position [400, 102, 420, 138]
Inputs "++-"
}
Block {
BlockType Sum
Name "dIB1/dt"
Ports [2, 1, 0, 0, 0]
Position [405, 445, 425, 465]
Inputs "-+"
}
Block {
BlockType Sum
Name "dIB2/dt"
Ports [2, 1, 0, 0, 0]
Position [410, 545, 430, 565]
Inputs "+-"
}
Block {
BlockType Sum
Name "dIf/dt"
Ports [4, 1, 0, 0, 0]
Position [400, 317, 420, 363]
Inputs "-+--"
}
Block {
BlockType Sum
Name "dX/dt"
Ports [2, 1, 0, 0, 0]
Position [405, 220, 425, 240]
Inputs "++"
}
Block {
BlockType Gain
Name "ka1"
Position [310, 492, 335, 518]
Orientation left
Gain ".000020"
}
Block {
BlockType SubSystem
Name "ka1*If*\n(CT1-IB1)"
Ports [2, 1, 0, 0, 0]
Position [275, 449, 295, 471]
ShowPortLabels off
MaskType "Dot Product"
MaskDescription "Inner (dot) product.\ny=sum(u1.*u2)"
MaskHelp "Computes the inner (dot) product of the inputs:"
" sum(u1.*u2). The inputs are vectors of the same length. Output is a scalar."
MaskDisplay "disp('.\\n')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "ka1*If*\n(CT1-IB1)"
Location [33, 479, 253, 634]
Open off
ToolBar off
StatusBar off
ScreenColor white
PaperOrientation landscape
PaperPositionMode auto
PaperType usletter
PaperUnits inches
Block {
BlockType Inport
Name "in_1"
Position [15, 25, 35, 45]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_2"
Position [15, 90, 35, 110]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [65, 55, 90, 75]
Inputs "2"
}
Block {
BlockType Sum
Name "Sum"
Ports [1, 1, 0, 0, 0]
Position [125, 55, 145, 75]
Inputs "+"
}
Block {
BlockType Outport
Name "out_1"
Position [185, 55, 205, 75]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "ka2"
Position [265, 522, 290, 548]
Orientation left
Gain ".000020"
}
Block {
BlockType SubSystem
Name "ka2*If*\n(CT2-IB2)"
Ports [2, 1, 0, 0, 0]
Position [305, 574, 325, 596]
ShowPortLabels off
MaskType "Dot Product"
MaskDescription "Inner (dot) product.\ny=sum(u1.*u2)"
MaskHelp "Computes the inner (dot) product of the inputs:"
" sum(u1.*u2). The inputs are vectors of the same length. Output is a scalar."
MaskDisplay "disp('.\\n')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "ka2*If*\n(CT2-IB2)"
Location [33, 479, 253, 634]
Open off
ToolBar off
StatusBar off
ScreenColor white
PaperOrientation landscape
PaperPositionMode auto
PaperType usletter
PaperUnits inches
Block {
BlockType Inport
Name "in_1"
Position [15, 25, 35, 45]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_2"
Position [15, 90, 35, 110]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [65, 55, 90, 75]
Inputs "2"
}
Block {
BlockType Sum
Name "Sum"
Ports [1, 1, 0, 0, 0]
Position [125, 55, 145, 75]
Inputs "+"
}
Block {
BlockType Outport
Name "out_1"
Position [185, 55, 205, 75]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType Gain
Name "kd1"
Position [300, 387, 325, 413]
Orientation left
Gain ".011"
}
Block {
BlockType Gain
Name "kd2"
Position [372, 585, 398, 615]
Orientation up
Gain ".011"
}
Block {
BlockType Gain
Name "n"
Position [250, 312, 275, 338]
Gain ".09"
}
Line {
SrcBlock "P1-X"
SrcPort 1
DstBlock "G*(P1-X)"
DstPort 2
}
Line {
SrcBlock "RemoteX"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Remote\nGlucose"
DstPort 1
}
Branch {
Points [0, -60; -295, 0]
Branch {
Points [0, -50]
DstBlock "P1-X"
DstPort 2
}
Branch {
Points [0, 40]
DstBlock "P2"
DstPort 1
}
}
}
Line {
SrcBlock "G0"
SrcPort 1
DstBlock "P1*G0"
DstPort 2
}
Line {
SrcBlock "P1"
SrcPort 1
Points [11, 0; 0, 30]
Branch {
DstBlock "P1-X"
DstPort 1
}
Branch {
Points [-75, 0; 0, 65]
DstBlock "P1*G0"
DstPort 1
}
}
Line {
SrcBlock "G*(P1-X)"
SrcPort 1
Points [16, 0; 0, 10]
DstBlock "dG/dt"
DstPort 2
}
Line {
SrcBlock "P1*G0"
SrcPort 1
Points [181, 0; 0, -50]
DstBlock "dG/dt"
DstPort 3
}
Line {
SrcBlock "1/VG"
SrcPort 1
Points [100, 0; 0, 85]
DstBlock "dG/dt"
DstPort 1
}
Line {
SrcBlock "I0"
SrcPort 1
DstBlock "If-I0"
DstPort 1
}
Line {
SrcBlock "InsulinF"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -40; -335, 0]
Branch {
Points [0, -35]
DstBlock "If-I0"
DstPort 2
}
Branch {
Points [0, 25]
DstBlock "n"
DstPort 1
}
}
Branch {
Points [25, 0]
Branch {
DstBlock "Free\nInsulin"
DstPort 1
}
Branch {
Points [0, 165; -185, 0]
Branch {
DstBlock "ka1"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "ka2"
DstPort 1
}
}
}
}
Line {
SrcBlock "If-I0"
SrcPort 1
DstBlock "P3"
DstPort 1
}
Line {
SrcBlock "dX/dt"
SrcPort 1
DstBlock "RemoteX"
DstPort 1
}
Line {
SrcBlock "P2"
SrcPort 1
Points [40, 0; 0, 15]
DstBlock "dX/dt"
DstPort 1
}
Line {
SrcBlock "P3"
SrcPort 1
Points [40, 0; 0, -25]
DstBlock "dX/dt"
DstPort 2
}
Line {
SrcBlock "n"
SrcPort 1
DstBlock "dIf/dt"
DstPort 1
}
Line {
SrcBlock "1/VI"
SrcPort 1
Points [80, 0; 0, -25]
DstBlock "dIf/dt"
DstPort 2
}
Line {
SrcBlock "dIB1/dt"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "InsulinB1"
DstPort 1
}
Branch {
Points [0, -65; -74, 0; 0, -45]
DstBlock "dIf/dt"
DstPort 3
}
}
Line {
SrcBlock "dIB2/dt"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "InsulinB2"
DstPort 1
}
Branch {
Points [0, -175; -79, 0; 0, -25]
DstBlock "dIf/dt"
DstPort 4
}
}
Line {
SrcBlock "InsulinB1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Bound1\nInsulin"
DstPort 1
}
Branch {
Points [0, -55; -175, 0]
Branch {
DstBlock "kd1"
DstPort 1
}
Branch {
Points [0, -15; -115, 0; 0, 20; -64, 0; 0, 25]
DstBlock "CT1-IB1"
DstPort 1
}
}
}
Line {
SrcBlock "CT1"
SrcPort 1
DstBlock "CT1-IB1"
DstPort 2
}
Line {
SrcBlock "ka1"
SrcPort 1
Points [-59, 0; 0, -40]
DstBlock "ka1*If*\n(CT1-IB1)"
DstPort 2
}
Line {
SrcBlock "ka1*If*\n(CT1-IB1)"
SrcPort 1
DstBlock "dIB1/dt"
DstPort 2
}
Line {
SrcBlock "kd1"
SrcPort 1
Points [-19, 0; 0, 30; 74, 0; 0, 20]
DstBlock "dIB1/dt"
DstPort 1
}
Line {
SrcBlock "CT1-IB1"
SrcPort 1
Points [21, 0; 0, 20]
DstBlock "ka1*If*\n(CT1-IB1)"
DstPort 1
}
Line {
SrcBlock "CT2"
SrcPort 1
DstBlock "CT2-IB2"
DstPort 1
}
Line {
SrcBlock "InsulinB2"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Bound2\nInsulin"
DstPort 1
}
Branch {
Points [0, 85; -140, 0]
Branch {
Points [-235, 0; 0, -45]
DstBlock "CT2-IB2"
DstPort 2
}
Branch {
DstBlock "kd2"
DstPort 1
}
}
}
Line {
SrcBlock "CT2-IB2"
SrcPort 1
DstBlock "ka2*If*\n(CT2-IB2)"
DstPort 2
}
Line {
SrcBlock "ka2"
SrcPort 1
Points [-35, 0; 0, 45]
DstBlock "ka2*If*\n(CT2-IB2)"
DstPort 1
}
Line {
SrcBlock "kd2"
SrcPort 1
Points [0, -20]
DstBlock "dIB2/dt"
DstPort 2
}
Line {
SrcBlock "ka2*If*\n(CT2-IB2)"
SrcPort 1
Points [20, 0; 0, -35]
DstBlock "dIB2/dt"
DstPort 1
}
Line {
SrcBlock "Glucose"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 20]
DstBlock "Blood\nGlucose"
DstPort 1
}
Branch {
Points [0, -40]
Branch {
Points [0, -15; -225, 0; 0, 40]
DstBlock "G*(P1-X)"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
}
Line {
SrcBlock "dG/dt"
SrcPort 1
DstBlock "Glucose"
DstPort 1
}
Line {
SrcBlock "dIf/dt"
SrcPort 1
DstBlock "InsulinF"
DstPort 1
}
Line {
SrcBlock "Glucose\nload"
SrcPort 1
DstBlock "1/VG"
DstPort 1
}
Line {
SrcBlock "Glucose:\nmeals"
SrcPort 1
DstBlock "Glucose\nload"
DstPort 1
}
Line {
SrcBlock "Glucose:\nnoise"
SrcPort 1
DstBlock "GN"
DstPort 1
}
Line {
SrcBlock "GN"
SrcPort 1
Points [0, -15]
DstBlock "Glucose\nload"
DstPort 2
}
Line {
SrcBlock "Insulin\ninput"
SrcPort 1
DstBlock "convert\nunits"
DstPort 1
}
Line {
SrcBlock "convert\nunits"
SrcPort 1
DstBlock "1/VI"
DstPort 1
}
Line {
SrcBlock "Insulin\nsecretion,\nU/hr\n"
SrcPort 1
Points [5, 0]
DstBlock "Insulin\ninput"
DstPort 2
}
Line {
SrcBlock "Insulin\ninfusion"
SrcPort 1
Points [15, 0]
DstBlock "Insulin\ninput"
DstPort 1
}
Annotation {
Position [780, 276]
Text "Implementation of the model in Furler, et al.,"
"\nDiabetes Care 8(6)553-561, 1985."
}
Annotation {
Position [779, 309]
Text "Simulates an insulin-dependent diabetic patient"
"\nwith no endogeneous insulin secretion. \n Patient is partially glucose resi"
"stant."
}
Annotation {
Position [94, 488]
Text "Set insulin secretion to 0.9 U/hr\nfor normal g"
"lucose level"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -