📄 m5_5_15.mdl
字号:
}
System {
Name "Ud"
Location [206, 474, 665, 687]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [275, 121, 280, 179]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Phasor Measurements"
Ports [1, 1, 1]
Position [145, 123, 250, 147]
BackgroundColor "green"
TreatAsAtomicUnit on
System {
Name "Phasor Measurements"
Location [255, 525, 861, 796]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "measure"
Position [70, 28, 100, 42]
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [20, 15, 40, 35]
}
Block {
BlockType Gain
Name "180/pi"
Position [225, 105, 245, 125]
Gain "180/pi"
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle"
Ports [1, 2]
Position [140, 85, 195, 125]
ShowName off
Output "Magnitude and angle"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [140, 45, 195, 85]
ShowName off
Output "Real and imag"
}
Block {
BlockType Mux
Name "Mux2"
Ports [5, 1]
Position [275, 23, 280, 127]
ShowName off
Inputs "5"
DisplayOption "bar"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [315, 51, 350, 99]
Elements "OutputSelection"
InputPortWidth "5"
}
Block {
BlockType Outport
Name "options"
Position [380, 68, 410, 82]
InitialOutput "0"
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "measure"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 30]
Branch {
Points [0, 40]
DstBlock "Complex to\nMagnitude-Angle"
DstPort 1
}
Branch {
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
}
Branch {
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "Complex to\nMagnitude-Angle"
SrcPort 1
DstBlock "Mux2"
DstPort 4
}
Line {
SrcBlock "Complex to\nMagnitude-Angle"
SrcPort 2
DstBlock "180/pi"
DstPort 1
}
Line {
SrcBlock "180/pi"
SrcPort 1
DstBlock "Mux2"
DstPort 5
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "options"
DstPort 1
}
}
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [305, 128, 370, 172]
Elements "SelectionMode"
InputPortWidth "length(OutputSelection)+1"
}
Block {
BlockType Constant
Name "Simulation method"
Position [140, 85, 250, 105]
Orientation "down"
BackgroundColor "magenta"
NamePlacement "alternate"
ShowName off
Value "PhasorSimulation"
}
Block {
BlockType PMComponent
Name "VoltageMeasurement"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [80, 21, 145, 49]
PhysicalDomain "powersysdomain"
PortType "p1"
LConnTagsString "+"
RConnTagsString "-"
MaskType "InnerPowersysBlock"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType SubSystem
Name "source"
Ports [0, 1]
Position [25, 124, 95, 146]
TreatAsAtomicUnit off
MaskInitialization "pss=powericon('loadsavedata','e0b','load');"
"if isempty(pss),A=0;B=0;C=0;D=0;x0=0;Rswitch=0;TypeSwitch=0;Ts=0;YSwitchCurre"
"nt=-1;else,A=pss.A;B=pss.B;C=pss.C;D=pss.D;x0=pss.x0;Rswitch=pss.Rswitch;Type"
"Switch=pss.TypeSwitch;Ts=0;YSwitchCurrent=pss.YSwitchCurrent;end"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "source"
Location [442, 172, 1084, 578]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "IGBT"
Ports [1, 1]
Position [335, 279, 390, 311]
Orientation "left"
TreatAsAtomicUnit off
System {
Name "IGBT"
Location [35, 204, 549, 459]
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 "[9 10 11 12]"
InputPortWidth "14"
}
Block {
BlockType SubSystem
Name "froms"
Ports [0, 1]
Position [75, 74, 115, 106]
TreatAsAtomicUnit off
System {
Name "froms"
Location [5, 415, 371, 622]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType From
Name "From1"
Position [20, 30, 75, 60]
GotoTag "tp102981"
}
Block {
BlockType From
Name "From2"
Position [20, 65, 75, 95]
GotoTag "tp102985"
}
Block {
BlockType From
Name "From3"
Position [20, 100, 75, 130]
GotoTag "tp102990"
}
Block {
BlockType From
Name "From4"
Position [20, 135, 75, 165]
GotoTag "tp102995"
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [235, 97, 270, 133]
}
Block {
BlockType Outport
Name "Out"
Position [315, 105, 335, 125]
InitialOutput "0"
}
Line {
SrcBlock "Mux"
SrcPort 1
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
}
}
}
Block {
BlockType SubSystem
Name "gotos"
Ports [1]
Position [390, 73, 435, 107]
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, 4]
Position [100, 82, 135, 118]
Outputs "[2 2 2 2]"
}
Block {
BlockType Goto
Name "Goto1"
Position [220, 30, 275, 60]
GotoTag "tp102982"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [220, 65, 275, 95]
GotoTag "tp102987"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [220, 100, 275, 130]
GotoTag "tp102992"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [220, 135, 275, 165]
GotoTag "tp102996"
TagVisibility "global"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [55, 72, 75, 128]
Elements "[1 5 2 6 3 7 4 8]"
InputPortWidth "8"
}
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
}
}
}
Block {
BlockType Reference
Name "model"
Ports [2, 2]
Position [250, 22, 315, 68]
BackgroundColor "lightBlue"
DropShadow on
SourceBlock "powerlib_models/Switch Current Sour"
"ce/IGBT"
SourceType "IGBT model"
Ron "[0.001 0.001 0.001 0.001]"
Lon "[1e-006 1e-006 1e-006 1e-006]"
Vf "[1 1 1 1]"
Tf "1e-006"
Tt "2e-006"
IC "[0 0 0 0]"
}
Block {
BlockType Outport
Name "Out"
Position [395, 18, 420, 42]
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 "Out"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 2
DstBlock "gotos"
DstPort 1
}
Line {
SrcBlock "froms"
SrcPort 1
DstBlock "model"
DstPort 2
}
}
}
Block {
BlockType Mux
Name "MasterMux"
Ports [2, 1]
Position [315, 106, 340, 144]
NamePlacement "alternate"
Inputs "[-1 8]"
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -