igopen.mdl
来自「关于电机的.m程序」· MDL 代码 · 共 1,680 行 · 第 1/3 页
MDL
1,680 行
SrcBlock "Fcn1"
SrcPort 1
Points [15, 0]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [20, 0]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "ab"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "es"
Ports [1]
Position [775, 208, 805, 252]
NamePlacement "alternate"
Location [574, 96, 1128, 406]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "es [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "20"
YMin "-0.5"
YMax "1"
SaveName "ScopeData9"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "gam\n[deg]"
Position [20, 390, 60, 420]
Value "30"
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [42, 74, 114, 143]
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 [283, 161, 944, 362]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "The induction machine runs at a specified s"
"peed with the stator disconnected from the grid (is=0). The rotor\nis suddenl"
"y excited with slip-frequency voltages derived from voltage regulators so as"
" to produce a commanded\nopen-circuit stator terminal voltage.\nThe induction"
" machine is modeled in vectorized form in the synchronous frame . \nThe spec"
"ified operating conditions and the final values of the variables reached in a"
" dc steady state are all saved\nin the workspace to serve as initial conditio"
"ns in a subsequent simulation. This simulation <igconnect.mdl> deals\nwith th"
"e connection of the stator to the grid.\n"
Position [20, 70]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "Doubly-Fed Induction Generator \ndriven by "
"a Wind Turbine \nStator disconnected from grid"
Position [319, 27]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "shift"
Ports [2, 1]
Position [115, 343, 170, 392]
TreatAsAtomicUnit off
System {
Name "shift"
Location [735, 512, 1138, 753]
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 "Mux1"
Ports [2, 1]
Position [345, 92, 350, 143]
ShowName off
Inputs "2"
DisplayOption "bar"
}
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 Gain
Name "d2r"
Position [105, 105, 135, 135]
NamePlacement "alternate"
Gain "pi/180"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Outport
Name "vs"
Position [365, 113, 395, 127]
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "vso"
SrcPort 1
Points [15, 0; 0, 0]
Branch {
Points [0, -60]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Mux4"
DstPort 1
}
}
Line {
SrcBlock "gama"
SrcPort 1
DstBlock "d2r"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [15, 0; 0, 65]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [10, 0; 0, -75]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "d2r"
SrcPort 1
Points [40, 0]
Branch {
Points [0, -35; -80, 0; 0, -35]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [0, 40; -80, 0; 0, 55]
DstBlock "Mux4"
DstPort 2
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "vs"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "speed"
Position [125, 205, 155, 235]
FontWeight "bold"
Value ".7"
}
Block {
BlockType Constant
Name "wk"
Position [275, 155, 305, 185]
FontWeight "bold"
}
Block {
BlockType Constant
Name "wo"
Position [45, 465, 85, 495]
Value "120*pi"
}
Block {
BlockType Gain
Name "wo1"
Position [650, 92, 680, 128]
NamePlacement "alternate"
Gain "2*pi*60"
}
Line {
SrcBlock "IG"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 240; -435, 0]
DstBlock "Sum5"
DstPort 2
}
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "dq2ab "
DstPort 2
}
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "speed"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [20, 0; 35, 0]
Branch {
DstBlock "IG"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "To Workspace2"
DstPort 1
}
}
Branch {
Points [0, 205]
DstBlock "Switch"
DstPort 2
}
}
Line {
SrcBlock "wk"
SrcPort 1
Points [60, 0]
Branch {
DstBlock "IG"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "wo1"
DstPort 1
}
}
Line {
SrcBlock "Vso"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 20]
DstBlock "shift"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "To Workspace3"
DstPort 1
}
}
Line {
SrcBlock "gam\n[deg]"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -25]
DstBlock "shift"
DstPort 2
}
Branch {
Points [0, 20]
DstBlock "To Workspace4"
DstPort 1
}
}
Line {
SrcBlock "wo"
SrcPort 1
DstBlock "To Workspace5"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "shift"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Sum5"
DstPort 1
}
Branch {
Points [0, 110; 490, 0; 0, -240]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "es"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [45, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, -5]
DstBlock "Switch"
DstPort 3
}
Line {
Name "vr"
Labels [0, 0]
SrcBlock "Sum1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
Name "vr"
Labels [0, 0]
SrcBlock "Product1"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -110]
DstBlock "IG"
DstPort 3
}
Branch {
Points [260, 0]
Branch {
Labels [1, 0]
DstBlock "Vr"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Display2"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "To Workspace1"
DstPort 1
}
}
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [0, -40]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "dq2ab "
SrcPort 1
DstBlock "ab2ABC"
DstPort 1
}
Line {
SrcBlock "ab2ABC"
SrcPort 1
DstBlock "Eabc_s"
DstPort 1
}
Line {
SrcBlock "wo1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "dq2ab "
DstPort 1
}
Annotation {
Name "STATOR REFERENCE VOLTAGE"
Position [98, 272]
FontName "Arial"
FontWeight "bold"
}
Annotation {
Name "Synchronous frame"
Position [288, 143]
}
Annotation {
Name "DOUBLY-FED INDUCTION GENERATOR\nDRIVEN BY A WIN"
"D TURBINE"
Position [201, 46]
ForegroundColor "red"
FontName "Arial"
FontSize 16
FontWeight "bold"
}
Annotation {
Name "Excitation operation with stator open circuited"
".\nEstablishment of initial conditions."
Position [426, 521]
ForegroundColor "red"
FontName "Arial"
FontSize 16
FontWeight "bold"
}
Annotation {
Name "Is=0"
Position [540, 326]
FontName "Arial"
FontSize 16
FontWeight "bold"
}
Annotation {
Name "open-circuit\nvoltage"
Position [691, 190]
}
Annotation {
Name "Voltage regulator"
Position [287, 306]
FontName "Arial"
FontSize 12
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?