📄 inverter.mdl
字号:
Position [210, 83, 260, 107]
Expr "u[1]*u[2]"
}
Block {
BlockType Fcn
Name "fn2"
Position [215, 223, 265, 247]
Expr "u[1]*u[2]"
}
Block {
BlockType Outport
Name "van1"
Position [800, 197, 830, 213]
}
Block {
BlockType Outport
Name "Vbn3"
Position [800, 252, 830, 268]
Port "2"
}
Block {
BlockType Outport
Name "Vcn3"
Position [805, 317, 835, 333]
Port "3"
}
Line {
SrcBlock "F3"
SrcPort 1
DstBlock "Vcn3"
DstPort 1
}
Line {
SrcBlock "F2"
SrcPort 1
Points [30, 0; 0, 5]
DstBlock "Vbn3"
DstPort 1
}
Line {
SrcBlock "F1"
SrcPort 1
Points [30, 0; 0, 5]
DstBlock "van1"
DstPort 1
}
Line {
SrcBlock "fn"
SrcPort 1
Points [0, 50; 180, 0]
DstBlock "Mux14"
DstPort 3
}
Line {
SrcBlock "Fn1"
SrcPort 1
Points [15, 0; 0, 60; 160, 0]
DstBlock "Mux14"
DstPort 4
}
Line {
SrcBlock "fn2"
SrcPort 1
Points [25, 0; 0, 55; 150, 0]
DstBlock "Mux14"
DstPort 5
}
Line {
Labels [2, 0]
SrcBlock "F11b4"
SrcPort 1
Points [35, 0; 0, 50]
DstBlock "Mux14"
DstPort 6
}
Line {
SrcBlock "Fn4"
SrcPort 1
Points [35, 0; 0, 40]
DstBlock "Mux14"
DstPort 7
}
Line {
SrcBlock "Fn5"
SrcPort 1
Points [40, 0; 0, 30]
DstBlock "Mux14"
DstPort 8
}
Line {
SrcBlock "Mux14"
SrcPort 1
Points [0, 0; 0, -20]
Branch {
Points [0, 75; 25, 0]
DstBlock "F3"
DstPort 1
}
Branch {
Points [0, -35]
Branch {
Points [0, 50; 25, 0]
DstBlock "F2"
DstPort 1
}
Branch {
Points [0, -10]
DstBlock "F1"
DstPort 1
}
}
}
Line {
SrcBlock "Mux13"
SrcPort 1
DstBlock "Fn5"
DstPort 1
}
Line {
SrcBlock "Mux12"
SrcPort 1
DstBlock "Fn4"
DstPort 1
}
Line {
SrcBlock "Mux11"
SrcPort 1
DstBlock "F11b4"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "fn2"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Fn1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "fn"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 12
DstBlock "Mux13"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 11
DstBlock "Mux13"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 10
DstBlock "Mux12"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 9
DstBlock "Mux12"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 8
DstBlock "Mux11"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 7
DstBlock "Mux11"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 6
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 5
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 4
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 3
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "s1"
SrcPort 1
Points [30, 0]
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "alimentation \ncontinue"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Mux14"
DstPort 1
}
Line {
SrcBlock "alimentation \ncontinue2"
SrcPort 1
Points [5, 0; 0, 20]
DstBlock "Mux14"
DstPort 2
}
Annotation {
Name "port"
Position [29, 311]
}
Annotation {
Name "fn3"
Position [242, 329]
}
}
}
Block {
BlockType SubSystem
Name "R閒閞ence4"
Ports [0, 3]
Position [85, 50, 150, 130]
DropShadow on
NamePlacement "alternate"
ShowName off
FontAngle "italic"
ShowPortLabels off
TreatAsAtomicUnit off
MaskDisplay "disp('source ')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "R閒閞ence4"
Location [-2, 82, 634, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Sin
Name "Sine Wave6"
Position [165, 110, 195, 140]
ShowName off
SineType "Time based"
Amplitude "0.8"
Frequency "100*pi"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave7"
Position [165, 175, 195, 205]
ShowName off
SineType "Time based"
Amplitude "0.8"
Frequency "100*pi"
Phase "2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave8"
Position [170, 245, 200, 275]
ShowName off
SineType "Time based"
Amplitude "0.8"
Frequency "100*pi"
Phase "-2*pi/3"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [295, 118, 325, 132]
BackgroundColor "red"
ShowName off
}
Block {
BlockType Outport
Name "Out2"
Position [295, 183, 325, 197]
BackgroundColor "red"
ShowName off
Port "2"
}
Block {
BlockType Outport
Name "Out3"
Position [295, 253, 325, 267]
BackgroundColor "red"
ShowName off
Port "3"
}
Line {
SrcBlock "Sine Wave8"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "Sine Wave7"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Sine Wave6"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [700, 160, 720, 180]
NamePlacement "alternate"
ShowName off
Inputs "+-"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [575, 38, 605, 62]
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "V"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "StructureWithTime"
}
Block {
BlockType ToWorkspace
Name "To Workspace5"
Position [455, 213, 485, 237]
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "t"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "StructureWithTime"
}
Block {
BlockType ToWorkspace
Name "To Workspace8"
Position [755, 128, 785, 152]
DropShadow on
ShowName off
FontName "Times New Roman"
FontSize 12
VariableName "Vab"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "VA"
Ports [1]
Position [580, 71, 600, 89]
DropShadow on
FontName "Times New Roman"
FontSize 12
Location [6, 143, 806, 656]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "-900"
YMax "900"
SaveToWorkspace on
SaveName "wm"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Vab"
Ports [1]
Position [760, 166, 780, 184]
DropShadow on
FontName "Times New Roman"
FontSize 12
Location [5, 53, 809, 607]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-250"
YMax "250"
SaveToWorkspace on
SaveName "va"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [470, 250, 566, 291]
DropShadow on
ShowName off
Priority "2"
FontSize 11
SourceBlock "powerlib2/powergui"
SourceType "PSB option menu block"
Frange "[0:2:500]"
Ylog off
Xlog on
save off
variable "ZData"
structure "V"
ZoomFFT on
StartTime "0.0"
cycles "4"
DisplayStyle "1"
fundamental "50"
FreqAxis off
MaxFrequency "8000"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
methode off
frequency "60"
echomessages off
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "To Workspace5"
DstPort 1
}
Line {
SrcBlock "Commande\nMLI1"
SrcPort 1
Points [75, 0]
DstBlock "Onduleur\ntriphase1"
DstPort 1
}
Line {
SrcBlock "R閒閞ence4"
SrcPort 1
Points [45, 0; 0, 10]
DstBlock "Commande\nMLI1"
DstPort 1
}
Line {
SrcBlock "R閒閞ence4"
SrcPort 2
Points [45, 0; 0, 10]
DstBlock "Commande\nMLI1"
DstPort 2
}
Line {
SrcBlock "R閒閞ence4"
SrcPort 3
Points [45, 0; 0, 5; 55, 0]
DstBlock "Commande\nMLI1"
DstPort 3
}
Line {
SrcBlock "Onduleur\ntriphase1"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -10]
DstBlock "To Workspace1"
DstPort 1
}
Branch {
Points [5, 0]
Branch {
Points [25, 0]
DstBlock "VA"
DstPort 1
}
Branch {
Points [0, 70; 100, 0; 0, 35]
DstBlock "Sum4"
DstPort 1
}
}
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [0, 5; 15, 0]
Branch {
DstBlock "Vab"
DstPort 1
}
Branch {
DstBlock "To Workspace8"
DstPort 1
}
}
Line {
Labels [0, 0]
SrcBlock "Onduleur\ntriphase1"
SrcPort 2
Points [115, 0; 0, 40; 5, 0; 0, 45]
DstBlock "Sum4"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -