📄 power_wind_dfig.mdl
字号:
VariationType "Step"
VariationStep "-0.15"
VariationRate "10"
VariationMagnitude "0.3"
VariationFrequency "2"
VariationTiming "[5 5.5]"
VariationPhaseA off
Amplitudes "[1 0.8 1.2 1.0]"
TimeValues "[0 0.1 0.15 0.2]"
HarmonicGeneration off
HarmonicA "[1 -0.1 0 1]"
HarmonicB "[2 0.15 35 2]"
Timing "[5 5.5]"
}
Block {
BlockType Reference
Name "120 kV/25 kV\n47 MVA"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [225, 105, 280, 155]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nTransformer\n(Tw"
"o Windings)"
SourceType "Three-Phase Transformer (Two Windings)"
ShowPortLabels on
NominalPower "[47e6 60 ]"
Winding1Connection "Yg"
Winding1 "[ 120e3 0.08/30 0.08 ]"
Winding2Connection "Delta (D1)"
Winding2 "[ 25e3 0.08/30 0.08]"
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 "20 km line"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [335, 108, 415, 152]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nPI Section Line"
SourceType "Three-Phase PI Section Line"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a|b|c"
RConnTagsString "A|B|C"
Frequency "60"
Resistances "[0.1153 0.413]"
Inductances "[1.05e-3 3.32e-3]"
Capacitances "[11.33e-009 5.01e-009]"
Length "20"
}
Block {
BlockType Reference
Name "25 kV/ 575 V\n6*2 MVA"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [630, 105, 675, 155]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nTransformer\n(Tw"
"o Windings)"
SourceType "Three-Phase Transformer (Two Windings)"
ShowPortLabels on
NominalPower "[2e6*6 60]"
Winding1Connection "Yg"
Winding1 "[25e3 , 0.025/30 , 0.025]"
Winding2Connection "Delta (D1)"
Winding2 "[ 575, 0.025/30 , 0.025]"
SetSaturation off
Rm "500"
Lm "inf"
Saturation "[ 0,0 ; 0.0024,1.2 ; 1.0,1.52 ]"
Hysteresis off
DataFile "'hysteresis'"
SetInitialFlux off
InitialFluxes "[ 0.8 , -0.8 , 0.7 ]"
Measurements "None"
TransfoNumber "0"
MoreParameters off
BreakLoop off
}
Block {
BlockType Reference
Name "2500 MVA\nX0/X1=3"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [105, 108, 160, 152]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nMutual Inductanc"
"e\nZ1-Z0"
SourceType "Three-Phase Mutual Inductance Z1-Z0"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a|b|c"
RConnTagsString "A|B|C"
PositiveSequence "[0.1 1.0/(2*pi*60)] *120e3^2/2500e6"
ZeroSequence "[0.3 3.0/(2*pi*60)] *120e3^2/2500e6"
}
Block {
BlockType Reference
Name "3.3ohms "
Ports [0, 0, 0, 0, 0, 1, 1]
Position [289, 250, 311, 270]
Orientation "down"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "R"
Resistance "3.3"
Inductance "[]"
SetiL0 off
InitialCurrent "0"
Capacitance "[]"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "B120\n(120 kV)"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [190, 107, 195, 153]
BackgroundColor "black"
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels on
VoltageMeasurement "phase-to-ground"
SetLabelV on
LabelV "Vabc_B120"
Vpu on
CurrentMeasurement "no"
SetLabelI on
LabelI "Iabc_B120"
Ipu off
Pbase "100e6"
Vbase "120e3"
OutputType "Complex"
PhasorSimulation on
PSBequivalent "0"
}
Block {
BlockType Reference
Name "B25\n(25 kV)"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [445, 107, 450, 153]
BackgroundColor "black"
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels on
VoltageMeasurement "phase-to-ground"
SetLabelV on
LabelV "Vabc_B25"
Vpu on
CurrentMeasurement "yes"
SetLabelI on
LabelI "Iabc_B25"
Ipu on
Pbase "10e6"
Vbase "25e3"
OutputType "Complex"
PhasorSimulation on
PSBequivalent "0"
}
Block {
BlockType Reference
Name "B575\n(575 V)"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [755, 110, 760, 150]
BackgroundColor "black"
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels on
VoltageMeasurement "phase-to-ground"
SetLabelV on
LabelV "Vabc_B575"
Vpu on
CurrentMeasurement "yes"
SetLabelI on
LabelI "Iabc_B575"
Ipu on
Pbase "6*1.5e6/0.9"
Vbase "575"
OutputType "Complex"
PhasorSimulation on
PSBequivalent "0"
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 3]
Position [880, 75, 885, 155]
ShowName off
OutputSignals "Vdc (V),wr (pu),Pitch_angle (deg)"
Port {
PortNumber 1
Name "<Vdc (V)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "<wr (pu)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 3
Name "<Pitch_angle (deg)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Fault"
Ports [0, 0, 0, 0, 0, 3]
Position [425, 23, 455, 67]
Orientation "left"
ForegroundColor "red"
SourceBlock "powerlib/Elements/Three-Phase Fault"
SourceType "Three-Phase Fault"
ShowPortLabels on
FaultA off
FaultB off
FaultC off
FaultResistance "1e-3"
GroundFault on
GroundResistance "1e-3"
External off
SwitchStatus "[1 0]"
SwitchTimes "[ 5 5+9/60]"
InitialStates "[0 0 1]"
SnubberResistance "1e4"
SnubberCapacitance "inf"
Measurements "None"
}
Block {
BlockType From
Name "From1"
Position [490, 486, 525, 504]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "wind"
Port {
PortNumber 1
Name "Wind speed (m/s)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From12"
Position [675, 76, 740, 94]
BackgroundColor "lightBlue"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Trip_WT"
}
Block {
BlockType From
Name "From2"
Position [490, 511, 525, 529]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "pitch"
Port {
PortNumber 1
Name "pitch angle (deg)"
PropagatedSignals "Pitch_angle (deg)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From3"
Position [490, 435, 525, 455]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vdc"
Port {
PortNumber 1
Name "Vdc (V)"
PropagatedSignals "Vdc (V)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From4"
Position [490, 461, 525, 479]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "wr"
Port {
PortNumber 1
Name "Speed (pu)"
PropagatedSignals "wr (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Goto
Name "Goto1"
Position [820, 35, 850, 55]
ShowName off
GotoTag "wind"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [975, 80, 1005, 100]
ShowName off
GotoTag "Vdc"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [975, 105, 1005, 125]
ShowName off
GotoTag "wr"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [975, 130, 1005, 150]
ShowName off
GotoTag "pitch"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [905, 350, 965, 370]
ShowName off
GotoTag "Trip_WT"
TagVisibility "local"
}
Block {
BlockType Scope
Name "Grid"
Ports [8]
Position [240, 315, 300, 530]
BackgroundColor "green"
Floating off
Location [16, 62, 494, 721]
Open off
NumInputPorts "8"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
axes6 "%<SignalLabel>"
axes7 "%<SignalLabel>"
axes8 "%<SignalLabel>"
}
TimeRange "50"
YMin "0~0~0~-10~-5~0~0~0"
YMax "1.1~1.1~1.1~5~5~1.1~1.1~1.1"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Grid\nData acquisition"
Ports [0, 8]
Position [15, 327, 95, 518]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
Port {
PortNumber 1
Name "Vabc_B120 (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "Vabc_B25 (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 3
Name "Vabc_B575 (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 4
Name "P_B25 (MW)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 5
Name "Q_B25 (Mvar)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 6
Name "V_Plant 2.3kV pos. seq. (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 7
Name "I Plant pos. seq. (pu/2 MVA) "
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 8
Name "Motor Speed (pu)"
PropagatedSignals "Rotor speed (wm)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "Grid\nData acquisition"
Location [426, 74, 1093, 590]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "3-Phase\nActive & Reactive Power\n(Phasor T"
"ype)"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -