📄 iwconnect.mdl
字号:
"ACHINE IN ARBITRARY REFERENCE FRAME\n(per unit formulation)"
Position [312, 451]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "ir"
Position [494, 278]
}
}
}
Block {
BlockType Gain
Name "M"
Position [885, 190, 915, 220]
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "M1"
Position [890, 360, 920, 390]
NamePlacement "alternate"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [350, 460, 355, 560]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Pr"
Ports [1]
Position [1035, 303, 1065, 347]
NamePlacement "alternate"
Location [657, 668, 1094, 818]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Pr [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-0.5"
YMax "0.5"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [410, 368, 455, 417]
ShowName off
InputSameDT off
}
Block {
BlockType Scope
Name "Ps"
Ports [1]
Position [1025, 138, 1055, 182]
NamePlacement "alternate"
Location [678, 539, 1124, 823]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Ps [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-1.5"
YMax "1.5"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "Ps controller"
Ports [1, 1]
Position [220, 439, 300, 491]
TreatAsAtomicUnit off
MaskDescription "Proportional-Integral Speed Controller"
MaskPromptString "Proportional gain (Kp)|Integral gain (Ki)|Satur"
"ation limit [pu]"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "Kp=@1;Ki=@2;sat=@3;"
MaskDisplay "plot(0,0,100,100,[35,35,65],[70,30,30],[35,65],"
"[45,60])\n"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString ".07|10|10"
System {
Name "Ps controller"
Location [762, 604, 1069, 751]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Pser"
Position [20, 78, 50, 92]
}
Block {
BlockType Gain
Name "Gain"
Position [85, 71, 110, 99]
ShowName off
Gain "Ki"
}
Block {
BlockType Gain
Name "Gain1"
Position [120, 16, 150, 44]
ShowName off
Gain "Kp"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [130, 70, 155, 100]
ShowName off
InitialCondition "vro(1)"
LimitOutput on
UpperSaturationLimit "sat"
LowerSaturationLimit "-sat"
}
Block {
BlockType Saturate
Name "Saturation"
Position [225, 50, 245, 70]
ShowName off
UpperLimit "sat"
LowerLimit "-sat"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [175, 50, 195, 70]
ShowName off
IconShape "round"
}
Block {
BlockType Outport
Name "Vsder"
Position [260, 53, 290, 67]
InitialOutput "0"
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Pser"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Vsder"
DstPort 1
}
}
}
Block {
BlockType Lookup
Name "Psref"
Position [80, 446, 115, 484]
BackgroundColor "yellow"
NamePlacement "alternate"
FontWeight "bold"
InputValues "[0 2 2.01 30 ] "
OutputValues "[0 0 -1 -1]"
}
Block {
BlockType Scope
Name "Qr"
Ports [1]
Position [1040, 363, 1070, 407]
Location [706, 676, 1143, 827]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Qr [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-0.5"
YMax "0.5"
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Qs"
Ports [1]
Position [1030, 193, 1060, 237]
Location [679, 463, 1116, 653]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Qs [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-1"
YMax "1"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "Qs controller"
Ports [1, 1]
Position [220, 524, 300, 576]
TreatAsAtomicUnit off
MaskDescription "Proportional-Integral Speed Controller"
MaskPromptString "Proportional gain (Kp)|Integral gain (Ki)|Satur"
"ation limit [pu]"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "Kp=@1;Ki=@2;sat=@3;"
MaskDisplay "plot(0,0,100,100,[35,35,65],[70,30,30],[35,65],"
"[45,60])\n"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString ".07|10|1000"
System {
Name "Qs controller"
Location [762, 604, 1069, 751]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Qser"
Position [20, 78, 50, 92]
}
Block {
BlockType Gain
Name "Gain"
Position [85, 71, 110, 99]
ShowName off
Gain "Ki"
}
Block {
BlockType Gain
Name "Gain1"
Position [120, 16, 150, 44]
ShowName off
Gain "Kp"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [130, 70, 155, 100]
ShowName off
InitialCondition "vro(2)"
LimitOutput on
UpperSaturationLimit "sat"
LowerSaturationLimit "-sat"
}
Block {
BlockType Saturate
Name "Saturation"
Position [225, 50, 245, 70]
ShowName off
UpperLimit "sat"
LowerLimit "-sat"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [175, 50, 195, 70]
ShowName off
IconShape "round"
}
Block {
BlockType Outport
Name "Vsqer"
Position [260, 53, 290, 67]
InitialOutput "0"
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Vsqer"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Qser"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -55]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Lookup
Name "Qsref"
Position [85, 531, 120, 569]
BackgroundColor "yellow"
NamePlacement "alternate"
FontWeight "bold"
InputValues "[0 3 3.01 10 ] "
OutputValues "[0 0 .5 .5]"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [145, 455, 165, 475]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [175, 540, 195, 560]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [480, 385, 500, 405]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
Port {
PortNumber 1
Name "vr"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [430, 275, 450, 295]
ShowName off
IconShape "round"
Inputs "+-|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
Port {
PortNumber 1
Name "wr"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Lookup
Name "gama\n[deg]"
Position [130, 141, 165, 179]
BackgroundColor "yellow"
FontWeight "bold"
InputValues "[0 1 1.01 20]"
OutputValues "[gamo gamo 20 20]"
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [987, 494, 1059, 563]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('INFO')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "info"
Location [19, 135, 663, 337]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "The induction machine is modeled in vectori"
"zed form in the synchronous frame . The d-axis is aligned with the\nstator sp"
"ace voltage vector. The injected rotor voltages (at slip frequency) are deri"
"ved from PI controllers that\nregulate the active and reactive powers deliver"
"ed by the generator.\nThe speed is adjusted by the turbine pitch control to m"
"aximize the power generated at a given wind speed.\nThe whole system is descr"
"ibed by parameters expressed in per unit. The machine representations are bas"
"ed\non the motor convention; consequently in the generator mode of operation,"
" such quantities as Ps, Qs, Tw, Te are\nnegative (with wm>0) while Pr is posi"
"tive for subsynchronous operation and negative for oversynchronous mode.\nBef"
"ore running this model, <iwopen.mdl> must be run in order to establish the in"
"itial conditions when the \ngenerator stator is disconnected from the grid."
Position [15, 50]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "Doubly-Fed Induction Generator \ndriven by "
"a Wind Turbine "
Position [319, 27]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Scope
Name "is"
Ports [1]
Position [1025, 73, 1055, 117]
NamePlacement "alternate"
Location [14, 70, 620, 372]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Stator current [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-1.5"
YMax "1.5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "shift"
Ports [2, 1]
Position [275, 124, 330, 171]
TreatAsAtomicUnit off
Port {
PortNumber 1
Name "vs"
PropagatedSignals ", "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -