📄 m3_2_2.mdl
字号:
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [145, 62, 180, 258]
Outputs "[1 1 1]"
}
Block {
BlockType Goto
Name "Goto2"
Position [330, 115, 360, 145]
GotoTag "tp411443"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [330, 160, 360, 190]
GotoTag "tp411481"
TagVisibility "global"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [75, 145, 105, 175]
Elements "[5 6 7]"
InputPortWidth "7"
}
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
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Goto3"
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, -40]
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 "detailed_thyristor (logical)"
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
DstBlock "MuxSwitch"
DstPort 1
}
Line {
SrcBlock "diode (logical)"
SrcPort 3
DstBlock "MuxVf"
DstPort 1
}
Line {
SrcBlock "detailed_thyristor (logical)"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "detailed_thyristor (logical)"
SrcPort 2
DstBlock "MuxSwitch"
DstPort 2
}
Line {
SrcBlock "detailed_thyristor (logical)"
SrcPort 3
DstBlock "MuxVf"
DstPort 2
}
Line {
SrcBlock "electrical sources"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
}
}
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
}
}
}
}
Block {
BlockType Reference
Name "Voltage \nMeasurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [700, 323, 725, 347]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
Port {
PortNumber 1
Name "负载电压"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Line {
LineType "Connection"
SrcBlock "Diode1"
SrcPort LConn1
Points [0, 0; 0, 10]
Branch {
ConnectType "DEST_SRC"
Points [130, 0]
Branch {
ConnectType "DEST_DEST"
SrcBlock "Series RLC\n Branch"
SrcPort RConn1
Points [0, 25; 0, 85]
}
Branch {
ConnectType "DEST_SRC"
Points [45, 0; 0, -110]
DstBlock "Voltage \nMeasurement"
DstPort LConn2
}
}
Branch {
ConnectType "DEST_SRC"
Points [-105, 0]
DstBlock "Diode"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Detailed \nThyristor"
SrcPort RConn1
Points [0, -25; 105, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Detailed \nThyristor1"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, -50]
DstBlock "Current Measurement1"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Series RLC\n Branch"
SrcPort LConn1
Points [0, 0; 0, -10]
Branch {
ConnectType "DEST_SRC"
Points [0, -90]
DstBlock "Current Measurement1"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [45, 0; 0, 125]
DstBlock "Voltage \nMeasurement"
DstPort LConn1
}
}
Line {
SrcBlock "Detailed \nThyristor1"
SrcPort 1
Points [0, -15]
DstBlock "Demux"
DstPort 1
}
Line {
Name "晶闸管端电压"
Labels [1, 0]
SrcBlock "Demux"
SrcPort 2
Points [105, 0; 0, 120]
DstBlock "Scope"
DstPort 6
}
Line {
Name "负载电压"
Labels [0, 0]
SrcBlock "Voltage \nMeasurement"
SrcPort 1
DstBlock "Scope"
DstPort 7
}
Line {
Name "负载电流"
Labels [1, 1]
SrcBlock "Current Measurement1"
SrcPort 1
Points [140, 0; 0, 170]
DstBlock "Scope"
DstPort 4
}
Line {
Name "触发信号1"
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 190; 25, 0]
DstBlock "Detailed \nThyristor"
DstPort 1
}
Branch {
Points [0, -35; 420, 0; 0, 150]
DstBlock "Scope"
DstPort 1
}
}
Line {
LineType "Connection"
SrcBlock "Detailed \nThyristor"
SrcPort LConn1
Points [0, 0; 0, 25]
Branch {
ConnectType "DEST_SRC"
DstBlock "Diode"
DstPort RConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "AC \nVoltage \nSource"
SrcPort RConn1
Points [40, 0; 0, 15; 80, 0]
}
Branch {
ConnectType "DEST_SRC"
Points [150, 0]
DstBlock "Voltage\n Measurement1"
DstPort LConn1
}
}
Line {
LineType "Connection"
Points [485, 325; 0, 5]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Detailed \nThyristor1"
SrcPort LConn1
Points [0, 0; 0, 40]
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Diode1"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [-185, 0; 0, 25]
DstBlock "AC \nVoltage \nSource"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [20, 0; 0, -15]
DstBlock "Voltage\n Measurement1"
DstPort LConn2
}
}
Line {
Name "电源电压"
Labels [3, 1]
SrcBlock "Voltage\n Measurement1"
SrcPort 1
Points [25, 0; 0, 50; 40, 0; 0, -105]
DstBlock "Scope"
DstPort 3
}
Line {
Name "触发信号2"
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 195; 25, 0]
DstBlock "Detailed \nThyristor1"
DstPort 1
}
Branch {
Labels [1, 1]
Points [0, -10; 300, 0; 0, 150]
DstBlock "Scope"
DstPort 2
}
}
Line {
Name "流过晶闸管电流"
Labels [1, 0]
SrcBlock "Demux"
SrcPort 1
Points [120, 0; 0, 120]
DstBlock "Scope"
DstPort 5
}
Annotation {
Name "触发信号1"
Position [511, 57]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -