i20degree7t08.mdl
来自「example of a 7 pulse multiple pulse widt」· MDL 代码 · 共 2,148 行 · 第 1/5 页
MDL
2,148 行
}
Block {
BlockType Reference
Name "IGBT1"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [458, 155, 502, 215]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/IGBT//Diode"
SourceType "IGBT/Diode"
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"
Ron "1e-3"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "IGBT2"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [923, 470, 967, 530]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/IGBT//Diode"
SourceType "IGBT/Diode"
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"
Ron "1e-3"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "IGBT3"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [693, 155, 737, 215]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/IGBT//Diode"
SourceType "IGBT/Diode"
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"
Ron "1e-3"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "IGBT4"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [458, 470, 502, 530]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/IGBT//Diode"
SourceType "IGBT/Diode"
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"
Ron "1e-3"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "IGBT5"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [923, 155, 967, 215]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/IGBT//Diode"
SourceType "IGBT/Diode"
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"
Ron "1e-3"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "IGBT6"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [693, 470, 737, 530]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/IGBT//Diode"
SourceType "IGBT/Diode"
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"
Ron "1e-3"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType SubSystem
Name "P2"
Ports [0, 1]
Position [830, 470, 870, 530]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "P2"
Location [376, 621, 666, 798]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [60, 120, 90, 150]
Value "0.005"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Discrete Variable\nTransport Delay"
Ports [2, 1]
Position [170, 28, 210, 72]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete Variable\nTransport Delay"
SourceType "Discrete variable transport delay"
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"
MaxDelay "0.005"
InitialValue "0"
Ts "1e-5"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [15, 23, 60, 57]
PulseType "Time based"
Period "20e-3"
PulseWidth "33.3"
}
Block {
BlockType Outport
Name "Out1"
Position [235, 43, 265, 57]
IconDisplay "Port number"
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
DstBlock "Discrete Variable\nTransport Delay"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [30, 0; 0, -75]
DstBlock "Discrete Variable\nTransport Delay"
DstPort 2
}
Line {
SrcBlock "Discrete Variable\nTransport Delay"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "P3"
Ports [0, 1]
Position [600, 155, 640, 215]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "P3"
Location [341, 509, 631, 686]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [60, 120, 90, 150]
Value "2/300"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Discrete Variable\nTransport Delay"
Ports [2, 1]
Position [170, 28, 210, 72]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete Variable\nTransport Delay"
SourceType "Discrete variable transport delay"
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"
MaxDelay "2/300"
InitialValue "0"
Ts "1e-5"
}
Block {
BlockType Reference
Name "Repeating\nSequence1"
Ports [0, 1]
Position [15, 25, 45, 55]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
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"
rep_seq_t "[0 0.00167 0.00167 0.00211 0.00211 0.00233 0.00233 0.00322 0.00322 0.00344 0.00344 0.00433 0.00433 0.00455 0.00455 0.00544 0.00544 0.00566 0.00566 0.00655 0.00655 0.00677 0.00677 0.00766 0.00766 0.00788 0.00788 0.00833 0.00833 0.01211 0.01211 0.01233 0.01233 0.01322 0.01322 0.01344 0.01344 0.01433 0.01433 0.01455 0.01455 0.01544 0.01544 0.01566 0.01566 0.01655 0.01655 0.01677 0.01677 0.01766 0.01766 0.01788 0.01788 0.01833 0.02]"
rep_seq_y "[0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0]"
}
Block {
BlockType Outport
Name "Out1"
Position [235, 43, 265, 57]
IconDisplay "Port number"
}
Line {
SrcBlock "Discrete Variable\nTransport Delay"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [30, 0; 0, -75]
DstBlock "Discrete Variable\nTransport Delay"
DstPort 2
}
Line {
SrcBlock "Repeating\nSequence1"
SrcPort 1
DstBlock "Discrete Variable\nTransport Delay"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "P4"
Ports [0, 1]
Position [365, 470, 405, 530]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "P4"
Location [553, 410, 1036, 587]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [60, 120, 90, 150]
Value "0.01167"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Discrete Variable\nTransport Delay"
Ports [2, 1]
Position [170, 28, 210, 72]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete Variable\nTransport Delay"
SourceType "Discrete variable transport delay"
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"
MaxDelay "0.01167"
InitialValue "0"
Ts "1e-5"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [20, 23, 65, 57]
PulseType "Time based"
Period "20e-3"
PulseWidth "33.3"
}
Block {
BlockType Outport
Name "Out1"
Position [235, 43, 265, 57]
IconDisplay "Port number"
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [30, 0; 0, -75]
DstBlock "Discrete Variable\nTransport Delay"
DstPort 2
}
Line {
SrcBlock "Discrete Variable\nTransport Delay"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
DstBlock "Discrete Variable\nTransport Delay"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "P5"
Ports [0, 1]
Position [820, 155, 860, 215]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "P5"
Location [386, 591, 676, 768]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?