📄 iwconnect.mdl
字号:
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "shift"
Location [616, 260, 1055, 487]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "vso"
Position [20, 77, 50, 93]
}
Block {
BlockType Inport
Name "gama"
Position [20, 112, 50, 128]
Port "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [150, 16, 300, 64]
ShowName off
Expr "u(1)*cos(u(3))-u(2)*sin(u(3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [150, 185, 310, 225]
ShowName off
Expr "u(1)*sin(u(3))+u(2)*cos(u(3))"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [125, 12, 130, 63]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [2, 1]
Position [125, 177, 130, 228]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux5"
Ports [2, 1]
Position [340, 106, 345, 139]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "d2r"
Position [100, 103, 130, 137]
Gain "pi/180"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Outport
Name "vs"
Position [370, 118, 400, 132]
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "vs"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [20, 0]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [10, 0]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "gama"
SrcPort 1
DstBlock "d2r"
DstPort 1
}
Line {
SrcBlock "vso"
SrcPort 1
Points [15, 0; 0, 0]
Branch {
Points [0, 105]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Mux3"
DstPort 1
}
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "d2r"
SrcPort 1
Points [45, 0]
Branch {
Points [0, 40; -80, 0; 0, 55]
DstBlock "Mux4"
DstPort 2
}
Branch {
Points [0, -35; -80, 0; 0, -35]
DstBlock "Mux3"
DstPort 2
}
}
}
}
Block {
BlockType Scope
Name "torque"
Ports [1]
Position [765, 133, 795, 177]
NamePlacement "alternate"
Location [648, 105, 1171, 357]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Torque [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-1.5"
YMax "0.5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "vr"
Ports [1]
Position [595, 413, 625, 457]
Location [710, 426, 1147, 840]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Rotor voltage [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-0.4"
YMax "0.4"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "105000"
}
Block {
BlockType Scope
Name "vr1"
Ports [1]
Position [575, 488, 605, 532]
Location [710, 426, 1147, 840]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Rotor correction voltage [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-0.1"
YMax "0.1"
SaveName "ScopeData7"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "105000"
}
Block {
BlockType Constant
Name "vso"
Position [185, 120, 215, 150]
BackgroundColor "yellow"
NamePlacement "alternate"
FontWeight "bold"
Value "[1 0]"
}
Block {
BlockType Constant
Name "wk"
Position [375, 170, 405, 200]
BackgroundColor "yellow"
NamePlacement "alternate"
FontWeight "bold"
}
Block {
BlockType Lookup
Name "wmo"
Position [240, 201, 275, 239]
BackgroundColor "yellow"
NamePlacement "alternate"
FontWeight "bold"
InputValues "[0 4 4.01 10 ] "
OutputValues "[wmo wmo 1.3 1.3]"
Port {
PortNumber 1
Name "wmref"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Line {
Name "vs"
SrcBlock "shift"
SrcPort 1
Points [25, 0]
Branch {
Labels [1, 0]
Points [145, 0]
Branch {
Points [0, 0]
DstBlock "IM"
DstPort 1
}
Branch {
Points [0, 135; 430, 0; 0, -65]
Branch {
Points [0, -55]
DstBlock "Dot Product"
DstPort 2
}
Branch {
DstBlock "Dot Product1"
DstPort 2
}
}
}
Branch {
Points [0, 255]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "wk"
SrcPort 1
Points [-5, 0; 35, 0]
Branch {
DstBlock "IM"
DstPort 2
}
Branch {
DstBlock "Sum4"
DstPort 1
}
}
Line {
Name "Ps"
Labels [0, 1]
SrcBlock "Dot Product"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Ps"
DstPort 1
}
Branch {
Points [0, -35; 135, 0; 0, 505; -985, 0]
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "M"
SrcPort 1
DstBlock "Dot Product1"
DstPort 1
}
Line {
Name "Qs"
Labels [0, 1]
SrcBlock "Dot Product1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Qs"
DstPort 1
}
Branch {
Points [0, 45; 105, 0; 0, 345; -925, 0]
DstBlock "Sum2"
DstPort 2
}
}
Line {
Name "is"
Labels [0, 0]
SrcBlock "IM"
SrcPort 2
Points [125, 0]
Branch {
DstBlock "M"
DstPort 1
}
Branch {
Points [0, -55]
Branch {
DstBlock "Dot Product"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "is"
DstPort 1
}
}
}
Line {
Name "Pr"
Labels [-1, 1]
SrcBlock "Dot Product2"
SrcPort 1
DstBlock "Pr"
DstPort 1
}
Line {
SrcBlock "M1"
SrcPort 1
DstBlock "Dot Product3"
DstPort 1
}
Line {
Name "Qr"
Labels [0, 1]
SrcBlock "Dot Product3"
SrcPort 1
DstBlock "Qr"
DstPort 1
}
Line {
SrcBlock "IM"
SrcPort 3
Points [125, 0; 0, 60]
Branch {
Points [0, 60]
DstBlock "M1"
DstPort 1
}
Branch {
DstBlock "Dot Product2"
DstPort 1
}
}
Line {
SrcBlock "Clock1"
SrcPort 1
DstBlock "wmo"
DstPort 1
}
Line {
Name "wmref"
Labels [0, 0]
SrcBlock "wmo"
SrcPort 1
Points [0, 0; 105, 0]
Branch {
DstBlock "IM"
DstPort 3
}
Branch {
Points [0, 65]
DstBlock "Sum4"
DstPort 2
}
}
Line {
Name "Te"
Labels [-1, 1]
SrcBlock "IM"
SrcPort 1
DstBlock "torque"
DstPort 1
}
Line {
SrcBlock "Qs controller"
SrcPort 1
Points [20, 0; 0, -15]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Qs controller"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Ps controller"
DstPort 1
}
Line {
SrcBlock "Ps controller"
SrcPort 1
Points [25, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Line {
Name "wr"
Labels [0, 0]
SrcBlock "Sum4"
SrcPort 1
Points [10, 0; 0, 50; -80, 0; 0, 45]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
Name "vr"
Labels [0, 0]
SrcBlock "Sum3"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -140]
DstBlock "IM"
DstPort 4
}
Branch {
Points [400, 0]
Branch {
DstBlock "Dot Product3"
DstPort 2
}
Branch {
Points [0, -65]
DstBlock "Dot Product2"
DstPort 2
}
}
Branch {
Points [0, 40]
DstBlock "vr"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [130, 0]
Branch {
DstBlock "vr1"
DstPort 1
}
Branch {
DstBlock "Sum3"
DstPort 2
}
}
Line {
SrcBlock "Clock4"
SrcPort 1
DstBlock "Psref"
DstPort 1
}
Line {
SrcBlock "Psref"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Clock2"
SrcPort 1
DstBlock "Qsref"
DstPort 1
}
Line {
SrcBlock "Qsref"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Clock3"
SrcPort 1
DstBlock "gama\n[deg]"
DstPort 1
}
Line {
SrcBlock "vso"
SrcPort 1
DstBlock "shift"
DstPort 1
}
Line {
SrcBlock "gama\n[deg]"
SrcPort 1
DstBlock "shift"
DstPort 2
}
Annotation {
Name "DOUBLY-FED INDUCTION GENERATOR\nDRIVEN BY A WIN"
"D TURBINE"
Position [526, 41]
ForegroundColor "red"
FontName "Arial"
FontSize 16
FontWeight "bold"
}
Annotation {
Name "SPEED"
Position [233, 257]
}
Annotation {
Name "Reactive power setting"
Position [82, 510]
}
Annotation {
Name "Activee power setting"
Position [67, 420]
}
Annotation {
Name "Stator voltage"
Position [181, 96]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -