📄 imeqsivec1a.mdl
字号:
PortNumber 1
Name "Tl"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [440, 289, 445, 351]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [480, 65, 485, 125]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux7"
Ports [2, 1]
Position [565, 251, 570, 304]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux8"
Ports [2, 1]
Position [145, 116, 150, 169]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [420, 150, 440, 170]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Constant
Name "Tl0"
Position [95, 25, 125, 55]
ForegroundColor "red"
Value "20"
Port {
PortNumber 1
Name "Tl0"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Lookup
Name "Torque"
Position [95, 75, 125, 105]
ForegroundColor "red"
InputValues "[0 0.2 0.2 0.5 0.5 1]"
OutputValues "[20 20 10 10 20 20] "
Port {
PortNumber 1
Name "Tl"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Constant
Name "Voltage"
Position [25, 114, 85, 146]
ForegroundColor "red"
Value "220*sqrt(2/3)"
Port {
PortNumber 1
Name "vds"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Scope
Name "currents"
Ports [1]
Position [600, 258, 630, 302]
ForegroundColor "green"
NamePlacement "alternate"
Location [7, 77, 511, 367]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Stator current [A]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "-20"
YMax "20"
DataFormat "StructureWithTime"
}
Block {
BlockType Constant
Name "frequency"
Position [35, 181, 75, 209]
ForegroundColor "red"
Value "2*pi*60"
Port {
PortNumber 1
Name "wo"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Fcn
Name "ias"
Position [470, 305, 510, 335]
Expr "u(1)*cos(u(3))-u(2)*sin(u(3))"
Port {
PortNumber 1
Name "ias"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [37, 229, 109, 298]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
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 [15, 175, 512, 340]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "98"
Annotation {
Name "Running of an induction motor\nunder balanc"
"ed sinusoidal excitation"
Position [243, 17]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "This demonstration illustrates the stead"
"y-state running of an induction motor at a \nspecified load followed by sudd"
"en step changes in load. \nFirst establish the operating point IC's by connec"
"ting the manual switch to the up\nposition and saving to workspace the simula"
"tion parameters defined as \"Final state\" ic;\nRun the simulation for a long"
" enough time to reach a steady-state condition (dc).\nThen switch down and lo"
"ad from workspace the previously computed ic as \"Initial state\". \nFinally "
"rerun the simulation.\nTo modify the machine parameters, double click the ind"
"uction motor block. "
Position [10, 40]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 12
}
}
}
Block {
BlockType Fcn
Name "mag"
Position [450, 219, 490, 251]
Expr "sqrt(u(1)^2+u(2)^2)"
Port {
PortNumber 1
Name "Is_mag"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "rpm"
Position [675, 80, 695, 110]
Gain "30/pi"
}
Block {
BlockType SubSystem
Name "space vector"
Ports []
Position [37, 320, 105, 386]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "close all,figure(1),plot(wmec,Te,'-r'),grid,tit"
"le('TORQUE-SPEED CURVE'),figure(2),plot(is(:,1),is(:,2),'-b'),axis equal,grid"
",title('CURRENT SPACE VECTOR TRAJECTORY in synchronous frame')"
TreatAsAtomicUnit off
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"
}
}
Block {
BlockType Scope
Name "speed"
Ports [1]
Position [710, 71, 745, 119]
ForegroundColor "green"
NamePlacement "alternate"
Location [519, 393, 1003, 732]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Speed [rpm]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "1730"
YMax "1770"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "torques"
Ports [1]
Position [515, 71, 550, 119]
ForegroundColor "green"
NamePlacement "alternate"
Location [521, 75, 993, 363]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Torque [N.m]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "10"
YMax "22"
DataFormat "StructureWithTime"
}
Block {
BlockType Outport
Name "Te"
Position [380, 178, 410, 192]
ForegroundColor "green"
}
Block {
BlockType Outport
Name "wmec"
Position [680, 153, 710, 167]
ForegroundColor "green"
Port "2"
}
Block {
BlockType Outport
Name "is"
Position [405, 208, 435, 222]
ForegroundColor "green"
Port "3"
}
Line {
Name "Is_mag"
Labels [0, 1]
SrcBlock "mag"
SrcPort 1
Points [35, 0; 0, 30]
DstBlock "Mux7"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/J"
DstPort 1
}
Line {
SrcBlock "1/J"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Mux8"
SrcPort 1
DstBlock "IM"
DstPort 1
}
Line {
Name "vqs"
Labels [0, 0]
SrcBlock "Ground"
SrcPort 1
DstBlock "Mux8"
DstPort 2
}
Line {
Name "Te"
SrcBlock "IM"
SrcPort 1
Points [15, 0]
Branch {
Labels [1, 0]
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [0, 25]
DstBlock "Te"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, -50]
DstBlock "Mux6"
DstPort 2
}
}
Line {
SrcBlock "IM"
SrcPort 2
Points [15, 0]
Branch {
Points [0, -20]
DstBlock "is"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Demux"
DstPort 1
}
Branch {
DstBlock "mag"
DstPort 1
}
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torques"
DstPort 1
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-70, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Mux7"
SrcPort 1
DstBlock "currents"
DstPort 1
}
Line {
Name "vds"
Labels [-1, 1]
SrcBlock "Voltage"
SrcPort 1
DstBlock "Mux8"
DstPort 1
}
Line {
Name "wo"
SrcBlock "frequency"
SrcPort 1
Points [65, 0]
Branch {
Points [0, 145]
DstBlock "Integrator3"
DstPort 1
}
Branch {
Labels [1, 0]
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 "thetas"
Labels [1, 0]
SrcBlock "Integrator3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Clock1"
SrcPort 1
DstBlock "Torque"
DstPort 1
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Torque"
SrcPort 1
DstBlock "Manual Switch"
DstPort 2
}
Line {
Name "Tl0"
Labels [0, 1]
SrcBlock "Tl0"
SrcPort 1
Points [45, 0; 0, 30]
DstBlock "Manual Switch"
DstPort 1
}
Line {
Name "Tl"
SrcBlock "Manual Switch"
SrcPort 1
Points [190, 0]
Branch {
Labels [-1, 1]
DstBlock "Mux6"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
Name "wmec"
Labels [1, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [65, 0]
Branch {
DstBlock "wmec"
DstPort 1
}
Branch {
Points [0, 35]
Branch {
Points [0, 180; -495, 0; 0, -130]
DstBlock "IM"
DstPort 3
}
Branch {
DstBlock "Bm"
DstPort 1
}
}
Branch {
Points [0, -65]
DstBlock "rpm"
DstPort 1
}
}
Line {
SrcBlock "rpm"
SrcPort 1
DstBlock "speed"
DstPort 1
}
Annotation {
Name "INDUCTION MOTOR TRANSIENTS"
Position [307, 23]
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "MECHANICAL\nLOAD"
Position [591, 219]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "up to establish IC's at operating point"
Position [295, 45]
FontName "Arial"
FontSize 11
}
Annotation {
Position [78, 12]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -