huangshun.mdl
来自「能够利用偏最小二乘回归模型分析电力系统谐波发射水平」· MDL 代码 · 共 751 行 · 第 1/2 页
MDL
751 行
BlockType Reference
Name "Ground (output)1"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [559, 460, 591, 490]
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 [174, 445, 206, 475]
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 [425, 215, 445, 235]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [805, 245, 835, 275]
Orientation "left"
Mean "1"
SampleTime "0"
}
Block {
BlockType Reference
Name "Random to"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [630, 239, 670, 281]
Orientation "left"
SourceBlock "powerlib2/Electrical\nSources/Controlled Curren"
"t Source"
SourceType "Controlled Current Source"
initsrc off
srctyp "AC"
ia "0"
iph "0"
freq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [300, 84, 330, 116]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-10"
YMax "10"
SaveToWorkspace on
SaveName "ipcc11"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [330, 269, 360, 301]
Location [403, 318, 727, 557]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-300"
YMax "300"
SaveToWorkspace on
SaveName "upcc11"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [530, 89, 560, 121]
Location [527, 339, 851, 578]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-10"
YMax "10"
SaveToWorkspace on
SaveName "ic11"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType Reference
Name "T connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [565, 210, 585, 230]
Orientation "left"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Vpcc"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [210, 348, 240, 377]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "ic"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [563, 305, 587, 340]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/AC Current Source"
SourceType "AC Current Source"
A "10"
P "46"
F "450"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "ipcc"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [230, 198, 260, 227]
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "ipcc1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [475, 203, 505, 232]
Orientation "left"
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "vs"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [103, 285, 127, 320]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A "50"
P "53.13"
F "450"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "zc"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [373, 335, 427, 395]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
a "7250"
b "0.17491796950395676510326191854854"
c "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "zs"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [130, 185, 180, 245]
SourceBlock "powerlib2/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
a "50"
b "0.0072379849449913144180660104226983"
c "0"
mesure "None"
PSBOutputType "1"
}
Line {
SrcBlock "Ground (output)1"
SrcPort 1
DstBlock "ic"
DstPort 1
}
Line {
SrcBlock "Ground (output)2"
SrcPort 1
Points [0, -70]
DstBlock "Vpcc"
DstPort 2
}
Line {
SrcBlock "zc"
SrcPort 1
DstBlock "Ground (input)1"
DstPort 1
}
Line {
SrcBlock "Ground (output)"
SrcPort 1
DstBlock "vs"
DstPort 1
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "zs"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Random to"
DstPort 1
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "ipcc1"
SrcPort 2
DstBlock "L connector"
DstPort enable
}
Line {
SrcBlock "ipcc"
SrcPort 2
Points [0, -5; 135, 0]
Branch {
Points [0, -15]
DstBlock "L connector"
DstPort 1
}
Branch {
DstBlock "zc"
DstPort 1
}
}
Line {
SrcBlock "ipcc"
SrcPort 1
Points [10, 0; 0, -105]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Vpcc"
SrcPort 1
Points [20, 0; 0, -80]
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "T connector"
SrcPort 1
DstBlock "ipcc1"
DstPort 1
}
Line {
SrcBlock "ic"
SrcPort 1
DstBlock "T connector"
DstPort enable
}
Line {
SrcBlock "ipcc1"
SrcPort 1
Points [-10, 0; 0, -105]
DstBlock "Scope3"
DstPort 1
}
Line {
SrcBlock "Random to"
SrcPort 1
Points [-10, 0; 0, -30]
DstBlock "T connector"
DstPort 1
}
Line {
SrcBlock "Random to"
SrcPort 2
Points [-10, 0]
DstBlock "Ground (input)2"
DstPort 1
}
Line {
SrcBlock "zs"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "ipcc"
DstPort 1
}
Branch {
Points [0, 140]
DstBlock "Vpcc"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?