📄 invertergrid.mdl
字号:
Tc "1/(2*pi*wcc)"
Ts "Ts"
Initialize "off"
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse "off"
param1 "[1 4000 1]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [205, 42, 210, 178]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Filt out"
Position [245, 103, 275, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "LPF1"
DstPort 1
}
Line {
SrcBlock "LPF1"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "LPF2"
DstPort 1
}
Line {
SrcBlock "LPF2"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Filt in"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Filt out"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
DstBlock "LPF3"
DstPort 1
}
Line {
SrcBlock "LPF3"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "LPF2"
Ports [1, 1]
Position [210, 116, 260, 144]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskPromptString "Control Filter cutoff frequency(Hz):|Sample"
" Time:"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "wcc=@1;Ts=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2000|Ts_Power"
MaskTabNameString ","
System {
Name "LPF2"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Filt in"
Position [20, 103, 50, 117]
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [75, 44, 80, 176]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Reference
Name "LPF1"
Ports [1, 1]
Position [130, 52, 165, 78]
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\n1st-Order\nFilter"
SourceType "Discrete 1st-Order Filter"
ShowPortLabels "on"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
FilterType "Lowpass"
Tc "1/(2*pi*wcc)"
Ts "Ts"
Initialize "off"
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse "off"
param1 "[1 2000 1]"
}
Block {
BlockType Reference
Name "LPF2"
Ports [1, 1]
Position [130, 97, 165, 123]
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\n1st-Order\nFilter"
SourceType "Discrete 1st-Order Filter"
ShowPortLabels "on"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
FilterType "Lowpass"
Tc "1/(2*pi*wcc)"
Ts "Ts"
Initialize "off"
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse "off"
param1 "[1 500 1]"
}
Block {
BlockType Reference
Name "LPF3"
Ports [1, 1]
Position [130, 142, 165, 168]
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\n1st-Order\nFilter"
SourceType "Discrete 1st-Order Filter"
ShowPortLabels "on"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
FilterType "Lowpass"
Tc "1/(2*pi*wcc)"
Ts "Ts"
Initialize "off"
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse "off"
param1 "[1 4000 1]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [205, 42, 210, 178]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Filt out"
Position [245, 103, 275, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "LPF3"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Demux1"
SrcPort 3
DstBlock "LPF3"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Filt out"
DstPort 1
}
Line {
SrcBlock "Filt in"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "LPF2"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "LPF2"
DstPort 1
}
Line {
SrcBlock "LPF1"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "LPF1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "LPF3"
Ports [1, 1]
Position [210, 161, 260, 189]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskPromptString "Control Filter cutoff frequency(Hz):|Sample"
" Time:"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "wcc=@1;Ts=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2000|Ts_Power"
MaskTabNameString ","
System {
Name "LPF3"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Filt in"
Position [20, 103, 50, 117]
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [75, 44, 80, 176]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Reference
Name "LPF1"
Ports [1, 1]
Position [130, 52, 165, 78]
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\n1st-Order\nFilter"
SourceType "Discrete 1st-Order Filter"
ShowPortLabels "on"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
FilterType "Lowpass"
Tc "1/(2*pi*wcc)"
Ts "Ts"
Initialize "off"
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse "off"
param1 "[1 2000 1]"
}
Block {
BlockType Reference
Name "LPF2"
Ports [1, 1]
Position [130, 97, 165, 123]
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\n1st-Order\nFilter"
SourceType "Discrete 1st-Order Filter"
ShowPortLabels "on"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
FilterType "Lowpass"
Tc "1/(2*pi*wcc)"
Ts "Ts"
Initialize "off"
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse "off"
param1 "[1 500 1]"
}
Block {
BlockType Reference
Name "LPF3"
Ports [1, 1]
Position [130, 142, 165, 168]
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\n1st-Order\nFilter"
SourceType "Discrete 1st-Order Filter"
ShowPortLabels "on"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
FilterType "Lowpass"
Tc "1/(2*pi*wcc)"
Ts "Ts"
Initialize "off"
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse "off"
param1 "[1 4000 1]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [205, 42, 210, 178]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -