📄 hsic1.mdl
字号:
BlockType Gain
Name "Gain"
Position [135, 440, 165, 470]
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [815, 370, 845, 400]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [500, 320, 530, 350]
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [915, 254, 925, 466]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [290, 350, 300, 490]
InputSameDT off
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [120, 550, 180, 580]
}
Block {
BlockType "S-Function"
Name "S-Function1"
Ports [1, 1]
Position [450, 55, 510, 85]
Orientation "left"
NamePlacement "alternate"
}
Block {
BlockType "S-Function"
Name "S-Function2"
Ports [1, 1]
Position [120, 175, 180, 205]
}
Block {
BlockType "S-Function"
Name "S-Function3"
Ports [1, 1]
Position [270, 175, 330, 205]
}
Block {
BlockType Step
Name "Step"
Position [15, 440, 45, 470]
SampleTime "0"
}
Block {
BlockType Step
Name "Step1"
Position [15, 550, 45, 580]
SampleTime "0"
}
Block {
BlockType Step
Name "Step2"
Position [45, 300, 75, 330]
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [200, 375, 220, 395]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [640, 325, 660, 345]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [685, 320, 715, 350]
}
Block {
BlockType TransportDelay
Name "Transport\nDelay1"
Position [310, 55, 340, 85]
Orientation "left"
NamePlacement "alternate"
}
Block {
BlockType Step
Name "User-set"
Position [600, 420, 630, 450]
SampleTime "0"
}
Block {
BlockType Scope
Name "dTin\n"
Ports [1]
Position [405, 529, 435, 561]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "erro\n"
Ports [1]
Position [775, 169, 805, 201]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Step1"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "Step2"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Derivative1"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Derivative1"
SrcPort 1
Points [205, 0]
Branch {
Points [45, 0]
DstBlock "Add"
DstPort 2
}
Branch {
DstBlock "dTin\n"
DstPort 1
}
}
Line {
SrcBlock "S-Function"
SrcPort 1
Points [70, 0; 0, -25]
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Divide"
DstPort 1
}
Line {
SrcBlock "Divide"
SrcPort 1
DstBlock "Add"
DstPort 3
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [5, 0; 0, 295; -355, 0]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Transport\nDelay"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
Points [15, 0]
Branch {
Points [30, 0]
Branch {
Points [0, 50]
DstBlock "Integrator"
DstPort 1
}
Branch {
Points [0, -5]
Branch {
Points [0, -45]
DstBlock "Derivative"
DstPort 1
}
Branch {
Points [0, 5]
DstBlock "Mux"
DstPort 2
}
}
}
Branch {
Points [0, -150]
DstBlock "erro\n"
DstPort 1
}
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "User-set"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [60, 0; 0, -290]
DstBlock "S-Function1"
DstPort 1
}
Line {
SrcBlock "S-Function1"
SrcPort 1
DstBlock "Transport\nDelay1"
DstPort 1
}
Line {
SrcBlock "S-Function3"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "S-Function2"
SrcPort 1
DstBlock "S-Function3"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay1"
SrcPort 1
Points [-240, 0; 0, 120]
DstBlock "S-Function2"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -