📄 test.mdl
字号:
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
Grid "on"
TimeRange "auto"
YMin "-5~-5"
YMax "5~5"
SaveToWorkspace off
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "500"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [3]
Position [1020, 208, 1050, 242]
Floating off
Location [5, 61, 1285, 997]
Open off
NumInputPorts "3"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
Grid "on"
TimeRange "auto"
YMin "-5~-5~-5"
YMax "5~5~5"
SaveToWorkspace off
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "500"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [3]
Position [450, 331, 485, 409]
Floating off
Location [1, 57, 1281, 993]
Open off
NumInputPorts "3"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
Grid "on"
TimeRange "auto"
YMin "-5~-5~-5"
YMax "5~5~5"
SaveToWorkspace off
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "500000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Reference
Name "Series RLC Branch"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [765, 383, 825, 407]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "1"
b "10e-01"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Series RLC Branch1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [560, 253, 620, 277]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "10"
b "0"
c "10e-07"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [345, 275, 365, 295]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [890, 363, 915, 387]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [150, 418, 175, 442]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [590, 333, 615, 357]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PSBOutputType "0"
PSBequivalent "1"
}
Line {
SrcBlock "AC Voltage Source"
SrcPort 1
Points [0, 0]
Branch {
Points [-10, 0; 0, -25; -115, 0]
DstBlock "Voltage Measurement1"
DstPort 1
}
Branch {
Points [245, 0]
DstBlock "L connector1"
DstPort 1
}
}
Line {
SrcBlock "Series RLC Branch"
SrcPort 1
Points [5, 0; 0, -10; 15, 0]
Branch {
Points [25, 0]
DstBlock "Voltage Measurement"
DstPort 2
}
Branch {
Points [0, 70]
DstBlock "L connector2"
DstPort enable
}
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 45]
DstBlock "Product"
DstPort 1
}
Branch {
Points [75, 0]
Branch {
DstBlock "Scope"
DstPort 3
}
Branch {
Points [0, 200]
DstBlock "Scope2"
DstPort 1
}
}
}
Line {
Name "i"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
Name "v"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 2
DstBlock "Scope"
DstPort 2
}
Line {
Name "i"
Labels [0, 0]
SrcBlock "Demux1"
SrcPort 1
DstBlock "Scope"
DstPort 4
}
Line {
Name "v"
Labels [0, 0]
SrcBlock "Demux1"
SrcPort 2
DstBlock "Scope"
DstPort 5
}
Line {
SrcBlock "Voltage Measurement1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 115]
DstBlock "Dead Zone1"
DstPort 1
}
Branch {
Points [0, -30]
Branch {
Points [0, -50]
DstBlock "Dead Zone"
DstPort 1
}
Branch {
Points [210, 0]
Branch {
Points [30, 0]
DstBlock "Scope4"
DstPort 3
}
Branch {
Points [0, 190]
DstBlock "Scope2"
DstPort 2
}
}
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 120; 190, 0; 0, -475]
DstBlock "Detailed Thyristor2"
DstPort 2
}
Branch {
Points [0, -175]
DstBlock "Scope4"
DstPort 2
}
}
Line {
SrcBlock "Dead Zone"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Detailed Thyristor1"
SrcPort 1
Points [-25, 0; 0, 75]
Branch {
DstBlock "L connector1"
DstPort enable
}
Branch {
Points [10, 0]
Branch {
DstBlock "Detailed Thyristor2"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
DstBlock "Series RLC Branch1"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Voltage Measurement2"
DstPort 2
}
}
}
}
Line {
SrcBlock "Detailed Thyristor2"
SrcPort 2
Points [130, 0; 0, 145]
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Detailed Thyristor1"
SrcPort 2
Points [0, 35; 245, 0; 0, 140]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Dead Zone1"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Current Measurement1"
SrcPort 2
DstBlock "Series RLC Branch"
DstPort 1
}
Line {
SrcBlock "Current Measurement1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 50]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, -160]
DstBlock "Scope3"
DstPort 2
}
}
Line {
SrcBlock "Detailed Thyristor2"
SrcPort 1
Points [10, 0; 0, -30]
Branch {
Points [0, -45]
DstBlock "Detailed Thyristor1"
DstPort 1
}
Branch {
Points [75, 0; 0, 155; -50, 0]
Branch {
DstBlock "L connector"
DstPort 1
}
Branch {
Points [0, 75]
Branch {
DstBlock "Voltage Measurement"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Current Measurement1"
DstPort 1
}
}
}
}
Line {
SrcBlock "Ground (output)"
SrcPort 1
Points [0, -25]
Branch {
DstBlock "AC Voltage Source"
DstPort 1
}
Branch {
Points [-130, 0; 0, -40]
DstBlock "Voltage Measurement1"
DstPort 2
}
}
Line {
SrcBlock "Ground (output)1"
SrcPort 1
Points [0, -5; -10, 0; 0, -30]
DstBlock "L connector2"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [45, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 60]
DstBlock "Scope4"
DstPort 1
}
Branch {
Points [0, -235; 280, 0; 0, 65]
DstBlock "Detailed Thyristor1"
DstPort 2
}
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Series RLC Branch1"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -45]
DstBlock "Current Measurement2"
DstPort 1
}
Branch {
Points [0, 45; -55, 0; 0, 30]
DstBlock "Voltage Measurement2"
DstPort 1
}
}
Line {
SrcBlock "Current Measurement2"
SrcPort 2
Points [5, 0]
DstBlock "L connector"
DstPort enable
}
Line {
SrcBlock "Current Measurement2"
SrcPort 1
DstBlock "Scope3"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement2"
SrcPort 1
Points [205, 0; 0, -110]
DstBlock "Scope3"
DstPort 3
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -