?? double_pwm_inverter.mdl
字號(hào):
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType From
Name "source"
Position [25, 29, 100, 61]
NamePlacement "alternate"
GotoTag "tp010259"
}
Block {
BlockType Outport
Name "Out1"
Position [125, 38, 155, 52]
}
Line {
SrcBlock "source"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType From
Name "source"
Position [15, 199, 90, 231]
GotoTag "tp010254"
}
Block {
BlockType Outport
Name "A "
Position [230, 18, 260, 32]
}
Block {
BlockType Outport
Name "B "
Position [230, 63, 260, 77]
Port "2"
}
Block {
BlockType Outport
Name "C "
Position [225, 118, 255, 132]
Port "3"
}
Block {
BlockType Outport
Name "Vabc"
Position [545, 258, 575, 272]
NamePlacement "alternate"
Port "4"
}
Block {
BlockType Outport
Name "Iabc"
Position [550, 313, 580, 327]
Port "5"
}
Line {
SrcBlock "A"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "B"
SrcPort 1
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "C"
SrcPort 1
DstBlock "Terminator2"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "A "
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "B "
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [15, 0; 0, -5]
DstBlock "C "
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Kv"
SrcPort 1
DstBlock "Vabc"
DstPort 1
}
Line {
SrcBlock "Ki"
SrcPort 1
DstBlock "Iabc"
DstPort 1
}
Line {
SrcBlock "Selector V"
SrcPort 1
DstBlock "Kv"
DstPort 1
}
Line {
SrcBlock "Selector I"
SrcPort 1
DstBlock "Ki"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, 25]
DstBlock "Selector I"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Selector V"
DstPort 1
}
}
Line {
SrcBlock "Phasor Measurements"
SrcPort 1
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Simulation method"
SrcPort 1
DstBlock "Phasor Measurements"
DstPort enable
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 30]
DstBlock "Mux3"
DstPort 2
}
Branch {
DstBlock "Phasor Measurements"
DstPort 1
}
}
Line {
SrcBlock "source"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Vb"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Vc"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Ia"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Ib"
SrcPort 1
DstBlock "Mux1"
DstPort 5
}
Line {
SrcBlock "Ic"
SrcPort 1
DstBlock "Mux1"
DstPort 6
}
}
}
Block {
BlockType SubSystem
Name "Measure2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [3, 5]
Position [725, 194, 765, 266]
AncestorBlock "powerlib2/Measurements/Three-Phase\nV-I Measure"
"ment"
CopyFcn " powericon('psbloadfunction',gcbh,'3-Phase VI "
"Measurement','VerifyPhasor'); "
LoadFcn "powericon('psbloadfunction',gcbh,'3-Phase VI Me"
"asurement','');"
InitFcn "powericon('checksum',bdroot)"
CloseFcn "%3phaseVImeasurement"
TreatAsAtomicUnit off
MaskType "3-Phase VI Measurement"
MaskDescription "This block is used to measure three-phase volta"
"ges and currents in a circuit. When connected in series with a three-phase el"
"ement, it return the three phase-to-ground voltages and line currents.\n\nThe"
" block can output the voltages and currents in per unit values or in volts an"
"d amperes. Check the appropriate boxes if you want to output the voltages and"
" currents in pu"
MaskHelp "web(psbhelp)"
MaskPromptString "Voltage measurement|Use a label |Signal label "
"(use a From block to collect signal)|Voltage in pu|Base voltage (Vrms phase-"
"phase) :|Current measurement|Use a label|Signal label (use a From block to c"
"ollect signal)|Currents in pu|Base power ( VA 3 phase)|Output signal :|Phasor"
" simulation|Equivalent circuit|PSBOutputType"
MaskStyleString "popup(no|phase-to-ground|phase-to-phase),checkb"
"ox,edit,checkbox,edit,popup(no|yes),checkbox,edit,checkbox,edit,popup(Complex"
"|Real-Imag|Magnitude-Angle|Magnitude),checkbox,edit,edit"
MaskTunableValueString "off,off,off,on,on,off,off,off,on,on,on,on,on,on"
MaskCallbackString "powericon('psbcallbacks',gcb,'Three-phase measu"
"rements',2);|powericon('psbcallbacks',gcb,'Three-phase measurements',2);||pow"
"ericon('psbcallbacks',gcb,'Three-phase measurements',2);||powericon('psbcallb"
"acks',gcb,'Three-phase measurements',2);|powericon('psbcallbacks',gcb,'Three-"
"phase measurements',2);||powericon('psbcallbacks',gcb,'Three-phase measuremen"
"ts',4);|||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,off,on,off,on"
MaskVisibilityString "on,on,off,on,on,on,on,off,on,off,on,off,off,off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,,,,,"
MaskVariables "VChoice=@1;ualv=@2;labelV=&3;Vpu=@4;Vbase=@5;IC"
"hoice=@6;ualc=@7;labelC=&8;Ppu=@9;Pbase=@10;OutputType=@11;PhasorSimulation=@"
"12;PSBequivalent=@13;PSBOutputType=&14;"
MaskInitialization "powericon('psbcallbacks',gcb,'Three-phase measu"
"rements',4);\nif Vpu\n xKv=1/(Vbase/sqrt(3)*sqrt(2));\nelse\n xKv=1;\n"
"end\nif Ppu\n xKi=1/(Pbase/Vbase/sqrt(3)*sqrt(2));\nelse\n xKi=1;\nend"
"\nswitch OutputType\ncase 1\n OutputSelection = [1:6];\n PhasorModeV ="
" [1:3];\n NormalModeV = [7:9];\n PhasorModeI = [4:6];\n NormalModeI "
"= [10:12];\n Kv = xKv;\n Ki = xKi;\ncase 2\n OutputSelection = [7,13"
",8,14,9,15,10,16,11,17,12,18];\n PhasorModeV = [1:6];\n NormalModeV = ["
"13:15];\n PhasorModeI = [7:12];\n NormalModeI = [16:18];\n Kv = xKv;"
"\n Ki = xKi;\ncase 3\n OutputSelection = [13,19,14,20,15,21,16,22,17,23"
",18,24];\n PhasorModeV = [1:6];\n NormalModeV = [13:15];\n PhasorMod"
"eI = [7:12];\n NormalModeI = [16:18];\n Kv = [xKv 1 xKv 1 xKv 1];\n "
"Ki = [xKi 1 xKi 1 xKi 1];\ncase 4\n OutputSelection = [19:24];\n Phaso"
"rModeV = [1:3];\n NormalModeV = [7:9];\n PhasorModeI = [4:6];\n Norm"
"alModeI = [10:12];\n Kv = xKv;\n Ki = xKi;\nend\nif PhasorSimulation\n "
" SelectionModeV = PhasorModeV;\n SelectionModeI = PhasorModeI;\nelse\n "
" SelectionModeV = NormalModeV;\n SelectionModeI = NormalModeI;\n Kv = "
"xKv;\n Ki = xKi;\nend"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "phase-to-ground|off|V1|on|380|yes|off|I1|off|1e"
"3|Magnitude|off|0|11100"
Port {
PortNumber 5
Name "Iabc"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "Measure2"
Location [357, 382, 1063, 777]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "A"
Position [15, 23, 45, 37]
}
Block {
BlockType Inport
Name "B"
Position [15, 83, 45, 97]
Port "2"
}
Block {
BlockType Inport
Name "C"
Position [15, 138, 45, 152]
Port "3"
}
Block {
BlockType Constant
Name "Constant"
Position [155, 15, 175, 35]
Value "NaN"
}
Block {
BlockType Constant
Name "Constant1"
Position [160, 60, 180, 80]
Value "NaN"
}
Block {
BlockType Constant
Name "Constant2"
Position [150, 120, 170, 140]
NamePlacement "alternate"
Value "NaN"
}
Block {
BlockType SubSystem
Name "Ia"
Ports [0, 1]
Position [55, 279, 90, 301]
AncestorBlock "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ia"
TreatAsAtomicUnit off
System {
Name "Ia"
Location [153, 397, 333, 481]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType From
Name "source"
Position [25, 29, 100, 61]
NamePlacement "alternate"
GotoTag "tp010292"
}
Block {
BlockType Outport
Name "Out1"
Position [125, 38, 155, 52]
}
Line {
SrcBlock "source"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Ib"
Ports [0, 1]
Position [15, 304, 50, 326]
AncestorBlock "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ib"
TreatAsAtomicUnit off
System {
Name "Ib"
Location [153, 397, 333, 481]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType From
Name "source"
Position [25, 29, 100, 61]
NamePlacement "alternate"
GotoTag "tp010293"
}
Block {
BlockType Outport
Name "Out1"
Position [125, 38, 155, 52]
}
Line {
SrcBlock "source"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Ic"
Ports [0, 1]
Position [55, 329, 90, 351]
AncestorBlock "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ic"
TreatAsAtomicUnit off
System {
Name "Ic"
Location [153, 397, 333, 481]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType From
Name "source"
Position [25, 29, 100, 61]
NamePlacement "alternate"
GotoTag "tp010295"
}
Block {
BlockType Outport
Name "Out1"
Position [125, 38, 155, 52]
}
Line {
SrcBlock "source"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "Ki"
Position [490, 301, 520, 339]
ShowName off
Gain "Ki"
}
Block {
BlockType Gain
Name "Kv"
Position [490, 243, 525, 287]
ShowName off
Gain "Kv"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1]
Position [145, 208, 150, 347]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [365, 265, 370, 325]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Reference
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -