📄 lcr2.mdl
字号:
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Bus Bar (thin horiz)"
Tag "PoWeRsYsTeMbLoCk"
Ports [2]
Position [353, 235, 457, 240]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (thin horiz)"
SourceType "Bus Bar"
input "2"
output "0"
PSBOutputType "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
}
Block {
BlockType Reference
Name "Bus Bar (thin horiz)1"
Tag "PoWeRsYsTeMbLoCk"
Ports [2]
Position [363, 370, 467, 375]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (thin horiz)"
SourceType "Bus Bar"
input "2"
output "0"
PSBOutputType "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
}
Block {
BlockType Reference
Name "Controlled Voltage Source"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [295, 125, 335, 165]
SourceBlock "powerlib2/Electrical\nSources/Controlled Voltag"
"e Source"
SourceType "Controlled Voltage Source"
initsrc on
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "Controlled Voltage Source1"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [295, 270, 335, 310]
SourceBlock "powerlib2/Electrical\nSources/Controlled Voltag"
"e Source"
SourceType "Controlled Voltage Source"
initsrc on
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [485, 128, 515, 157]
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [520, 268, 550, 297]
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "1"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Position [180, 128, 225, 162]
PulseType "Time based"
Amplitude "100"
Period "0.125e-3"
PulseWidth "50"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Position [175, 278, 220, 312]
PulseType "Time based"
Amplitude "100"
Period "0.125e-3"
PulseWidth "50"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [665, 114, 695, 146]
Location [255, 104, 970, 417]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "I1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [695, 254, 725, 286]
Location [5, 60, 1029, 748]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [670, 193, 700, 227]
Location [5, 368, 1029, 708]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "ff"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Series RLC Branch"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [385, 123, 445, 147]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "150"
b "1e-03"
c "1e-09"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Series RLC Branch1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [430, 263, 490, 287]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "200"
b "1e-03"
c "1e-09"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Series RLC Branch2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [380, 123, 440, 147]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "150"
b "1e-03"
c "1e-09"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [590, 195, 610, 215]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
DstBlock "Controlled Voltage Source"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [25, 0; 0, -5]
DstBlock "Controlled Voltage Source1"
DstPort 1
}
Line {
SrcBlock "Controlled Voltage Source"
SrcPort 1
DstBlock "Series RLC Branch"
DstPort 1
}
Line {
SrcBlock "Controlled Voltage Source1"
SrcPort 1
Points [35, 0; 0, -5]
DstBlock "Series RLC Branch1"
DstPort 1
}
Line {
SrcBlock "Series RLC Branch1"
SrcPort 1
Points [5, 0; 0, 10]
DstBlock "Current Measurement1"
DstPort 1
}
Line {
SrcBlock "Series RLC Branch"
SrcPort 1
Points [10, 0; 0, 10]
DstBlock "Current Measurement"
DstPort 1
}
Line {
SrcBlock "Controlled Voltage Source1"
SrcPort 2
Points [50, 0]
DstBlock "Bus Bar (thin horiz)1"
DstPort 1
}
Line {
SrcBlock "Controlled Voltage Source"
SrcPort 2
Points [5, 0; 0, 20; 5, 0; 0, 45]
DstBlock "Bus Bar (thin horiz)"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 2
Points [35, 0; 0, 70]
DstBlock "Bus Bar (thin horiz)"
DstPort 2
}
Line {
SrcBlock "Current Measurement1"
SrcPort 2
Points [40, 0; 0, 65]
DstBlock "Bus Bar (thin horiz)1"
DstPort 2
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
Points [90, 0]
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Current Measurement1"
SrcPort 1
Points [15, 0; 0, -5; 25, 0]
Branch {
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [40, 0]
DstBlock "Scope2"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -