📄 power_3phpwm3level1.mdl
字号:
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
Port {
PortNumber 1
Name "Van_inv1"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Vdc=200 V "
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [75, 185, 95, 220]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels on
Amplitude "200"
Measurements "None"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [13, 484, 125, 534]
DropShadow on
ShowName off
Priority "2"
FontSize 12
SourceBlock "powerlib/powergui"
SourceType "PSB option menu block"
ShowPortLabels on
SimulationMode "Discrete"
SampleTime "Ts"
echomessages on
x0status "blocks"
Frange "[0:2:500]"
Ylog off
Xlog off
ShowGrid off
save off
variable "ZData"
structure "psb3phPWM3level_str"
ZoomFFT on
StartTime "0.1-2/60"
cycles "2"
DisplayStyle "off"
fundamental "60"
FreqAxis on
MaxFrequency "5000"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
frequency "60"
methode off
}
Line {
SrcBlock "Discrete\nVirtual PLL"
SrcPort 1
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Discrete\nVirtual PLL"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Discrete\n3-phase \nProgrammable Source"
SrcPort 1
DstBlock "Discrete 3-phase\nPWM Generator"
DstPort 1
}
Line {
SrcBlock "Discrete\nVirtual PLL"
SrcPort 3
DstBlock "Discrete 3-phase\nPWM Generator"
DstPort 2
}
Line {
LineType "Connection"
SrcBlock "Three-phase \nLinear Transformer\n12-terminals"
SrcPort RConn1
Points [-10, 0; 60, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, -40]
DstBlock "Vab_load"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [80, 0]
DstBlock "1 kW\n0.5 kvar\n@ 208V "
DstPort LConn3
}
}
Line {
LineType "Connection"
SrcBlock "Three-Level\nBridge1"
SrcPort LConn1
Points [0, -5; 95, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, -100]
DstBlock "Van_inv1"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [40, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, -70]
DstBlock "Vaa_inv"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Three-phase \nLinear Transformer\n12-termin"
"als"
DstPort LConn1
}
}
}
Line {
LineType "Connection"
SrcBlock "Three-Level\nBridge1"
SrcPort LConn2
DstBlock "Three-phase \nLinear Transformer\n12-terminals"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "Three-Level\nBridge1"
SrcPort LConn3
Points [0, 5]
DstBlock "Three-phase \nLinear Transformer\n12-terminals"
DstPort LConn5
}
Line {
LineType "Connection"
SrcBlock "Three-Level\nBridge2"
SrcPort LConn1
Points [95, 0; 0, -140; 50, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, -75]
DstBlock "Vaa_inv"
DstPort LConn2
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Three-phase \nLinear Transformer\n12-terminal"
"s"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "Three-Level\nBridge2"
SrcPort LConn2
Points [105, 0; 0, -135]
DstBlock "Three-phase \nLinear Transformer\n12-terminals"
DstPort LConn4
}
Line {
LineType "Connection"
SrcBlock "Three-Level\nBridge2"
SrcPort LConn3
Points [115, 0; 0, -130]
DstBlock "Three-phase \nLinear Transformer\n12-terminals"
DstPort LConn6
}
Line {
LineType "Connection"
SrcBlock "Three-phase \nLinear Transformer\n12-terminals"
SrcPort RConn3
Points [-10, 0; 70, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, -60]
DstBlock "Vab_load"
DstPort LConn2
}
Branch {
ConnectType "DEST_SRC"
Points [55, 0]
DstBlock "1 kW\n0.5 kvar\n@ 208V "
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "Three-phase \nLinear Transformer\n12-terminals"
SrcPort RConn5
Points [100, 0]
DstBlock "1 kW\n0.5 kvar\n@ 208V "
DstPort LConn1
}
Line {
LineType "Connection"
Points [620, 205; 0, 30]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Three-phase \nLinear Transformer\n12-terminal"
"s"
SrcPort RConn4
Points [30, 0]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Three-phase \nLinear Transformer\n12-terminal"
"s"
SrcPort RConn2
Points [30, 0; 0, 30]
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Ground1"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Three-phase \nLinear Transformer\n12-terminal"
"s"
SrcPort RConn6
Points [30, 0]
}
}
Line {
Name "Vab_load"
Labels [-1, 1]
SrcBlock "Vab_load"
SrcPort 1
DstBlock "Scope"
DstPort 3
}
Line {
Name "Van_inv1"
Labels [-1, 1]
SrcBlock "Van_inv1"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
Name "Vaa_inverter"
Labels [-1, 1]
SrcBlock "Vaa_inv"
SrcPort 1
DstBlock "Scope"
DstPort 2
}
Line {
LineType "Connection"
SrcBlock "Three-Level\nBridge1"
SrcPort RConn1
Points [-15, 0]
Branch {
ConnectType "DEST_SRC"
Points [-110, 0]
DstBlock "Vdc=200 V "
DstPort RConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Three-Level\nBridge2"
SrcPort RConn1
Points [-15, 0; 0, -150]
}
}
Line {
LineType "Connection"
SrcBlock " Vdc=200 V"
SrcPort LConn1
Points [0, 20; 120, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Three-Level\nBridge2"
DstPort RConn3
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Three-Level\nBridge1"
SrcPort RConn3
Points [-5, 0; 0, 150]
}
}
Line {
SrcBlock "Discrete 3-phase\nPWM Generator"
SrcPort 1
Points [-125, 0; 0, -260]
DstBlock "Three-Level\nBridge1"
DstPort 1
}
Line {
SrcBlock "Discrete 3-phase\nPWM Generator"
SrcPort 2
Points [-140, 0; 0, -150]
DstBlock "Three-Level\nBridge2"
DstPort 1
}
Line {
LineType "Connection"
Points [185, 250; 0, -70; 25, 0]
DstBlock "Three-Level\nBridge1"
DstPort RConn2
Branch {
ConnectType "SRC_DEST"
SrcBlock "Three-Level\nBridge2"
SrcPort RConn2
Points [-25, 0; 0, -80]
}
Branch {
ConnectType "SRC_SRC"
Points [-100, 0]
Branch {
ConnectType "DEST_DEST"
SrcBlock " Vdc=200 V"
SrcPort RConn1
Points [0, 0; 0, -25]
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Vdc=200 V "
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Neutral"
DstPort LConn1
}
}
}
Line {
LineType "Connection"
SrcBlock "Neutral1"
SrcPort LConn1
DstBlock "Van_inv1"
DstPort LConn2
}
Annotation {
Name "Vaa fundamental inverter :\n= 2*m*Vdc V peak\n="
" 2*0.85*200 \n= 340 V"
Position [766, 198]
HorizontalAlignment "left"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
Annotation {
Name "Three-Phase Three-Level PWM Voltage Source Inve"
"rter"
Position [217, 19]
UseDisplayTextAsClickCallback off
FontSize 16
FontWeight "bold"
}
Annotation {
Name "See also three-phase two-level converters in th"
"e power_3phPWM demo"
Position [176, 35]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Use the Powergui FFT tool to display\nthe spect"
"rum of Scope2 signals stored\nin 'psb3phPWM3level_str' structure."
Position [150, 511]
HorizontalAlignment "left"
UseDisplayTextAsClickCallback off
}
Annotation {
Name "A+"
Position [377, 152]
UseDisplayTextAsClickCallback off
FontSize 12
FontWeight "bold"
}
Annotation {
Name "A-"
Position [367, 307]
UseDisplayTextAsClickCallback off
FontSize 12
FontWeight "bold"
}
Annotation {
Name "The 'Model initialization function' defined in"
" the\nModel Properties automatically sets the sample time Ts\nto 1/60/3240 = "
"5.14e-6 s"
Position [434, 514]
HorizontalAlignment "left"
UseDisplayTextAsClickCallback off
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -