📄 s2.mdl
字号:
SrcBlock "Logical\nOperator4"
SrcPort 1
Points [0, -130]
DstBlock "Insert iS*Ro"
DstPort 2
}
Line {
SrcBlock "Grd2"
SrcPort 1
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Grd"
SrcPort 1
DstBlock "Insert iS*Rc"
DstPort 3
}
Line {
SrcBlock "Grd1"
SrcPort 1
DstBlock "Insert iS*Ro"
DstPort 3
}
Line {
SrcBlock "D Latch"
SrcPort 2
DstBlock "T"
DstPort 1
}
Line {
SrcBlock "delay to"
SrcPort 1
DstBlock "D Latch1"
DstPort 1
}
Line {
SrcBlock "latch1"
SrcPort 1
Points [-10, 0]
Branch {
Points [-255, 0]
DstBlock "Logical\nOperator4"
DstPort 2
}
Branch {
Points [-35, 0]
DstBlock "delay to"
DstPort 1
}
}
Line {
SrcBlock "latch1"
SrcPort 2
DstBlock "T2"
DstPort 1
}
Line {
SrcBlock "Hit \nCrossing"
SrcPort 1
Points [5, 0]
Branch {
Points [-10, 0; 0, 15]
DstBlock "D Latch1"
DstPort 2
}
Branch {
Points [-10, 0; 0, -100]
DstBlock "open\nM at next\niS zero"
DstPort 3
}
}
Line {
SrcBlock "D Latch1"
SrcPort 2
DstBlock "T3"
DstPort 1
}
Line {
SrcBlock "D Latch1"
SrcPort 1
Points [-95, 0]
Branch {
Points [-20, 0]
DstBlock "Logical\nOperator4"
DstPort 1
}
Branch {
Points [75, 0; 0, -55]
DstBlock "latch"
DstPort 2
}
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Reset\nIntegrator"
DstPort 1
}
Line {
SrcBlock "Reset\nIntegrator"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "iS"
DstPort 1
}
Branch {
Points [10, 0; 0, 30; -10, 0]
Branch {
DstBlock "Rc"
DstPort 1
}
Branch {
Points [10, 0; 0, 50]
DstBlock "Ro"
DstPort 1
}
}
Branch {
Points [10, 0; 0, 320]
DstBlock "Hit \nCrossing"
DstPort 1
}
}
Line {
SrcBlock "Grd5"
SrcPort 1
DstBlock "Reset\nIntegrator"
DstPort 3
}
Line {
SrcBlock "D Latch"
SrcPort 1
Points [160, 0]
DstBlock "open\nM at next\niS zero"
DstPort 2
}
Line {
SrcBlock "NOT CB on/off"
SrcPort 1
Points [220, 0]
DstBlock "open\nM at next\niS zero"
DstPort 1
}
Line {
SrcBlock "open\nM at next\niS zero"
SrcPort 1
Points [0, 15]
Branch {
Points [0, 25]
DstBlock "latch1"
DstPort 1
}
Branch {
Points [0, 5; -35, 0; 0, -270]
DstBlock "Reset\nIntegrator"
DstPort 2
}
}
Line {
SrcBlock "Vbreaker"
SrcPort 1
DstBlock "vb"
DstPort 1
}
Line {
SrcBlock "e"
SrcPort 1
DstBlock "e-vS"
DstPort 1
}
Line {
SrcBlock "IS*Rcb insert"
SrcPort 1
DstBlock "Vbreaker"
DstPort 2
}
Line {
SrcBlock "e-vS"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Vbreaker"
DstPort 1
}
Branch {
Points [25, 0]
DstBlock "e-vS-iS*Rcb"
DstPort 1
}
}
Line {
SrcBlock "vS"
SrcPort 1
Points [20, 0; 0, -15]
DstBlock "e-vS"
DstPort 2
}
Line {
SrcBlock "Grd3"
SrcPort 1
DstBlock "IS*Rcb insert"
DstPort 3
}
Annotation {
Position [427, 252]
VerticalAlignment top
Text "M closed "
}
}
}
Block {
BlockType Sin
Name "e"
Position [115, 151, 145, 179]
Amplitude "Epk"
Frequency "we"
Phase "pi/2"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "line"
Position [310, 157, 340, 208]
ShowPortLabels off
System {
Name "line"
Location [46, 101, 739, 450]
Open off
ScreenColor white
Block {
BlockType Inport
Name "iS"
Position [30, 230, 50, 250]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "iR"
Position [560, 80, 580, 100]
Orientation left
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Gain
Name "Gain1"
Position [115, 218, 145, 252]
Orientation left
Gain "2"
}
Block {
BlockType Gain
Name "Gain6"
Position [430, 84, 465, 116]
Gain "2"
}
Block {
BlockType TransportDelay
Name "R_to_S delay"
Position [270, 209, 315, 261]
Orientation left
DelayTime "tdelay"
InitialInput "0"
BufferSize "buffer_size"
}
Block {
BlockType TransportDelay
Name "S_to_R delay"
Position [260, 76, 305, 124]
DelayTime "tdelay"
InitialInput "0"
BufferSize "buffer_size"
}
Block {
BlockType Sum
Name "Sum1"
Position [59, 125, 126, 140]
Orientation up
Inputs "++"
}
Block {
BlockType Sum
Name "Sum2"
Position [190, 68, 205, 132]
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum4"
Position [475, 200, 535, 215]
Orientation down
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum5"
Position [370, 199, 385, 266]
Orientation left
Inputs "-+"
}
Block {
BlockType Gain
Name "Zc1"
Position [55, 170, 95, 205]
Orientation up
Gain "Zc"
}
Block {
BlockType Gain
Name "Zc2"
Position [499, 130, 541, 165]
Orientation down
Gain "Zc"
}
Block {
BlockType Gain
Name "atten1"
Position [340, 80, 380, 120]
Gain "atten"
}
Block {
BlockType Gain
Name "atten2"
Position [200, 214, 245, 256]
Orientation left
Gain "atten"
}
Block {
BlockType Outport
Name "VR "
Position [565, 240, 585, 260]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "VS"
Position [25, 75, 45, 95]
Orientation left
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "atten2"
SrcPort 1
Points [0, 0]
Branch {
Points [-30, 0; 0, -120]
DstBlock "Sum2"
DstPort 2
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "R_to_S delay"
SrcPort 1
DstBlock "atten2"
DstPort 1
}
Line {
SrcBlock "S_to_R delay"
SrcPort 1
DstBlock "atten1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [20, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Zc1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "S_to_R delay"
DstPort 1
}
Line {
SrcBlock "Zc2"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum5"
SrcPort 1
DstBlock "R_to_S delay"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [0, 0]
Branch {
Points [0, 30]
DstBlock "Sum5"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "VR "
DstPort 1
}
}
Line {
SrcBlock "iS"
SrcPort 1
Points [20, 0]
DstBlock "Zc1"
DstPort 1
}
Line {
SrcBlock "iR"
SrcPort 1
Points [-35, 0]
DstBlock "Zc2"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -35]
DstBlock "VS"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "atten1"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Gain6"
DstPort 1
}
Branch {
Points [25, 0; 0, 115]
DstBlock "Sum5"
DstPort 1
}
}
Annotation {
Position [182, 217]
VerticalAlignment top
Text "VbS"
}
Annotation {
Position [222, 82]
VerticalAlignment top
Text "VfS"
}
Annotation {
Position [347, 217]
VerticalAlignment top
Text "VbR"
}
Annotation {
Position [402, 82]
VerticalAlignment top
Text "VfR"
}
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -25]
DstBlock "Selector"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "To Workspace"
DstPort 1
}
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "CB on/off\nsignal"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "breaker"
DstPort 2
}
Line {
SrcBlock "e"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "breaker"
DstPort 1
}
Branch {
Points [10, 0; 0, -20; 50, 0]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "breaker"
SrcPort 2
Points [35, 0]
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "breaker"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "line"
DstPort 1
}
Branch {
Points [25, 0; 0, -30; 65, 0]
DstBlock "Mux2"
DstPort 4
}
}
Line {
SrcBlock "line"
SrcPort 2
Points [0, 0]
Branch {
Points [30, 0; 0, 40; -200, 0; 0, -40]
DstBlock "breaker"
DstPort 3
}
Branch {
Points [30, 0]
DstBlock "Mux2"
DstPort 5
}
}
Line {
SrcBlock "line"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "RL load"
DstPort 1
}
Branch {
Points [40, 0; 0, -35; 45, 0]
DstBlock "Mux2"
DstPort 6
}
}
Line {
SrcBlock "RL load"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, 75; -195, 0; 0, -50]
DstBlock "line"
DstPort 2
}
Branch {
Points [35, 0]
DstBlock "Mux2"
DstPort 7
}
}
Annotation {
Position [457, 157]
VerticalAlignment top
Text "iR"
}
Annotation {
Position [242, 182]
VerticalAlignment top
Text "Vb"
}
Annotation {
Position [242, 157]
VerticalAlignment top
Text "iS"
}
Annotation {
Position [362, 182]
VerticalAlignment top
Text "vS"
}
Annotation {
Position [362, 157]
VerticalAlignment top
Text "vR"
}
Annotation {
Position [297, 262]
VerticalAlignment top
Text "Double click on masked block m2 in this screen "
"to initialize this simulation. \nAfter the "
"simulation, type return after the K>> prompt "
"in the \nMATLAB command window to plot results "
"in Figs. 1 and 2 ."
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -