📄 m4_1_12.mdl
字号:
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType BusCreator
Name "Bus\nCreator1"
Ports [2, 1]
Position [530, 156, 535, 194]
ShowName off
Inputs "2"
DisplayOption "bar"
Port {
PortNumber 1
Name "电源电压与负载电压"
PropagatedSignals ", "
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Current Measurement1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [200, 118, 225, 142]
ShowName off
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 [80, 175, 100, 210]
Orientation "up"
ShowName off
AttributesFormatString "V"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "100"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Diode"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 2]
Position [295, 115, 350, 155]
NamePlacement "alternate"
ShowName off
AttributesFormatString "D1"
SourceBlock "powerlib2/Power\nElectronics/Diode"
SourceType "Diode"
Ron "0.01"
Lon "1e-6"
Vf "0.8"
IC "0"
Rs "1000"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "IGBT"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [260, 172, 320, 223]
ShowName off
AttributesFormatString "T1"
SourceBlock "powerlib2/Power\nElectronics/IGBT"
SourceType "IGBT"
Ron "0.001"
Lon "1e-6"
Vf "1"
Tf "1e-6"
Tt "2e-6"
IC "0"
Rs "1000"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "Parallel RLC Branch"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [408, 165, 422, 210]
Orientation "down"
ShowName off
AttributesFormatString "R"
SourceBlock "powerlib2/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
a "10"
b "inf"
c "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Position [135, 193, 180, 227]
PulseType "Time based"
Period "0.002"
PulseWidth "60"
Port {
PortNumber 1
Name "触发信号"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [680, 135, 720, 215]
ForegroundColor "blue"
BackgroundColor "[0.000000, 1.000000, 0.000000]"
Location [177, 145, 615, 601]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "0.04"
YMin "-300~50~-0.2"
YMax "200~400~1.2"
SaveToWorkspace on
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Series RLC Branch"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [115, 118, 175, 142]
NamePlacement "alternate"
ShowName off
AttributesFormatString "L"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "0"
b "1e-3"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Series RLC Branch2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [375, 170, 395, 205]
Orientation "down"
NamePlacement "alternate"
ShowName off
AttributesFormatString "C"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "0"
b "0"
c "4.7e-4"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [375, 250, 395, 270]
Orientation "left"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [330, 250, 350, 270]
Orientation "left"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [470, 153, 495, 177]
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [285, 63, 310, 87]
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [460, 268, 485, 292]
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Line {
SrcBlock "IGBT"
SrcPort 1
Points [15, 0]
DstBlock "T connector1"
DstPort enable
}
Line {
SrcBlock "T connector1"
SrcPort 1
Points [-235, 0]
Branch {
DstBlock "DC Voltage Source"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Voltage Measurement2"
DstPort 2
}
}
Line {
Name "触发信号"
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "IGBT"
DstPort 2
}
Branch {
Labels [-1, 0]
Points [0, 30; 360, 0; 0, -40]
DstBlock "Scope"
DstPort 3
}
}
Line {
SrcBlock "T connector"
SrcPort 1
DstBlock "T connector1"
DstPort 1
}
Line {
SrcBlock "Series RLC Branch2"
SrcPort 1
DstBlock "T connector"
DstPort enable
}
Line {
SrcBlock "Current Measurement1"
SrcPort 2
Points [10, 0]
Branch {
Points [0, 50]
DstBlock "IGBT"
DstPort 1
}
Branch {
Points [20, 0]
Branch {
DstBlock "Diode"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Voltage Measurement1"
DstPort 2
}
}
}
Line {
SrcBlock "Parallel RLC Branch"
SrcPort 1
Points [0, 45]
Branch {
DstBlock "T connector"
DstPort 1
}
Branch {
Points [30, 0; 0, -90]
DstBlock "Voltage Measurement"
DstPort 2
}
}
Line {
Labels [0, 0]
SrcBlock "DC Voltage Source"
SrcPort 1
Points [0, 45; 0, -85]
Branch {
Points [15, 0]
Branch {
DstBlock "Series RLC Branch"
DstPort 1
}
Branch {
Points [-15, 0; 0, -60]
DstBlock "Voltage Measurement1"
DstPort 1
}
}
Branch {
Points [-35, 0; 0, 145]
DstBlock "Voltage Measurement2"
DstPort 1
}
}
Line {
SrcBlock "Voltage Measurement1"
SrcPort 1
DstBlock "Bus\nCreator"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "Bus\nCreator1"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement2"
SrcPort 1
Points [15, 0; 0, -95]
DstBlock "Bus\nCreator1"
DstPort 2
}
Line {
SrcBlock "Diode"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Series RLC Branch2"
DstPort 1
}
Branch {
Points [30, 0]
Branch {
DstBlock "Parallel RLC Branch"
DstPort 1
}
Branch {
Points [30, 0; 0, 35]
DstBlock "Voltage Measurement"
DstPort 1
}
}
}
Line {
Name "电源电压与负载电压"
Labels [-1, 0]
SrcBlock "Bus\nCreator1"
SrcPort 1
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Current Measurement1"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Bus\nCreator"
DstPort 2
}
Line {
SrcBlock "Series RLC Branch"
SrcPort 1
DstBlock "Current Measurement1"
DstPort 1
}
Line {
Name "电感L端电压与流过电感的电流"
Labels [3, 1]
SrcBlock "Bus\nCreator"
SrcPort 1
Points [25, 0; 0, 65]
DstBlock "Scope"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -