📄 simpower_extensions_1.mdl
字号:
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [170, 98, 175, 187]
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType From
Name "from1"
Position [20, 30, 75, 60]
DialogController "Simulink.DDGSource"
GotoTag "tp503673"
}
Block {
BlockType From
Name "from2"
Position [20, 65, 75, 95]
DialogController "Simulink.DDGSource"
GotoTag "tp503610"
}
Block {
BlockType From
Name "from3"
Position [20, 100, 75, 130]
DialogController "Simulink.DDGSource"
GotoTag "tp503614"
}
Block {
BlockType From
Name "from4"
Position [20, 135, 75, 165]
DialogController "Simulink.DDGSource"
GotoTag "tp503668"
}
Block {
BlockType From
Name "from5"
Position [20, 170, 75, 200]
DialogController "Simulink.DDGSource"
GotoTag "tp503670"
}
Block {
BlockType From
Name "from6"
Position [20, 205, 75, 235]
DialogController "Simulink.DDGSource"
GotoTag "tp503665"
}
Block {
BlockType Outport
Name "Out"
Position [200, 128, 225, 152]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, -5]
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "from1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "from2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "from3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "from4"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "from5"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "from6"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
}
}
Block {
BlockType SubSystem
Name "transit"
Ports [1, 1]
Position [495, 104, 555, 126]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "transit"
Location [234, 403, 674, 843]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [30, 150, 50, 170]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 6]
Position [145, 62, 180, 258]
Outputs "[1 1 1 1 1 1]"
}
Block {
BlockType Goto
Name "Goto2"
Position [330, 115, 360, 145]
DialogController "Simulink.DDGSource"
GotoTag "tp503431"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [330, 160, 360, 190]
DialogController "Simulink.DDGSource"
GotoTag "tp503432"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [330, 205, 360, 235]
DialogController "Simulink.DDGSource"
GotoTag "LibraryTag"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto5"
Position [330, 250, 360, 280]
DialogController "Simulink.DDGSource"
GotoTag "tp503671"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [330, 295, 360, 325]
DialogController "Simulink.DDGSource"
GotoTag "tp503667"
TagVisibility "global"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [75, 145, 105, 175]
Elements "[1 2 3 4 5 6]"
InputPortWidth "6"
}
Block {
BlockType Outport
Name "Out"
Position [150, 15, 170, 35]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Out"
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
}
Line {
SrcBlock "Demux"
SrcPort 6
DstBlock "Goto6"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [580, 103, 605, 127]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "State-Space"
SrcPort 1
DstBlock "transit"
DstPort 1
}
Line {
SrcBlock "transit"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Line {
SrcBlock "electrical sources"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType PMIOPort
Name "+"
Position [15, 28, 45, 42]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "-"
Position [190, 24, 215, 46]
Orientation "left"
Port "2"
Side "Left"
}
Block {
BlockType Outport
Name "v"
Position [405, 139, 425, 161]
FontSize 16
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "source"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 30]
DstBlock "Mux"
DstPort 2
}
Branch {
DstBlock "Phasor Measurements"
DstPort 1
}
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "v"
DstPort 1
}
Line {
SrcBlock "Phasor Measurements"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Simulation method"
SrcPort 1
DstBlock "Phasor Measurements"
DstPort enable
}
Line {
LineType "Connection"
SrcBlock "+"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "-"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort RConn1
}
}
}
Block {
BlockType PMIOPort
Name "Test Port"
Tag "PMCPort"
Position [550, 96, 580, 114]
Orientation "left"
Port "1"
Side "Right"
}
Block {
BlockType Outport
Name "rho"
Position [550, 148, 580, 162]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
LineType "Connection"
SrcBlock "R2"
SrcPort RConn1
Points [0, 0; 20, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "R3"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "CVS"
SrcPort RConn1
Points [70, 0; 0, 60]
}
}
Line {
LineType "Connection"
SrcBlock "R4"
SrcPort LConn1
Points [-15, 0; 0, -35]
Branch {
ConnectType "DEST_SRC"
DstBlock "VM"
DstPort LConn2
}
Branch {
ConnectType "DEST_SRC"
Points [0, -55]
DstBlock "R2"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "G2"
SrcPort LConn1
Points [0, -40]
DstBlock "R4"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "R3"
SrcPort RConn1
Points [0, 0; 25, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, 30; -140, 0]
DstBlock "VM"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Test Port"
SrcPort RConn1
Points [0, 0; -50, 0]
}
}
Line {
LineType "Connection"
SrcBlock "G1"
SrcPort LConn1
Points [0, -15]
DstBlock "CVS"
DstPort LConn1
}
Line {
SrcBlock "VM"
SrcPort 1
DstBlock "rho"
DstPort 1
}
Line {
SrcBlock "Drive"
SrcPort 1
DstBlock "CVS"
DstPort 1
}
Annotation {
Name "Directional Bridge"
Position [349, 23]
}
}
}
Block {
BlockType SubSystem
Name "Directional Bridge 2"
Ports [1, 1, 0, 0, 0, 0, 1]
Position [625, 523, 690, 592]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Zo="
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Zo=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "50"
Port {
PortNumber 1
Name "B"
RTWStorageClass "Auto"
DataLoggingNameMode
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -