📄 hsp.mdl
字号:
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "SubSystem1"
Ports [2, 1]
Position [530, 160, 555, 215]
Orientation "left"
NamePlacement "alternate"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "SubSystem1"
Location [174, 156, 672, 456]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "_"
Position [60, 63, 90, 77]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "+"
Position [60, 108, 90, 122]
Port "2"
Interpolate on
}
Block {
BlockType Saturate
Name "Saturation"
Position [230, 55, 260, 85]
UpperLimit "10000"
LowerLimit "0"
LinearizeAsGain on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [160, 57, 190, 113]
ShowName off
IconShape "rectangular"
Inputs "|-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out"
Position [305, 63, 335, 77]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "_"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "+"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [85, 130, 110, 165]
Orientation "left"
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [270, 265, 295, 300]
Orientation "left"
ShowName off
IconShape "rectangular"
Inputs "-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Pmaxlv"
Position [15, 143, 45, 157]
Orientation "left"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Pmaxlv"
DstPort 1
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product5"
SrcPort 1
Points [-35, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [-25, 0]
DstBlock "Product5"
DstPort 1
}
Line {
SrcBlock "Constant14"
SrcPort 1
DstBlock "Product5"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [-55, 0]
DstBlock "Product5"
DstPort 3
}
Line {
SrcBlock "Constant6"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Constant13"
SrcPort 1
Points [-20, 0]
DstBlock "SubSystem1"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
DstBlock "SubSystem1"
DstPort 2
}
Line {
SrcBlock "SubSystem1"
SrcPort 1
Points [-45, 0; 0, -50]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "phi"
SrcPort 1
Points [-130, 0]
Branch {
Points [-155, 0]
DstBlock "Sum3"
DstPort 1
}
Branch {
Points [0, -100]
DstBlock "Product4"
DstPort 3
}
}
Line {
SrcBlock "From3"
SrcPort 1
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "From6"
SrcPort 1
Points [-30, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, -120]
DstBlock "Scope"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Rep"
Ports [1, 1]
Position [785, 236, 865, 274]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Rep"
Location [14, 84, 810, 580]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "fes"
Position [75, 88, 105, 102]
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [135, 169, 200, 201]
Value "fesmin-1"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant1"
Position [485, 159, 550, 191]
Value "initx(4)"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [400, 79, 450, 111]
Gain "Gx(4)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [335, 80, 365, 110]
Operator "log"
OutputSignalType "auto"
}
Block {
BlockType Saturate
Name "Saturation"
Position [280, 80, 310, 110]
UpperLimit "inf"
LowerLimit "1"
LinearizeAsGain on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [230, 72, 255, 128]
ShowName off
IconShape "rectangular"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [595, 72, 620, 128]
ShowName off
IconShape "rectangular"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [485, 77, 545, 113]
Numerator "[1]"
Denominator "[toux(4) 1]"
Realization "auto"
AbsoluteTolerance "auto"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [150, 80, 180, 110]
DelayTime "Dx(4)"
InitialInput "0"
BufferSize "1024"
PadeOrder "0"
}
Block {
BlockType Outport
Name "Rep"
Position [665, 88, 695, 102]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [25, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Rep"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "fes"
SrcPort 1
DstBlock "Transport\nDelay"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Right Ventricle"
Ports [1, 1]
Position [485, 422, 595, 458]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Right Ventricle"
Location [-2, 109, 794, 572]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "phi"
Position [620, 213, 650, 227]
Orientation "left"
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant13"
Position [620, 110, 650, 140]
Orientation "left"
NamePlacement "alternate"
ShowName off
Value "Vurv"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant14"
Position [260, 185, 290, 215]
Orientation "left"
NamePlacement "alternate"
ShowName off
Value "P0rv"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant6"
Position [405, 235, 435, 265]
Orientation "left"
Value "1"
VectorParams1D on
}
Block {
BlockType Fcn
Name "Fcn"
Position [295, 143, 365, 177]
Orientation "left"
Expr "exp(u*KErv)-1"
}
Block {
BlockType From
Name "From2"
Position [610, 146, 650, 174]
Orientation "left"
NamePlacement "alternate"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vrv"
}
Block {
BlockType From
Name "From3"
Position [620, 71, 700, 99]
Orientation "left"
NamePlacement "alternate"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Emaxrv"
}
Block {
BlockType From
Name "From6"
Position [400, 146, 440, 174]
Orientation "left"
NamePlacement "alternate"
ShowName off
CloseFcn "tagdialog Close"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -