📄 power_wind_dfig.mdl
字号:
ShowName off
CloseFcn "tagdialog Close"
GotoTag "MotorSpeed"
}
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_B120 "
Position [245, 33, 275, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Vabc_B25 "
Position [245, 63, 275, 77]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Vabc_B575 "
Position [245, 93, 275, 107]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "P_B25"
Position [530, 153, 560, 167]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Q_B25"
Position [530, 208, 560, 222]
Port "5"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "V1_Plant"
Position [310, 323, 340, 337]
Port "6"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "I1_Plant"
Position [310, 408, 340, 422]
Port "7"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Motor_Speed"
Position [260, 273, 290, 287]
Port "8"
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_B120 "
DstPort 1
}
Line {
SrcBlock "From"
SrcPort 1
DstBlock "Complex to\nMagnitude-Angle "
DstPort 1
}
Line {
SrcBlock "Complex to\nMagnitude-Angle 1"
SrcPort 1
DstBlock "Vabc_B25 "
DstPort 1
}
Line {
SrcBlock "From1"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Complex to\nMagnitude-Angle 1"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "pu->V"
DstPort 1
}
}
Line {
SrcBlock "Complex to\nMagnitude-Angle 2"
SrcPort 1
DstBlock "Vabc_B575 "
DstPort 1
}
Line {
SrcBlock "From8"
SrcPort 1
DstBlock "Complex to\nMagnitude-Angle 2"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
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 "Q_B25"
DstPort 1
}
Line {
SrcBlock "m_load "
SrcPort 1
DstBlock "Motor_Speed"
DstPort 1
}
Line {
SrcBlock "From3"
SrcPort 1
DstBlock "Sequence Analyzer\n(Phasor Type)"
DstPort 1
}
Line {
SrcBlock "Sequence Analyzer\n(Phasor Type)"
SrcPort 1
DstBlock "V1_Plant"
DstPort 1
}
Line {
SrcBlock "Sequence Analyzer\n(Phasor Type)"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "From4"
SrcPort 1
DstBlock "Sequence Analyzer\n(Phasor Type)1"
DstPort 1
}
Line {
SrcBlock "Sequence Analyzer\n(Phasor Type)1"
SrcPort 1
DstBlock "I1_Plant"
DstPort 1
}
Line {
SrcBlock "Sequence Analyzer\n(Phasor Type)1"
SrcPort 2
DstBlock "Terminator1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [14, 150, 26, 165]
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 [294, 290, 306, 305]
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 [230, 195, 280, 245]
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 "Load\n500 kW"
Ports [0, 0, 0, 0, 0, 3]
Position [705, 195, 735, 235]
Orientation "down"
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nSeries RLC Load"
SourceType "Three-Phase Series RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "575"
NominalFrequency "60"
ActivePower "500e3"
InductivePower "0"
CapacitivePower "0"
Measurements "None"
}
Block {
BlockType SubSystem
Name "More info"
Ports []
Position [925, 580, 952, 605]
ForegroundColor "blue"
DropShadow on
OpenFcn "web('power_wind_dfig.html')"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More info"
Location [125, 254, 937, 641]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "Plant\n2 MVA"
Ports [0, 0, 0, 0, 0, 3]
Position [520, 173, 570, 237]
BackgroundColor "yellow"
DropShadow on
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Plant\n2 MVA"
Location [186, 74, 1018, 714]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "1.68 MW 0.93 PF\n 2300 V"
Ports [1, 1, 0, 0, 0, 3]
Position [530, 90, 590, 155]
BackgroundColor "lightBlue"
SourceBlock "powerlib/Machines/Asynchronous Machine\npu "
"Units"
SourceType "Asynchronous Machine"
ShowPortLabels on
PresetModel "No"
MechanicalLoad "Torque Tm"
ShowDetailedParameters on
RotorType "Squirrel-cage"
ReferenceFrame "Rotor"
NominalParameters "[1.68e6/0.93 2300 60]"
Stator "[0.0092 0.0717]"
Rotor "[0.007 0.0717]"
Lm "4.14"
Mechanical "[0.5 0 2]"
InitialConditions "[ 1e-3,0 0,0,0 0,0,0 ] "
Units "0"
LoadFlowParameters "0"
SimulateSaturation off
Saturation "[ 0 0 ; 0 0 ]"
}
Block {
BlockType Reference
Name "200 kW"
Ports [0, 0, 0, 0, 0, 3]
Position [430, 210, 470, 260]
Orientation "down"
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nSeries RLC L"
"oad"
SourceType "Three-Phase Series RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "2300"
NominalFrequency "60"
ActivePower "200e3"
InductivePower "0"
CapacitivePower "0"
Measurements "None"
}
Block {
BlockType Reference
Name "25/2.3 kV\n2.5 MVA"
Ports [0, 0, 0, 0, 0, 3, 4]
Position [100, 108, 160, 177]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nTransformer"
"\n(Two Windings)"
SourceType "Three-Phase Transformer (Two Windings)"
ShowPortLabels on
NominalPower "[2.5e6 60 ]"
Winding1Connection "Delta (D11)"
Winding1 "[ 25e3 0.04/30 0.04 ]"
Winding2Connection "Yn"
Winding2 "[ 2.3e3 0.04/30 0.04]"
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 "265 ohms"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [165, 215, 195, 235]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Ele
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -