📄 three_phase_four_wires_p_q.mdl
字号:
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType Trigonometry
Operator "sin"
OutputSignalType "auto"
SampleTime "-1"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "three_phase_four_wires_p_q"
Location [2, 80, 989, 722]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AC Voltage Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [248, 365, 272, 400]
Orientation "up"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Amplitude "220*sqrt(2)"
Phase "0"
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "AC Voltage Source1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [298, 370, 322, 405]
Orientation "up"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Amplitude "220*sqrt(2)"
Phase "-120"
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "AC Voltage Source2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [348, 370, 372, 405]
Orientation "up"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Amplitude "220*sqrt(2)"
Phase "120"
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Active & Reactive\nPower1"
Ports [2, 1]
Position [630, 756, 665, 789]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower"
SourceType "Active & Reactive Power "
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
f1 "150"
}
Block {
BlockType Reference
Name "Active & Reactive\nPower2"
Ports [2, 1]
Position [600, 646, 635, 679]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower"
SourceType "Active & Reactive Power "
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
f1 "50"
}
Block {
BlockType Reference
Name "Active & Reactive\nPower3"
Ports [2, 1]
Position [650, 846, 685, 879]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower"
SourceType "Active & Reactive Power "
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
f1 "250"
}
Block {
BlockType Reference
Name "Active & Reactive\nPower4"
Ports [2, 1]
Position [685, 936, 720, 969]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower"
SourceType "Active & Reactive Power "
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
f1 "350"
}
Block {
BlockType Reference
Name "Active & Reactive\nPower5"
Ports [2, 1]
Position [1190, 196, 1225, 229]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower"
SourceType "Active & Reactive Power "
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
f1 "50"
}
Block {
BlockType Reference
Name "Active & Reactive\nPower6"
Ports [2, 1]
Position [1200, 341, 1235, 374]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower"
SourceType "Active & Reactive Power "
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
f1 "150"
}
Block {
BlockType Reference
Name "Active & Reactive\nPower7"
Ports [2, 1]
Position [1225, 441, 1260, 474]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower"
SourceType "Active & Reactive Power "
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
f1 "250"
}
Block {
BlockType Reference
Name "Active & Reactive\nPower8"
Ports [2, 1]
Position [1260, 541, 1295, 574]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower"
SourceType "Active & Reactive Power "
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
f1 "350"
}
Block {
BlockType SubSystem
Name "Active Power Filter"
Ports [6, 1, 0, 0, 0, 2, 2]
Position [885, 401, 1015, 559]
BackgroundColor "yellow"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "Active Power Filter"
Location [187, 163, 1065, 617]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Iya"
Position [60, 23, 90, 37]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iyb"
Position [110, 43, 140, 57]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iyc"
Position [160, 63, 190, 77]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Va"
Position [215, 98, 245, 112]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vb"
Position [265, 108, 295, 122]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vc"
Position [305, 133, 335, 147]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "Filter Currents"
Ports [0, 4, 0, 0, 0, 3, 3]
Position [80, 178, 170, 302]
BackgroundColor "cyan"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "Filter Currents"
Location [169, 263, 449, 603]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Current Measurement6"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [198, 65, 222, 90]
Orientation "down"
NamePlacement "alternate"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement7"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [113, 80, 137, 105]
Orientation "down"
NamePlacement "alternate"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement8"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [28, 80, 52, 105]
Orientation "down"
NamePlacement "alternate"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Mux
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -