📄 power_transient_pn.mdl
字号:
}
Block {
BlockType Goto
Name "Goto3"
Position [325, 111, 395, 139]
GotoTag "tp570548"
TagVisibility "global"
}
Line {
SrcBlock "v,i"
SrcPort 1
DstBlock "Demux"
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
}
}
}
Block {
BlockType SubSystem
Name "conversion"
Ports [1, 1]
Position [345, 59, 430, 101]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "conversion"
Location [484, 549, 719, 639]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Yout"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [80, 26, 85, 64]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [135, 26, 155, 64]
ShowName off
}
Block {
BlockType Outport
Name "Complex"
Position [180, 38, 210, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Yout"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Complex"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "conversion "
Ports [1, 1]
Position [110, 38, 185, 72]
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "conversion "
Location [708, 736, 963, 843]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Complex"
Position [25, 53, 55, 67]
IconDisplay "Port number"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [80, 34, 140, 81]
ShowName off
Output "Real and imag"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [170, 30, 175, 85]
NamePlacement "alternate"
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "u"
Position [200, 53, 230, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "u"
DstPort 1
}
Line {
SrcBlock "Complex"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}
Line {
SrcBlock "Sources"
SrcPort 1
DstBlock "conversion "
DstPort 1
}
Line {
SrcBlock "conversion "
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Gates"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Line {
SrcBlock "conversion"
SrcPort 1
DstBlock "Yout"
DstPort 1
}
Line {
SrcBlock "State-Space"
SrcPort 1
DstBlock "conversion"
DstPort 1
}
}
}
Block {
BlockType Ground
Name "Ground"
Position [315, 40, 335, 60]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator"
Position [355, 40, 375, 60]
ShowName off
}
Line {
SrcBlock "Ground"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Annotation {
Name "Graphical user interface for the analysis o"
"f SimPowerSystems circuits. \nPlace the Powergui block in the top-level of y"
"our model and double-click\non it to open the GUI."
Position [14, 29]
HorizontalAlignment "left"
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
}
}
Line {
LineType "Connection"
SrcBlock "RL Load\n75 MW 20 Mvar"
SrcPort RConn1
DstBlock "Ground1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "output Ground3"
SrcPort LConn1
Points [0, -10]
DstBlock "Line voltage"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "output Ground2"
SrcPort LConn1
DstBlock "C2"
DstPort LConn1
}
Line {
LineType "Connection"
Points [340, 75; -35, 0]
Branch {
ConnectType "SRC_SRC"
Points [0, 110]
DstBlock "Line voltage"
DstPort LConn1
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Breaker"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "RL1"
DstPort RConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "C2"
SrcPort RConn1
Points [0, -40]
}
}
Line {
LineType "Connection"
SrcBlock "132.8 kV rms\n60 Hz"
SrcPort RConn1
Points [0, -45]
DstBlock "Rs Ls"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "output Ground1"
SrcPort LConn1
DstBlock "132.8 kV rms\n60 Hz"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Breaker"
SrcPort RConn1
DstBlock "Load current"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Load current"
SrcPort RConn1
Points [25, 0]
DstBlock "RL Load\n75 MW 20 Mvar"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Rs Ls"
SrcPort RConn1
Points [0, 0; 20, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "RL1"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "C1"
SrcPort RConn1
Points [0, -40]
}
}
Line {
LineType "Connection"
SrcBlock "output Ground4"
SrcPort LConn1
DstBlock "C1"
DstPort LConn1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [55, 0; 0, -85; -85, 0]
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
Name "V_line"
Labels [0, 0]
SrcBlock "Line voltage"
SrcPort 1
Points [90, 0]
Branch {
Points [20, 0; 0, 45; 50, 0]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Complex to\nMagnitude-Angle1"
DstPort 1
}
}
Line {
Name "I_load"
Labels [0, 0]
SrcBlock "Load current"
SrcPort 1
Points [0, -10; -20, 0]
Branch {
Points [-35, 0; 0, 80; -15, 0; 0, 120]
DstBlock "Math\nFunction"
DstPort 1
}
Branch {
Points [0, -10]
DstBlock "Complex to\nMagnitude-Angle"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [0, 5]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [0, -55]
DstBlock "Scope"
DstPort 3
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [5, 0; 0, -55]
DstBlock "Scope"
DstPort 4
}
Line {
SrcBlock "Complex to\nMagnitude-Angle1"
SrcPort 1
Points [40, 0; 0, -65]
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Complex to\nMagnitude-Angle"
SrcPort 1
Points [25, 0; 0, -10]
DstBlock "Scope"
DstPort 1
}
Annotation {
Name "Transient analysis of a linear circuit and pow"
"er process"
Position [297, 29]
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontSize 14
FontWeight "bold"
}
Annotation {
Name "150 km\ntransmission line"
Position [229, 123]
UseDisplayTextAsClickCallback off
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -