📄 power_wind_ig.mdl
字号:
SourceBlock "factslib/Power-Electronics Based\nFACTS/Static "
"Synchronous\nCompensator\n(Phasor Type)"
SourceType "Static Synchronous Compensator (Phasor Type)"
ShowPortLabels on
ShowParameters "Power data"
SystemNominal "[ 25e3, 60 ]"
Pnom_SH "3e6"
RL_SH "[ 0.22/30, 0.22 ]"
Iinit_SH "[0, 0 ]"
VnomDC "40000/10"
C_DC "375e-6*(3/100)*10^2"
OpMode_SH "Voltage regulation"
ExternalVref off
Vref_SH "1.00"
MaxRateChangeVref_SH "10"
Droop_SH "0.03"
Par_VacReg "[5 1000]"
Qref_SH "0"
MaxRateChangeQref_SH "2"
Par_VdcReg "[0.1e-3 20e-3]"
Par_IReg_SH "[0.3 10 0.22]"
}
Block {
BlockType SubSystem
Name "STATCOM\nData acquisition"
Ports [0, 2]
Position [600, 340, 655, 400]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
Port {
PortNumber 1
Name "Vm (pu)"
PropagatedSignals "Vm (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "Generated Q (Mvar)"
PropagatedSignals "Generated Q (Mvar)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "STATCOM\nData acquisition"
Location [169, 195, 666, 421]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 2]
Position [180, 55, 185, 135]
ShowName off
OutputSignals "Control.Vm (pu),Control.Qm (pu)"
Port {
PortNumber 1
Name "<Vm (pu)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "<Qm (pu)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From11"
Position [50, 84, 110, 106]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "mstatcom"
}
Block {
BlockType Gain
Name "pu->Mvar"
Position [260, 100, 290, 130]
Gain "-3e6/1e6"
Port {
PortNumber 1
Name "Generated Q (Mvar)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Outport
Name "Vm (pu)"
Position [400, 68, 430, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Q (Mvar)"
Position [400, 108, 430, 122]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
Name "<Vm (pu)>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 1
DstBlock "Vm (pu)"
DstPort 1
}
Line {
Name "<Qm (pu)>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 2
DstBlock "pu->Mvar"
DstPort 1
}
Line {
Name "Generated Q (Mvar)"
Labels [0, 0]
SrcBlock "pu->Mvar"
SrcPort 1
DstBlock "Q (Mvar)"
DstPort 1
}
Line {
SrcBlock "From11"
SrcPort 1
DstBlock "Bus\nSelector"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Statcom"
Ports [2]
Position [770, 338, 815, 402]
BackgroundColor "green"
Floating off
Location [100, 218, 735, 563]
Open off
NumInputPorts "2"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "20"
YMin "0.97~0"
YMax "1~2"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Constant
Name "Trip"
Position [480, 230, 500, 250]
}
Block {
BlockType SubSystem
Name "Wind Farm"
Ports [0, 1, 0, 0, 0, 3]
Position [670, 62, 735, 148]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "plot(0,0,118,100)\nplot([56 62],[4 4],[56 57],["
"4 52],[62 61],[4 52])\nplot([57 59 61],[52 52.5 52])\nplot([61 61.5 62 63 63]"
",[52 52.2 52.5 54 56])\nplot([63 59 57.6 57.3 56 55],[56 58 57.8 55.6 54.2 54"
"])\nplot([55 57],[54 52],[57.3 63],[55.6 54])\nplot([57.6 57 55 54.7 60 81],["
"57.6 57.3 58 59.4 64 82])\nplot([81 83 84 84.2 83 81],[82 83.6 83.4 83 80.8 7"
"8.7])\nplot([81 60.5 57.6],[78.7 60 57.6])\nplot([54.7 53 51 51.3 52.5],[59.4"
" 58.8 58 56 55])\nplot([52.5 53.7 54.5 55],[55 54.9 54.6 54])\nplot([51 47 35"
" 33 32 33 35],[58 59 66 67.7 68.5 68.4 68])\nplot([35 45 52 53 53.7],[68 64 6"
"1 60 59.2])\nplot([52.5 51 50.8 51.5 55],[55 26 21 26 54])"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Wind Farm"
Location [97, 64, 1082, 807]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name " 66ohms "
Ports [0, 0, 0, 0, 0, 1, 1]
Position [309, 635, 331, 655]
Orientation "down"
NamePlacement "alternate"
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 "66"
Inductance "[]"
SetiL0 off
InitialCurrent "0"
Capacitance "[]"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "1 km line 1 "
Ports [0, 0, 0, 0, 0, 3, 3]
Position [145, 113, 215, 157]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nPI Section L"
"ine"
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 "1"
}
Block {
BlockType Reference
Name "1 km line 2"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [155, 332, 225, 378]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nPI Section L"
"ine"
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 "1"
}
Block {
BlockType Reference
Name "1 km line 3"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [145, 563, 225, 607]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nPI Section L"
"ine"
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 "1"
}
Block {
BlockType Reference
Name "25 kV/ 575 V\n4 MVA"
Ports [0, 0, 0, 0, 0, 3, 4]
Position [240, 110, 285, 160]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nTransformer"
"\n(Two Windings)"
SourceType "Three-Phase Transformer (Two Windings)"
ShowPortLabels on
NominalPower "[4e6 60]"
Winding1Connection "Yg"
Winding1 "[25e3 , 0.025/30 , 0.025]"
Winding2Connection "Yn"
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 "25 kV/ 575 V\n4 MVA "
Ports [0, 0, 0, 0, 0, 3, 4]
Position [260, 330, 305, 380]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nTransformer"
"\n(Two Windings)"
SourceType "Three-Phase Transformer (Two Windings)"
ShowPortLabels on
NominalPower "[4e6 60]"
Winding1Connection "Yg"
Winding1 "[25e3 , 0.025/30 , 0.025]"
Winding2Connection "Yn"
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 "25 kV/ 575 V\n4 MVA "
Ports [0, 0, 0, 0, 0, 3, 4]
Position [255, 560, 300, 610]
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nTransformer"
"\n(Two Windings)"
SourceType "Three-Phase Transformer (Two Windings)"
ShowPortLabels on
NominalPower "[4e6 60]"
Winding1Connection "Yg"
Winding1 "[25e3 , 0.025/30 , 0.025]"
Winding2Connection "Yn"
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 "400 kvar"
Ports [0, 0, 0, 0, 0, 3]
Position [335, 195, 365, 235]
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 "Delta"
NominalVoltage "575"
NominalFrequency "60"
ActivePower "0"
InductivePower "0"
CapacitivePower "400e3"
Measurements "None"
}
Block {
BlockType Reference
Name "400 kvar "
Ports [0, 0, 0, 0, 0, 3]
Position [500, 410, 530, 450]
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 "Delta"
NominalVoltage "575"
NominalFrequency "60"
ActivePower "0"
InductivePower "0"
CapacitivePower "400e3"
Measurements "None"
}
Block {
BlockType Reference
Name "400 kvar "
Ports [0, 0, 0, 0, 0, 3]
Position [340, 645, 370, 685]
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 "Delta"
NominalVoltage "575"
NominalFrequency "60"
ActivePower "0"
InductivePower "0"
CapacitivePower "400e3"
Measurements "None"
}
Block {
BlockType Reference
Name "66ohms "
Ports [0, 0, 0, 0, 0, 1, 1]
Position [294, 185, 316, 205]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Elem
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -