📄 imeqvec3.mdl
字号:
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "flux-current"
SrcPort 2
Points [15, 0; 0, 225]
DstBlock "Gain1"
DstPort 1
}
Annotation {
Position [243, 297]
ForegroundColor "red"
Text "ROTOR"
FontSize 12
}
Annotation {
Position [238, 86]
ForegroundColor "red"
Text "STATOR"
FontSize 12
}
Annotation {
Position [337, 79]
Text "fs"
}
Annotation {
Position [335, 294]
Text "fr"
}
Annotation {
Position [490, 120]
Text "is"
}
Annotation {
Position [332, 436]
Text "INDUCTION MACHINE SUBSYSTEM IN ARBITRARY RE"
"FERENCE FRAME"
FontSize 12
FontWeight "bold"
}
Annotation {
Position [494, 278]
Text "ir"
}
}
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [505, 105, 535, 135]
ShowName off
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "n0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
Port {
PortNumber 1
Name "wm"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Integrator
Name "Integrator3"
Ports [1, 1]
Position [200, 295, 230, 325]
ShowName off
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [395, 259, 400, 321]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [435, 31, 440, 84]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux7"
Ports [2, 1]
Position [520, 221, 525, 274]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [375, 110, 395, 130]
ShowName off
IconShape "round"
Inputs "-+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Lookup
Name "Torque pulse"
Position [75, 30, 105, 60]
FontWeight "bold"
InputValues "[0 0.1 0.1 0.5 0.5 2] "
OutputValues "[Tl0 Tl0 0 0 0.5 0.5] "
Port {
PortNumber 1
Name "Tl"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Scope
Name "currents"
Ports [1]
Position [555, 228, 585, 272]
Floating off
Location [21, 77, 449, 362]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "Stator current [pu]"
}
Grid "on"
TimeRange "1"
YMin "-1"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Constant
Name "frequency"
Position [40, 140, 70, 170]
FontWeight "bold"
Value "wk"
VectorParams1D on
}
Block {
BlockType Fcn
Name "ias"
Position [425, 275, 465, 305]
Expr "u(1)*cos(u(3))-u(2)*sin(u(3))"
Port {
PortNumber 1
Name "ias"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [317, 349, 389, 418]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontWeight "bold"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
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 [226, 80, 851, 359]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Annotation {
Position [15, 75]
HorizontalAlignment "left"
VerticalAlignment "top"
Text "The induction machine is modeled in vectori"
"zed form in conformity with the state vector formulation. This\none-to-one co"
"rrespondence can be seen by clicking both the INDUCTION MACHINE subsystem blo"
"ck and \n the MATHEMATICAL MODEL equation block. The synchronous reference fr"
"ame is chosen here because \nthe machine is operating under balanced three-ph"
"ase sinusoidal excitation; the input voltage is thefore \nconstant as indicat"
"ed.\nThe parameters describing the electromechanical system are expressed in "
"per unit and are entered\nafter double-clicking one of the PARAMETERS/IC bloc"
"ks. The system is initially assumed to be operated \nunder load in a steady "
"state defined by a specified speed. The initial conditions are established by"
" calling \na phasor calculation based on the standard steady-state equivalent"
" circuit of the induction machine.\nThe simulation can then be run. In the pr"
"esent case, it exhibits the dynamic response to a pulsed\napplied torque. The"
" torque developed, the speed, and the stator current are observed on the sco"
"pes .\nThe torque-speed dynamic characteristics can then be obtained after do"
"uble clicking the X-Y PLOT block.\n"
FontName "Arial"
FontSize 12
}
Annotation {
Position [299, 37]
ForegroundColor "blue"
Text "Running of a Line-Fed Induction Motor \n S"
"ynchronous frame \nPer unit system"
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Fcn
Name "mag"
Position [420, 180, 460, 210]
Expr "sqrt(u(1)^2+u(2)^2)"
Port {
PortNumber 1
Name "Is_mag"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Scope
Name "mec"
Ports [2]
Position [630, 49, 665, 96]
NamePlacement "alternate"
Floating off
Location [457, 78, 1005, 727]
Open on
NumInputPorts "2"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "torque [pu]"
axes2 "speed [pu]"
}
Grid "on"
TimeRange "1"
YMin "-0.4~0.975"
YMax "1~1.015"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "space vector"
Ports []
Position [627, 350, 695, 416]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "close all,figure(1),plot(wm,Te,'-r'),grid,title"
"('TORQUE-SPEED DYNAMIC CHARACTERISTICS'),xlabel('SPEED [pu]'),ylabel('TORQUE "
"[pu]')"
FontWeight "bold"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('XY plots')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "space vector"
Location [81, 508, 528, 696]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Constant
Name "voltage"
Position [40, 90, 70, 120]
FontWeight "bold"
Value "[vs 0]"
VectorParams1D on
}
Block {
BlockType Gain
Name "wo"
Position [255, 294, 290, 326]
ShowName off
Gain "wo"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "thetas"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Outport
Name "wm"
Position [640, 113, 670, 127]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Te"
Position [345, 133, 375, 147]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "voltage"
SrcPort 1
DstBlock "IM"
DstPort 1
}
Line {
SrcBlock "frequency"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 155]
DstBlock "Integrator3"
DstPort 1
}
Branch {
DstBlock "IM"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "ias"
DstPort 1
}
Line {
Name "ias"
Labels [0, 0]
SrcBlock "ias"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Mux7"
DstPort 2
}
Line {
Name "Is_mag"
Labels [0, 1]
SrcBlock "mag"
SrcPort 1
Points [20, 0; 0, 40]
DstBlock "Mux7"
DstPort 1
}
Line {
SrcBlock "Mux7"
SrcPort 1
DstBlock "currents"
DstPort 1
}
Line {
Name "is"
Labels [0, 1]
SrcBlock "IM"
SrcPort 2
Points [35, 0]
Branch {
DstBlock "mag"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Demux"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "mec"
DstPort 1
}
Line {
Name "Te"
Labels [0, 1]
SrcBlock "IM"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
Labels [-1, 1]
Points [0, -50]
DstBlock "Mux6"
DstPort 2
}
Branch {
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-95, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Integrator3"
SrcPort 1
DstBlock "wo"
DstPort 1
}
Line {
Name "thetas"
Labels [0, 0]
SrcBlock "wo"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
Name "wm"
Labels [1, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [75, 0]
Branch {
DstBlock "mec"
DstPort 2
}
Branch {
DstBlock "wm"
DstPort 1
}
Branch {
Points [0, 40]
Branch {
Points [0, 185; -495, 0; 0, -140]
DstBlock "IM"
DstPort 3
}
Branch {
DstBlock "Bm"
DstPort 1
}
}
}
Line {
SrcBlock "Clock2"
SrcPort 1
DstBlock "Torque pulse"
DstPort 1
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Torque pulse"
SrcPort 1
Points [275, 0]
Branch {
Labels [-1, 1]
DstBlock "Mux6"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Annotation {
Position [55, 334]
Text "or"
FontSize 11
FontWeight "bold"
}
Annotation {
Position [479, 94]
Text "MECHANICAL SYSTEM"
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -