📄 m4_1_10.mdl
字号:
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Bus Bar (thin horiz)"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 3]
Position [227, 310, 333, 315]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (thin horiz)"
SourceType "Bus Bar"
input "2"
output "3"
PSBOutputType "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [365, 118, 390, 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 [50, 215, 70, 250]
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 [155, 265, 210, 305]
Orientation "up"
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 "10"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "IGBT"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [155, 117, 215, 168]
ShowName off
AttributesFormatString "T1"
SourceBlock "powerlib2/Power\nElectronics/IGBT"
SourceType "IGBT"
Ron "0.01"
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 [350, 185, 370, 225]
Orientation "down"
NamePlacement "alternate"
ShowName off
AttributesFormatString "C"
SourceBlock "powerlib2/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
a "inf"
b "inf"
c "1e-3"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Position [75, 168, 120, 202]
PulseType "Time based"
Period "0.001"
PulseWidth "80"
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 [4]
Position [660, 147, 705, 303]
ForegroundColor "blue"
BackgroundColor "[0.000000, 1.000000, 0.000000]"
Location [250, 133, 629, 555]
Open on
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "0.08"
YMin "0~-150~-0.5~0"
YMax "150~150~2~100"
SaveToWorkspace on
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Series RLC Branch"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [280, 118, 340, 142]
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 Branch1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [397, 195, 413, 245]
Orientation "down"
NamePlacement "alternate"
ShowName off
AttributesFormatString "R"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "1"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [240, 120, 260, 140]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [445, 73, 470, 97]
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 [135, 53, 160, 77]
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 [395, 338, 420, 362]
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement3"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [500, 273, 525, 297]
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
Port {
PortNumber 1
Name "负载电压"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Line {
SrcBlock "DC Voltage Source"
SrcPort 1
Points [0, 0; 0, -80]
Branch {
DstBlock "IGBT"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Voltage Measurement1"
DstPort 1
}
}
Line {
SrcBlock "Diode"
SrcPort 1
Points [0, -15; 80, 0; 0, -75]
Branch {
DstBlock "T connector1"
DstPort enable
}
Branch {
Points [-25, 0; 0, 175]
DstBlock "Voltage Measurement2"
DstPort 1
}
}
Line {
SrcBlock "IGBT"
SrcPort 1
DstBlock "T connector1"
DstPort 1
}
Line {
SrcBlock "T connector1"
SrcPort 1
DstBlock "Series RLC Branch"
DstPort 1
}
Line {
Name "触发信号"
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -30]
DstBlock "IGBT"
DstPort 2
}
Branch {
Labels [-1, 0]
Points [0, 60]
DstBlock "Scope"
DstPort 3
}
}
Line {
SrcBlock "Series RLC Branch"
SrcPort 1
DstBlock "Current Measurement"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 2
Points [10, 0; 0, 20; 15, 0]
Branch {
Points [-60, 0]
DstBlock "Parallel RLC Branch"
DstPort 1
}
Branch {
Points [-15, 0]
DstBlock "Series RLC Branch1"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Voltage Measurement"
DstPort 1
}
Branch {
Points [0, 125]
DstBlock "Voltage Measurement3"
DstPort 1
}
}
Line {
SrcBlock "Voltage Measurement1"
SrcPort 1
Points [335, 0; 0, 25]
DstBlock "Bus\nCreator"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
Points [10, 0; 0, 25]
DstBlock "Bus\nCreator"
DstPort 2
}
Line {
SrcBlock "Voltage Measurement2"
SrcPort 1
Points [30, 0; 0, -195]
DstBlock "Bus\nCreator1"
DstPort 2
}
Line {
SrcBlock "Series RLC Branch1"
SrcPort 1
Points [0, 40]
Branch {
Points [-150, 0]
DstBlock "Bus Bar (thin horiz)"
DstPort 1
}
Branch {
DstBlock "Voltage Measurement3"
DstPort 2
}
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 1
Points [0, 15; -185, 0]
Branch {
DstBlock "DC Voltage Source"
DstPort 1
}
Branch {
Points [-25, 0; 0, -265]
DstBlock "Voltage Measurement1"
DstPort 2
}
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 2
Points [0, 15; 0, 20]
Branch {
DstBlock "Voltage Measurement2"
DstPort 2
}
Branch {
Points [-95, 0]
DstBlock "Diode"
DstPort 1
}
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 3
Points [0, 25; 25, 0; 0, -255]
DstBlock "Voltage Measurement"
DstPort 2
}
Line {
SrcBlock "Parallel RLC Branch"
SrcPort 1
Points [0, 35; -50, 0]
DstBlock "Bus Bar (thin horiz)"
DstPort 2
}
Line {
Name "电源电压与电感L端电压"
Labels [3, 1]
SrcBlock "Bus\nCreator"
SrcPort 1
Points [20, 0; 0, 65]
DstBlock "Scope"
DstPort 1
}
Line {
Name "流过负载电流与二极管端电压"
Labels [3, 1]
SrcBlock "Bus\nCreator1"
SrcPort 1
Points [10, 0; 0, 60]
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [60, 0; 0, 10]
DstBlock "Bus\nCreator1"
DstPort 1
}
Line {
Name "负载电压"
Labels [-1, 0]
SrcBlock "Voltage Measurement3"
SrcPort 1
DstBlock "Scope"
DstPort 4
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -