📄 mli2niveauxmli.mdl
字号:
PSBOutputType "1"
}
Block {
BlockType Reference
Name "output Ground7"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [424, 20, 456, 50]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [1155, 26, 1282, 70]
DropShadow on
ShowName off
SourceBlock "powerlib2/powergui"
SourceType "PSB option menu block"
Frange "[0:2:500]"
Ylog off
Xlog on
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 "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0.00002"
methode off
frequency "60"
echomessages off
}
Block {
BlockType Outport
Name "Ir123"
Position [550, 238, 580, 252]
}
Block {
BlockType Outport
Name "Vdc\n"
Position [1215, 98, 1245, 112]
Port "2"
}
Line {
SrcBlock "output Ground6"
SrcPort 1
DstBlock "Va"
DstPort 1
}
Line {
SrcBlock "output Ground5"
SrcPort 1
DstBlock "Vb"
DstPort 1
}
Line {
SrcBlock "output Ground4"
SrcPort 1
DstBlock "\n\n"
DstPort 1
}
Line {
SrcBlock "Universal Bridge\n3 arms"
SrcPort 1
Points [0, -20; 65, 0]
Branch {
Points [30, 0; 0, 5]
DstBlock "Id"
DstPort 1
}
Branch {
Points [10, 0]
DstBlock "C"
DstPort 1
}
}
Line {
SrcBlock "Id"
SrcPort 2
Points [0, 0; 30, 0]
Branch {
DstBlock "Series RLC Branch10"
DstPort 1
}
Branch {
Points [25, 0]
DstBlock "\n\n\n"
DstPort 1
}
}
Line {
SrcBlock "Series RLC Branch10"
SrcPort 1
DstBlock "Subsystem8"
DstPort enable
}
Line {
Name "Vd"
Labels [2, 0]
SrcBlock "\n\n\n"
SrcPort 1
Points [0, 15; 110, 0]
Branch {
Points [0, 85]
DstBlock "Goto3"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Vdc\n"
DstPort 1
}
}
Line {
Name "iA "
Labels [0, 0]
SrcBlock "Id1"
SrcPort 1
Points [0, -20; 25, 0]
Branch {
Points [0, 0]
Branch {
Points [5, 0; 0, -15; -120, 0]
DstBlock "Goto5"
DstPort 1
}
Branch {
Points [-5, 0; 0, 375; 90, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Total Harmonic\nDistorsion"
DstPort 1
}
}
}
Branch {
Points [30, 0]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Series RLC Branch6"
SrcPort 1
DstBlock "Id1"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Subsystem8"
DstPort 1
}
Line {
SrcBlock "Universal Bridge\n3 arms"
SrcPort 2
Points [20, 0; 0, 100]
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "C"
SrcPort 1
Points [0, 20; 5, 0]
DstBlock "Subsystem1"
DstPort enable
}
Line {
SrcBlock "Id1"
SrcPort 2
Points [45, 0]
Branch {
Points [0, -70]
DstBlock "\n\n\n\n\n1"
DstPort 1
}
Branch {
Points [175, 0]
Branch {
Points [70, 0]
DstBlock "Universal Bridge\n3 arms"
DstPort 1
}
Branch {
Points [0, 160]
DstBlock "\n\n\n\n\n"
DstPort 1
}
}
}
Line {
SrcBlock "Va"
SrcPort 1
Points [0, -225]
DstBlock "Series RLC Branch6"
DstPort 1
}
Line {
SrcBlock "Vb"
SrcPort 1
Points [0, -190]
DstBlock "Series RLC Branch7"
DstPort 1
}
Line {
SrcBlock "\n\n"
SrcPort 1
Points [0, -155]
DstBlock "Series RLC Branch8"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
Line {
SrcBlock "impulsions"
SrcPort 1
DstBlock "Universal Bridge\n3 arms"
DstPort 4
}
Line {
SrcBlock "Subsystem8"
SrcPort 1
Points [10, 0]
DstBlock "\n\n\n"
DstPort 2
}
Line {
SrcBlock "Series RLC Branch7"
SrcPort 1
Points [180, 0]
DstBlock "Id2"
DstPort 1
}
Line {
SrcBlock "Id2"
SrcPort 2
Points [85, 0]
Branch {
Points [95, 0]
Branch {
DstBlock "Universal Bridge\n3 arms"
DstPort 2
}
Branch {
Points [0, 140]
DstBlock "\n\n\n\n\n"
DstPort 2
}
}
Branch {
DstBlock "\n\n\n\n\n2"
DstPort 1
}
}
Line {
SrcBlock "Series RLC Branch8"
SrcPort 1
Points [0, -5]
DstBlock "Id3"
DstPort 1
}
Line {
SrcBlock "Id3"
SrcPort 2
Points [105, 0]
Branch {
DstBlock "Universal Bridge\n3 arms"
DstPort 3
}
Branch {
Points [0, -85]
DstBlock "\n\n\n\n\n3"
DstPort 1
}
}
Line {
SrcBlock "FFT"
SrcPort 2
Points [135, 0; 0, 105]
DstBlock "Shows RMS quantities"
DstPort 1
}
Line {
SrcBlock "FFT"
SrcPort 1
Points [0, -5]
DstBlock "Spectrum (harmonics 0-19)"
DstPort 1
}
Line {
SrcBlock "output Ground7"
SrcPort 1
Points [50, 0; 0, 20; 5, 0]
Branch {
DstBlock "\n\n\n\n\n1"
DstPort 2
}
Branch {
Points [0, 25]
Branch {
Points [0, 5]
DstBlock "\n\n\n\n\n2"
DstPort 2
}
Branch {
Points [0, 25]
DstBlock "\n\n\n\n\n3"
DstPort 2
}
}
}
Line {
SrcBlock "\n\n\n\n\n1"
SrcPort 1
Points [0, -5; 20, 0]
Branch {
DstBlock "Goto1"
DstPort 1
}
Branch {
Points [5, 0; 0, 10]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "\n\n\n\n\n"
SrcPort 1
DstBlock "Goto2"
DstPort 1
}
Line {
SrcBlock "Id"
SrcPort 1
DstBlock "Goto4"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [10, 0; 0, 10; 15, 0]
Branch {
DstBlock "Ir123"
DstPort 1
}
Branch {
Points [-20, 0]
DstBlock "Goto6"
DstPort 1
}
}
Line {
SrcBlock "Id2"
SrcPort 1
Points [40, 0; 0, 120]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Id3"
SrcPort 1
Points [30, 0; 0, 110]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "\n\n\n\n\n2"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "\n\n\n\n\n3"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [25, 0]
DstBlock "Goto7"
DstPort 1
}
Line {
SrcBlock "Total Harmonic\nDistorsion"
SrcPort 1
Points [35, 0; 0, 50]
DstBlock "Puissance active"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "\nCommande"
Ports [2, 1]
Position [390, 172, 530, 408]
BackgroundColor "cyan"
NamePlacement "alternate"
FontName "Arial"
FontSize 14
FontWeight "bold"
TreatAsAtomicUnit off
MaskPromptString "Inductance filtre|TEnsion de reference|frequenc"
"e |simple temps|Resistance ligne|Integral gain Ki|Proportional gain Kp"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on"
MaskCallbackString "||||||"
MaskEnableString "on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,"
MaskVariables "Ls=@1;VREF=@2;f=@3;Ts=@4;Rs=@5;Ki=@6;Kp=@7;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.014|400|50|0.00002|0.3|176|0.88"
System {
Name "\nCommande"
Location [230, 99, 1082, 635]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ir123"
Position [20, 368, 50, 382]
ForegroundColor "red"
}
Block {
BlockType Inport
Name "Vdc"
Position [90, 158, 120, 172]
ForegroundColor "magenta"
Port "2"
}
Block {
BlockType SubSystem
Name "\nRegulation courant"
Ports [2, 1]
Position [460, 122, 625, 218]
BackgroundColor "cyan"
NamePlacement "alternate"
FontName "Arial"
FontSize 14
FontWeight "bold"
TreatAsAtomicUnit off
System {
Name "\nRegulation courant"
Location [174, 330, 857, 534]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ir1ref"
Position [150, 93, 180, 107]
}
Block {
BlockType Inport
Name "Ir1"
Position [145, 43, 175, 57]
Port "2"
}
Block {
BlockType Reference
Name "Discrete\nPI Controller"
Ports [1, 1]
Position [320, 72, 365, 118]
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\nPI Controller"
SourceType "Discrete PI Controller"
Kp "40"
Ki "10"
Par_Limits "[500 -500]"
Init "0"
Ts "Ts"
Port {
PortNumber 1
Name " Ud"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "Gain"
Position [440, 80, 470, 110]
Gain "2/VREF"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -