📄 m5_5_15.mdl
字号:
Position [140, 69, 170, 166]
Inputs "[8 4 1 4]"
}
Block {
BlockType Mux
Name "MuxSwitch"
Ports [1, 1]
Position [235, 126, 265, 214]
Inputs "1"
}
Block {
BlockType Mux
Name "MuxVf"
Ports [1, 1]
Position [265, 256, 295, 344]
Orientation "left"
Inputs "1"
}
Block {
BlockType Selector
Name "SelectorVf"
Ports [1, 1]
Position [225, 287, 245, 313]
Orientation "left"
Elements "[1 2 3 4]"
InputPortWidth "8"
}
Block {
BlockType "S-Function"
Name "State-Space"
Ports [1, 1]
Position [375, 103, 455, 147]
FunctionName "sfun_psbcontc"
Parameters "A,B,C,D,x0,Rswitch,YSwitchCurrent"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Terminator
Name "T"
Position [195, 335, 215, 355]
Orientation "down"
NamePlacement "alternate"
}
Block {
BlockType SubSystem
Name "diode (logical)"
Ports [1, 3]
Position [335, 229, 390, 261]
Orientation "left"
TreatAsAtomicUnit off
System {
Name "diode (logical)"
Location [25, 502, 539, 757]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [20, 25, 45, 45]
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [75, 20, 115, 50]
Elements "[1 2 3 4 5 6 7 8]"
InputPortWidth "14"
}
Block {
BlockType SubSystem
Name "gotos"
Ports [1]
Position [385, 138, 430, 172]
TreatAsAtomicUnit off
System {
Name "gotos"
Location [193, 281, 559, 488]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [15, 90, 35, 110]
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 5]
Position [100, 82, 135, 118]
Outputs "[2 2 2 2 8]"
}
Block {
BlockType Goto
Name "Goto1"
Position [220, 30, 275, 60]
GotoTag "tp103001"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [220, 65, 275, 95]
GotoTag "tp103004"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [220, 100, 275, 130]
GotoTag "tp103007"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [220, 135, 275, 165]
GotoTag "tp103013"
TagVisibility "global"
}
Block {
BlockType Terminator
Name "Goto5"
Position [220, 170, 275, 200]
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [55, 72, 75, 128]
Elements "[1 9 2 10 3 11 4 12 5 13 6 14 7 1"
"5 8 16]"
InputPortWidth "16"
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Goto2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Goto3"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Goto4"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "Goto5"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "model"
Ports [1, 4]
Position [250, 22, 315, 68]
BackgroundColor "lightBlue"
DropShadow on
SourceBlock "powerlib_models/Continuous/diode (l"
"ogical)"
SourceType ""
Nsw "8"
Vf "[0.8 0.8 0.8 0.8 0 0 0 0]"
Rsw "[0.001 0.001 0.001 0.001 0.001 0.00"
"1 0.001 0.001]"
}
Block {
BlockType Outport
Name "Out1"
Position [395, 18, 420, 42]
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out2"
Position [395, 88, 420, 112]
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out3"
Position [395, 208, 420, 232]
Port "3"
InitialOutput "0"
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "model"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 2
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 4
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 3
DstBlock "gotos"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "electrical sources"
Ports [0, 1]
Position [50, 102, 75, 128]
TreatAsAtomicUnit off
System {
Name "electrical sources"
Location [49, 463, 473, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Mux
Name "Mux"
Ports [1, 1]
Position [165, 119, 205, 151]
Inputs "[-1]"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [230, 125, 265, 145]
InputPortWidth "2"
}
Block {
BlockType From
Name "from1"
Position [20, 30, 75, 60]
GotoTag "tp103018"
}
Block {
BlockType Outport
Name "Out"
Position [300, 123, 325, 147]
InitialOutput "0"
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "from1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "transit"
Ports [2, 1]
Position [540, 110, 575, 165]
TreatAsAtomicUnit off
System {
Name "transit"
Location [475, 381, 915, 821]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [30, 150, 50, 170]
}
Block {
BlockType Inport
Name "signals"
Position [35, 320, 55, 340]
Port "2"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [145, 62, 180, 258]
Outputs "[1 1]"
}
Block {
BlockType Goto
Name "Goto2"
Position [330, 115, 360, 145]
GotoTag "tp102946"
TagVisibility "global"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [75, 145, 105, 175]
Elements "[13 14]"
InputPortWidth "14"
}
Block {
BlockType Terminator
Name "Terminator"
Position [55, 365, 75, 385]
Orientation "down"
}
Block {
BlockType Outport
Name "Out"
Position [150, 15, 170, 35]
Orientation "left"
InitialOutput "0"
}
Line {
SrcBlock "signals"
SrcPort 1
Points [5, 0]
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Goto2"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [595, 128, 620, 152]
InitialOutput "0"
}
Line {
SrcBlock "SelectorVf"
SrcPort 1
Points [0, 0]
Branch {
Points [-15, 0]
DstBlock "T"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "MuxVf"
SrcPort 1
DstBlock "SelectorVf"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, -5]
DstBlock "MasterMux"
DstPort 1
}
Line {
SrcBlock "MuxSwitch"
SrcPort 1
Points [15, 0; 0, -35]
DstBlock "MasterMux"
DstPort 2
}
Line {
SrcBlock "MasterMux"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Line {
SrcBlock "State-Space"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "transit"
DstPort 1
}
Branch {
DstBlock "diode (logical)"
DstPort 1
}
Branch {
DstBlock "IGBT"
DstPort 1
}
Branch {
DstBlock "transit"
DstPort 2
}
}
Line {
SrcBlock "transit"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "diode (logical)"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "diode (logical)"
SrcPort 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -