📄 power_wind_ig.mdl
字号:
MaskValueString "1/60"
System {
Name "Mean Value2"
Location [220, 282, 763, 473]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [20, 73, 50, 87]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Init"
Position [380, 143, 410, 157]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [310, 73, 385, 117]
Gain "1/Period"
}
Block {
BlockType Step
Name "Step"
Position [370, 25, 400, 55]
Time "Period+eps"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [250, 69, 270, 116]
Inputs "+-"
}
Block {
BlockType Switch
Name "Switch"
Position [435, 90, 465, 120]
Threshold "0.5"
InputSameDT off
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [175, 90, 205, 120]
DelayTime "Period"
}
Block {
BlockType Integrator
Name "integrator"
Ports [1, 1]
Position [85, 59, 115, 101]
IgnoreLimit off
}
Block {
BlockType Outport
Name "Mean"
Position [490, 98, 520, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Init"
SrcPort 1
Points [0, -35]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Step"
SrcPort 1
Points [10, 0; 0, 65]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Mean"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "integrator"
DstPort 1
}
Line {
SrcBlock "integrator"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Transport\nDelay"
DstPort 1
}
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Annotation {
Name "Mean value"
Position [48, 26]
UseDisplayTextAsClickCallback off
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Reference
Name "Sequence Analyzer\n(Phasor Type)"
Ports [1, 2]
Position [220, 271, 270, 324]
SourceBlock "powerlib_extras/Phasor\nLibrary/Sequence An"
"alyzer\n(Phasor Type)"
SourceType "Sequence Analyzer (Phasor Type)"
ShowPortLabels on
seq "Positive"
}
Block {
BlockType Reference
Name "Sequence Analyzer\n(Phasor Type)1"
Ports [1, 2]
Position [220, 356, 270, 409]
SourceBlock "powerlib_extras/Phasor\nLibrary/Sequence An"
"alyzer\n(Phasor Type)"
SourceType "Sequence Analyzer (Phasor Type)"
ShowPortLabels on
seq "Positive"
}
Block {
BlockType Terminator
Name "Terminator"
Position [290, 302, 305, 318]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [290, 387, 305, 403]
ShowName off
}
Block {
BlockType Gain
Name "pu->A"
Position [180, 174, 200, 196]
Gain "10e6/sqrt(3)/25e3*sqrt(2)"
}
Block {
BlockType Gain
Name "pu->V"
Position [180, 144, 200, 166]
NamePlacement "alternate"
Gain "25e3*sqrt(2)/sqrt(3)"
}
Block {
BlockType Outport
Name "Vabc_B25 "
Position [245, 33, 275, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "P_B25"
Position [530, 153, 560, 167]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Q_B25"
Position [590, 208, 620, 222]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "V1_B25"
Position [335, 278, 365, 292]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "I1_B25"
Position [335, 363, 365, 377]
Port "5"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "pu->A"
SrcPort 1
DstBlock "3-Phase\nActive & Reactive Power\n(Phasor T"
"ype)"
DstPort 2
}
Line {
SrcBlock "pu->V"
SrcPort 1
DstBlock "3-Phase\nActive & Reactive Power\n(Phasor T"
"ype)"
DstPort 1
}
Line {
SrcBlock "3-Phase\nActive & Reactive Power\n(Phasor T"
"ype)"
SrcPort 1
DstBlock "MW"
DstPort 1
}
Line {
SrcBlock "Complex to\nMagnitude-Angle "
SrcPort 1
DstBlock "Vabc_B25 "
DstPort 1
}
Line {
SrcBlock "From"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 115]
Branch {
Points [0, 145]
DstBlock "Sequence Analyzer\n(Phasor Type)"
DstPort 1
}
Branch {
DstBlock "pu->V"
DstPort 1
}
}
Branch {
DstBlock "Complex to\nMagnitude-Angle "
DstPort 1
}
}
Line {
SrcBlock "From2"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 200]
DstBlock "Sequence Analyzer\n(Phasor Type)1"
DstPort 1
}
Branch {
DstBlock "pu->A"
DstPort 1
}
}
Line {
SrcBlock "MW"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Mean Value1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [0, 20]
DstBlock "Mean Value2"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [5, 0; 0, -35]
Branch {
Points [0, -55]
DstBlock "Mean Value1"
DstPort 2
}
Branch {
DstBlock "Mean Value2"
DstPort 2
}
}
Line {
SrcBlock "Mean Value1"
SrcPort 1
DstBlock "P_B25"
DstPort 1
}
Line {
SrcBlock "Mean Value2"
SrcPort 1
DstBlock "-1"
DstPort 1
}
Line {
SrcBlock "Sequence Analyzer\n(Phasor Type)"
SrcPort 1
DstBlock "V1_B25"
DstPort 1
}
Line {
SrcBlock "Sequence Analyzer\n(Phasor Type)"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Sequence Analyzer\n(Phasor Type)1"
SrcPort 1
DstBlock "I1_B25"
DstPort 1
}
Line {
SrcBlock "Sequence Analyzer\n(Phasor Type)1"
SrcPort 2
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "-1"
SrcPort 1
DstBlock "Q_B25"
DstPort 1
}
}
}
Block {
BlockType Goto
Name "Goto"
Position [770, 95, 810, 115]
ShowName off
GotoTag "m"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto1"
Position [765, 246, 825, 264]
ShowName off
GotoTag "mstatcom"
TagVisibility "global"
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [29, 125, 41, 140]
Orientation "down"
ShowName off
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground3"
Ports [0, 0, 0, 0, 0, 1]
Position [289, 265, 301, 280]
Orientation "down"
ShowName off
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Grounding\nTransformer\nX0=4.7 Ohms"
Ports [0, 0, 0, 0, 0, 4, 3]
Position [205, 165, 255, 215]
Orientation "left"
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nTransformer\n(Tw"
"o Windings)"
SourceType "Three-Phase Transformer (Two Windings)"
ShowPortLabels on
NominalPower "[100e6 60]"
Winding1Connection "Yn"
Winding1 "[ 25e3 4.7/(25e3^2/100e6)/30 4.7/(25e3^2/10"
"0e6)]"
Winding2Connection "Delta (D11)"
Winding2 "[ 25e3 1e-6 0]"
SetSaturation off
Rm "500"
Lm "500"
Saturation "[ 0,0 ; 0.005,1.2 ; 1.0,1.4 ]"
Hysteresis off
DataFile "'basic_model'"
SetInitialFlux off
InitialFluxes "[ 0.8 , -0.8 , 0.7 ]"
Measurements "None"
TransfoNumber "0"
MoreParameters off
BreakLoop off
}
Block {
BlockType Reference
Name "Manual Switch"
Ports [2, 1]
Position [545, 212, 575, 248]
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
ShowPortLabels on
sw "1"
action "0"
}
Block {
BlockType Constant
Name "No trip"
Position [480, 195, 500, 215]
Value "0"
}
Block {
BlockType Reference
Name "STATCOM\n(Phasor Type)"
Ports [1, 1, 0, 0, 0, 3]
Position [665, 219, 745, 286]
BackgroundColor "cyan"
FontName "Arial"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -