📄 power_bridges.mdl
字号:
Position [270, 136, 275, 174]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [505, 81, 510, 119]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Selector
Name "Selector\nVd Vq"
Ports [1, 1]
Position [245, 61, 280, 99]
IndexOptions "Index vector (dialog)"
Indices "[1 2]"
OutputSizes "1"
InputPortWidth "3"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [320, 73, 345, 102]
ShowName off
Inputs "-+"
CollapseMode "All dimensions"
}
Block {
BlockType Terminator
Name "Terminator"
Position [100, 200, 110, 210]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [100, 250, 110, 260]
ShowName off
}
Block {
BlockType Constant
Name "V0"
Position [450, 118, 480, 142]
Value "0"
}
Block {
BlockType Constant
Name "Vq_ref (pu)"
Position [200, 174, 230, 196]
Value "0"
}
Block {
BlockType Reference
Name "abc_to_dq0\nTransformation"
Ports [2, 1]
Position [150, 54, 210, 101]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/abc_to_dq0\nTr"
"ansformation"
SourceType "abc to dq0 Transformation"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
}
Block {
BlockType Reference
Name "dq0_to_abc\nTransformation"
Ports [2, 1]
Position [550, 85, 615, 140]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/dq0_to_abc\nTr"
"ansformation"
SourceType "dq0 to abc Transformation"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
}
Block {
BlockType Outport
Name "Vabc_inv"
Position [645, 108, 675, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "m"
Position [650, 33, 680, 47]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "abc_to_dq0\nTransformation"
SrcPort 1
DstBlock "Selector\nVd Vq"
DstPort 1
}
Line {
SrcBlock "Vabc (pu)"
SrcPort 1
DstBlock "abc_to_dq0\nTransformation"
DstPort 1
}
Line {
SrcBlock "Selector\nVd Vq"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Discrete\nPI Controller"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "dq0_to_abc\nTransformation"
DstPort 1
}
Line {
SrcBlock "V0"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "dq0_to_abc\nTransformation"
SrcPort 1
DstBlock "Vabc_inv"
DstPort 1
}
Line {
SrcBlock "Discrete\nVirtual PLL\n50 Hz"
SrcPort 2
Points [30, 0]
Branch {
Points [0, -140]
DstBlock "abc_to_dq0\nTransformation"
DstPort 2
}
Branch {
Points [405, 0; 0, -105]
DstBlock "dq0_to_abc\nTransformation"
DstPort 2
}
}
Line {
SrcBlock "Vd_ref (pu)"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Vq_ref (pu)"
SrcPort 1
Points [20, 0]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [20, 0; 0, -60]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Discrete\nVirtual PLL\n50 Hz"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Discrete\nVirtual PLL\n50 Hz"
SrcPort 3
DstBlock "Terminator1"
DstPort 1
}
Line {
Name "Vd Vq inverter"
Labels [0, 0]
SrcBlock "Discrete\nPI Controller"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -50]
DstBlock "Demux"
DstPort 1
}
Branch {
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Math\nFunction"
DstPort 2
}
Line {
Name "modulation index"
Labels [1, 0]
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "m"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Vref (pu) "
Position [870, 375, 900, 395]
Orientation "left"
NamePlacement "alternate"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [15, 441, 107, 492]
DropShadow on
ShowName off
Priority "2"
SourceBlock "powerlib/powergui"
SourceType "PSB option menu block"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimulationMode "Discrete"
SampleTime "Ts"
echomessages on
RestoreLinks "warning"
x0status "blocks"
Frange "[0:2:500]"
Ylog off
Xlog on
ShowGrid off
save off
variable "ZData"
structure "psbbridges_str"
ZoomFFT on
StartTime "0.1-2/50"
cycles "2"
DisplayStyle "off"
fundamental "50"
FreqAxis off
MaxFrequency "7000"
frequencyindice "60"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
frequency "60"
methode off
HookPort off
Interpol off
}
Line {
SrcBlock "Vref (pu) "
SrcPort 1
DstBlock "Voltage Regulator"
DstPort 2
}
Line {
Name "I Diodes 1 & 3"
Labels [0, 0]
SrcBlock "Selector"
SrcPort 1
DstBlock "Scope2"
DstPort 1
}
Line {
Name "I IGBT 1 & 2"
Labels [1, 0]
SrcBlock "Selector1"
SrcPort 1
Points [55, 0]
DstBlock "Scope2"
DstPort 2
}
Line {
SrcBlock "Discrete\nPWM Generator"
SrcPort 1
DstBlock "Unit Delay1"
DstPort 1
}
Line {
SrcBlock "Voltage Regulator"
SrcPort 1
DstBlock "Discrete\nPWM Generator"
DstPort 1
}
Line {
Name "modulation index"
Labels [3, 1]
SrcBlock "Voltage Regulator"
SrcPort 2
Points [-10, 0; 0, 40; 140, 0; 0, -340]
DstBlock "Scope1"
DstPort 4
}
Line {
LineType "Connection"
SrcBlock "PWM \nIGBT Inverter"
SrcPort RConn2
Points [0, 25; -10, 0]
Branch {
ConnectType "DEST_SRC"
Points [-15, 0]
Branch {
ConnectType "DEST_DEST"
SrcBlock "C"
SrcPort RConn1
Points [0, 0; 0, 15]
}
Branch {
ConnectType "DEST_SRC"
Points [-75, 0]
DstBlock "Rectifier"
DstPort RConn2
}
}
Branch {
ConnectType "DEST_SRC"
Points [0, -150]
DstBlock "Vdc"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "Vdc"
SrcPort LConn1
Points [-55, 0; 0, 70]
Branch {
ConnectType "DEST_SRC"
DstBlock "C"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "L1"
SrcPort RConn1
Points [5, 0]
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "PWM \nIGBT Inverter"
SrcPort RConn1
Points [0, -15; -25, 0]
}
}
Line {
LineType "Connection"
SrcBlock "25kV / 600V\n50 kVA"
SrcPort RConn3
DstBlock "Rectifier"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "25 kV, 60 Hz\n10 MVA"
SrcPort RConn1
DstBlock "25kV / 600V\n50 kVA"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "25 kV, 60 Hz\n10 MVA"
SrcPort RConn2
DstBlock "25kV / 600V\n50 kVA"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "25 kV, 60 Hz\n10 MVA"
SrcPort RConn3
DstBlock "25kV / 600V\n50 kVA"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "25kV / 600V\n50 kVA"
SrcPort RConn2
DstBlock "Rectifier"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "LC Filter"
SrcPort RConn1
DstBlock "Measure"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Measure"
SrcPort LConn2
DstBlock "LC Filter"
DstPort RConn2
}
Line {
LineType "Connection"
SrcBlock "LC Filter"
SrcPort R
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -