📄 one_sub_two_train.mdl
字号:
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
}
Block {
BlockType Terminator
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "one_sub_two_train"
Location [78, 75, 924, 689]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 212
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "C"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [440, 223, 500, 247]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "0"
b "0"
c "50"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Clock
Name "Clock"
Position [45, 410, 65, 430]
Decimation "10"
}
Block {
BlockType Clock
Name "Clock1"
Position [45, 590, 65, 610]
Decimation "10"
}
Block {
BlockType Reference
Name "Controlled Current Source"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [295, 399, 335, 441]
SourceBlock "powerlib2/Electrical\nSources/Controlled Curren"
"t Source"
SourceType "Controlled Current Source"
initsrc on
srctyp "DC"
ia "0"
iph "0"
freq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "Controlled Current Source1"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [295, 579, 335, 621]
SourceBlock "powerlib2/Electrical\nSources/Controlled Curren"
"t Source"
SourceType "Controlled Current Source"
initsrc on
srctyp "DC"
ia "0"
iph "0"
freq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [425, 128, 455, 157]
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "DC Voltage Source"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [45, 190, 65, 225]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "1600"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "DC Voltage Source1"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [355, 295, 375, 330]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "1600"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Diode"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 2]
Position [230, 35, 285, 75]
SourceBlock "powerlib2/Power\nElectronics/Diode"
SourceType "Diode"
Ron "0.01"
Lon "0"
Vf "0.8"
IC "0"
Rs "10"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "GTO"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [210, 115, 260, 155]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib2/Power\nElectronics/Gto"
SourceType "Gto"
Ron "0.01"
Lon "1e-6"
Vf "1"
Tf "10e-6"
Tt "20e-6"
IC "0"
Rs "Inf"
Cs "0"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "Ground (input)1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [445, 470, 475, 500]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "Ground (input)2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [120, 150, 150, 180]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "Ground (input)3"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [445, 650, 475, 680]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "Ground (output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [39, 280, 71, 310]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Ground (output)1"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [529, 105, 561, 135]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Ground (output)2"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [349, 355, 381, 385]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "L connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 0, 1]
Position [665, 310, 685, 330]
ShowName off
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType Reference
Name "L connector1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 0, 1]
Position [355, 240, 375, 260]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType Reference
Name "L connector2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 0, 1]
Position [700, 255, 720, 275]
ShowName off
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn"
Position [135, 405, 195, 435]
MATLABFcn "pwmcause2(u)"
OutputDimensions "1"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn1"
Position [135, 585, 195, 615]
MATLABFcn "pwmcause2(u)"
OutputDimensions "1"
}
Block {
BlockType Reference
Name "R"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [305, 115, 365, 135]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "2"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "R1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [140, 43, 200, 67]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "0.02"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "R2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [675, 343, 735, 367]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "1"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "R3"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [730, 223, 790, 247]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "1"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [670, 39, 700, 71]
NamePlacement "alternate"
Location [144, 202, 792, 545]
Open off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -