📄 m5_4_4.mdl
字号:
System {
Name "Voltage\n Measurement1"
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 From
Name "source"
Position [25, 124, 95, 146]
GotoTag "tp322565"
}
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
InitialOutput "0"
}
Line {
LineType "Connection"
SrcBlock "-"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "+"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort LConn1
}
Line {
SrcBlock "Simulation method"
SrcPort 1
DstBlock "Phasor Measurements"
DstPort enable
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Phasor Measurements"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "v"
DstPort 1
}
Line {
SrcBlock "source"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Phasor Measurements"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Mux"
DstPort 2
}
}
}
}
Line {
LineType "Connection"
SrcBlock "Diode"
SrcPort RConn1
DstBlock "IGBT"
DstPort LConn1
}
Line {
LineType "Connection"
Points [410, 85; 110, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "IGBT2"
SrcPort RConn1
Points [0, 0; 0, -30]
}
Branch {
ConnectType "SRC_DEST"
Points [360, 120; 0, -35; 50, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "IGBT"
SrcPort RConn1
Points [-15, 0; 35, 0]
}
Branch {
ConnectType "SRC_SRC"
Points [0, 175; -110, 0; 0, -30]
DstBlock "IGBT1"
DstPort LConn1
}
}
Branch {
ConnectType "DEST_SRC"
Points [55, 0; 0, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Series RLC \nBranch"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [60, 0; 0, 95]
DstBlock "Voltage\n Measurement"
DstPort LConn1
}
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Diode2"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "IGBT3"
SrcPort LConn1
DstBlock "Diode2"
DstPort RConn1
}
Line {
LineType "Connection"
Points [410, 325; -335, 0]
Branch {
ConnectType "SRC_DEST"
Points [520, 325; -110, 0]
Branch {
ConnectType "SRC_DEST"
Points [575, 325; -55, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Series RLC \nBranch"
SrcPort RConn1
Points [0, 85]
}
Branch {
ConnectType "SRC_SRC"
Points [60, 0; 0, -135]
DstBlock "Voltage\n Measurement"
DstPort LConn2
}
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "IGBT3"
SrcPort RConn1
Points [0, 40]
}
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Diode3"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "AC Voltage \nSource"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, 30]
DstBlock "Voltage\n Measurement1"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "IGBT2"
SrcPort LConn1
DstBlock "Diode3"
DstPort RConn1
}
Line {
LineType "Connection"
Points [125, 120; 20, 0; 0, 145]
Branch {
ConnectType "SRC_SRC"
DstBlock "Diode"
DstPort LConn1
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "AC Voltage \nSource"
SrcPort RConn1
Points [0, -75; 50, 0]
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Diode1"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, 80]
DstBlock "Voltage\n Measurement1"
DstPort LConn1
}
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [10, 0; 0, 150]
Branch {
Points [0, 45]
DstBlock "IGBT1"
DstPort 1
}
Branch {
Points [145, 0]
DstBlock "IGBT2"
DstPort 1
}
}
Line {
LineType "Connection"
SrcBlock "IGBT1"
SrcPort RConn1
Points [0, 45; -110, 0]
DstBlock "Diode1"
DstPort LConn1
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [135, 0; 0, 30]
Branch {
DstBlock "IGBT3"
DstPort 1
}
Branch {
Points [-240, 0]
DstBlock "IGBT"
DstPort 1
}
}
Line {
SrcBlock "IGBT"
SrcPort 1
Points [215, 0; 0, -50]
DstBlock "Demux"
DstPort 1
}
Line {
Name "流过IGBT的电流"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 1
Points [85, 0; 0, 85]
DstBlock "Scope"
DstPort 1
}
Line {
Name "IGBT端电压"
Labels [1, 1]
SrcBlock "Demux"
SrcPort 2
Points [65, 0; 0, 95]
DstBlock "Scope"
DstPort 2
}
Line {
Name "负载电压"
Labels [0, 0]
SrcBlock "Voltage\n Measurement"
SrcPort 1
DstBlock "Scope"
DstPort 3
}
Line {
Name "电源电压"
Labels [2, 0]
SrcBlock "Voltage\n Measurement1"
SrcPort 1
Points [480, 0; 0, -135]
DstBlock "Scope"
DstPort 4
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -