📄 power_windgen.mdl
字号:
Block {
BlockType Inport
Name "m"
Position [300, 73, 330, 87]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 2]
Position [265, 54, 270, 101]
Orientation "left"
NamePlacement "alternate"
ShowName off
OutputSignals "dq0 components.Stator voltage vd (pu),dq0 "
"components.Stator voltage vq (pu)"
Port {
PortNumber 1
Name "<Stator voltage vd (pu)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "<Stator voltage vq (pu)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Constant
Name "Constant3"
Position [165, 15, 185, 35]
Orientation "left"
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Reference
Name "Excitation\nSystem"
Ports [4, 1]
Position [75, 31, 130, 124]
Orientation "left"
SourceBlock "powerlib/Machines/Excitation\nSystem"
SourceType "Excitation System"
ShowPortLabels on
tr "20e-3"
reg "[ 300, 0.001 ]"
exc "[ 1, 0 ]"
tgr "[ 0, 0 ]"
damp "[ 0.001, 0.1 ]"
sat "[ 0, 0 ]"
lim "[ -11.5, 11.5, 0 ]"
v0 "[1,2.71455]"
}
Block {
BlockType Ground
Name "Ground"
Position [170, 107, 185, 123]
Orientation "left"
ShowName off
}
Block {
BlockType Outport
Name "Vf"
Position [25, 73, 55, 87]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [0, 15]
DstBlock "Excitation\nSystem"
DstPort 1
}
Line {
SrcBlock "Ground"
SrcPort 1
DstBlock "Excitation\nSystem"
DstPort 4
}
Line {
SrcBlock "m"
SrcPort 1
DstBlock "Bus\nSelector1"
DstPort 1
}
Line {
SrcBlock "Excitation\nSystem"
SrcPort 1
DstBlock "Vf"
DstPort 1
}
Line {
Name "<Stator voltage vd (pu)>"
Labels [0, 0]
SrcBlock "Bus\nSelector1"
SrcPort 1
DstBlock "Excitation\nSystem"
DstPort 2
}
Line {
Name "<Stator voltage vq (pu)>"
Labels [0, 0]
SrcBlock "Bus\nSelector1"
SrcPort 2
DstBlock "Excitation\nSystem"
DstPort 3
}
}
}
Block {
BlockType From
Name "From1"
Position [25, 527, 85, 543]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Freq"
Port {
PortNumber 1
Name "Frequency (Hz)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From2"
Position [25, 507, 85, 523]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc_SL"
Port {
PortNumber 1
Name "Iabc Sec. Load (pu/275 kVA)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From3"
Position [25, 487, 85, 503]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_SC"
Port {
PortNumber 1
Name "Vabc (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From4"
Position [590, 330, 650, 350]
Orientation "left"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_SL"
}
Block {
BlockType From
Name "From5"
Position [25, 547, 85, 563]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "w_ASM"
Port {
PortNumber 1
Name "ASM speed (pu)"
PropagatedSignals "Rotor speed (wm)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Load"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [257, 285, 303, 290]
Orientation "down"
BackgroundColor "black"
NamePlacement "alternate"
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels on
VoltageMeasurement "phase-to-ground"
SetLabelV on
LabelV "Vabc_Load"
Vpu on
CurrentMeasurement "yes"
SetLabelI on
LabelI "Iabc_Load"
Ipu on
Pbase "275e3"
Vbase "480"
OutputType "Magnitude"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Load\n25 kW"
Ports [0, 0, 0, 0, 0, 3]
Position [87, 380, 133, 450]
Orientation "down"
BackgroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nParallel RLC Loa"
"d"
SourceType "Three-Phase Parallel RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "480"
NominalFrequency "60"
ActivePower "25e3"
InductivePower "0"
CapacitivePower "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Main Load\n50 kW"
Ports [0, 0, 0, 0, 0, 3]
Position [256, 380, 304, 450]
Orientation "down"
BackgroundColor "yellow"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nParallel RLC Loa"
"d"
SourceType "Three-Phase Parallel RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "480"
NominalFrequency "60"
ActivePower "50e3"
InductivePower "0"
CapacitivePower "0"
Measurements "None"
}
Block {
BlockType Reference
Name "PF Correction\nCapacitor\n75 kvar"
Ports [0, 0, 0, 0, 0, 3]
Position [442, 155, 488, 210]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nParallel RLC Loa"
"d"
SourceType "Three-Phase Parallel RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Delta"
NominalVoltage "480"
NominalFrequency "60"
ActivePower "0"
InductivePower "0"
CapacitivePower "75e3"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Power\nComputation"
Ports [0, 4]
Position [290, 490, 330, 555]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
Port {
PortNumber 1
Name "P Wind Turb. (kW)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "P Sec. Load (kW)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 3
Name "P Main Load (kW)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 4
Name "Q Synch. Condenser (kvar)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "Power\nComputation"
Location [191, 278, 988, 524]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "3-phase \nInstantaneous \nActive & Reactive"
" Power"
Ports [2, 1]
Position [495, 19, 545, 66]
SourceBlock "powerlib_extras/Measurements/3-phase \nInst"
"antaneous \nActive & Reactive Power"
SourceType "3-phase instantaneous active and reactive p"
"ower"
ShowPortLabels on
}
Block {
BlockType Reference
Name "3-phase \nInstantaneous \nActive & Reactive"
" Power1"
Ports [2, 1]
Position [150, 129, 200, 176]
SourceBlock "powerlib_extras/Measurements/3-phase \nInst"
"antaneous \nActive & Reactive Power"
SourceType "3-phase instantaneous active and reactive p"
"ower"
ShowPortLabels on
}
Block {
BlockType Reference
Name "3-phase \nInstantaneous \nActive & Reactive"
" Power2"
Ports [2, 1]
Position [155, 14, 205, 61]
SourceBlock "powerlib_extras/Measurements/3-phase \nInst"
"antaneous \nActive & Reactive Power"
SourceType "3-phase instantaneous active and reactive p"
"ower"
ShowPortLabels on
}
Block {
BlockType Reference
Name "3-phase \nInstantaneous \nActive & Reactive"
" Power3"
Ports [2, 1]
Position [500, 129, 550, 176]
SourceBlock "powerlib_extras/Measurements/3-phase \nInst"
"antaneous \nActive & Reactive Power"
SourceType "3-phase instantaneous active and reactive p"
"ower"
ShowPortLabels on
}
Block {
BlockType From
Name "From1"
Position [15, 132, 75, 148]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_Load"
}
Block {
BlockType From
Name "From2"
Position [15, 157, 75, 173]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc_Load"
}
Block {
BlockType From
Name "From3"
Position [15, 17, 75, 33]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_WT"
}
Block {
BlockType From
Name "From4"
Position [15, 42, 75, 58]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc_WT"
}
Block {
BlockType From
Name "From5"
Position [365, 22, 425, 38]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_SL"
}
Block {
BlockType From
Name "From6"
Position [365, 47, 425, 63]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc_SL"
}
Block {
BlockType From
Name "From7"
Position [365, 132, 425, 148]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_SC"
}
Block {
BlockType From
Name "From8"
Position [365, 157, 425, 173]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc_SC"
}
Block {
BlockType Gain
Name "Gain1"
Position [90, 131, 120, 149]
ShowName off
Gain "480/sqrt(3)*sqrt(2)"
}
Block {
BlockType Gain
Name "Gain10"
Position [270, 144, 285, 166]
ShowName off
Gain "1/1000"
}
Block {
BlockType Gain
Name "Gain11"
Position [615, 34, 630, 56]
ShowName off
Gain "1/1000"
}
Block {
BlockType Gain
Name "Gain12"
Position [620, 144, 635, 166]
ShowName off
Gain "1/1000"
}
Block {
BlockType Gain
Name "Gain2"
Position [445, 21, 475, 39]
ShowName off
Gain "480/sqrt(3)*sqrt(2)"
}
Block {
BlockType Gain
Name "Gain3"
Position [445, 131, 475, 149]
ShowName off
Gain "480/sqrt(3)*sqrt(2)"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -