📄 imcapvecc.mdl
字号:
FontName "Arial"
FontSize 11
}
}
}
Block {
BlockType Gain
Name "open"
Position [400, 375, 445, 405]
Orientation "left"
Gain "1500"
}
Block {
BlockType Gain
Name "rpm"
Position [685, 40, 705, 70]
Gain "30/pi"
}
Block {
BlockType Sin
Name "sine"
Position [15, 125, 45, 155]
BackgroundColor "yellow"
SineType "Time based"
Amplitude "110*sqrt(2)"
Frequency "2*pi*60"
Phase "pi/2"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "space vector1"
Ports []
Position [722, 460, 790, 526]
ForegroundColor "red"
DropShadow on
ShowName off
OpenFcn "T=(1500:length(t)); "
" "
" "
" \nfig"
"ure(1),plot(speed(T),Tav(T),'-r'),grid,title('TORQUE-SPEED CHARACTERISTICS'),"
"xlabel('Speed [rpm]'),ylabel('Average torque [N.m]'),figure(2),plot(speed(T),"
"Te(T)-Tav(T),'-r'),grid,title('TORQUE-SPEED CHARACTERISTICS'),xlabel('Speed ["
"rpm]'),ylabel('Pulsating torque [N.m]')"
FontWeight "bold"
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 vector1"
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 "speed0"
Ports [1]
Position [740, 31, 775, 79]
ForegroundColor "green"
NamePlacement "alternate"
Location [608, 454, 1090, 798]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Speed [rpm]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "7"
YMin "-1000"
YMax "2000"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "torques"
Ports [1]
Position [565, 31, 600, 79]
ForegroundColor "green"
NamePlacement "alternate"
Location [608, 84, 1088, 389]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Torque [N.m]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "7"
YMin "-8"
YMax "6"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "wmo"
Position [550, 134, 590, 156]
Value "377/2"
}
Block {
BlockType Outport
Name "Te"
Position [420, 138, 450, 152]
}
Block {
BlockType Outport
Name "speed"
Position [735, 93, 765, 107]
Port "2"
}
Block {
BlockType Outport
Name "Tav"
Position [545, 88, 575, 102]
Port "3"
}
Line {
Name "iline"
Labels [0, 0]
SrcBlock "Sum1"
SrcPort 1
Points [125, 0; 0, 25]
DstBlock "current"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [100, 0; 0, -25]
DstBlock "current"
DstPort 2
}
Line {
SrcBlock "Mux8"
SrcPort 1
DstBlock "IM1"
DstPort 1
}
Line {
Name "vaux"
Labels [0, 0]
SrcBlock "Sum"
SrcPort 1
DstBlock "Mux8"
DstPort 1
}
Line {
SrcBlock "sine"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Labels [-1, 0]
Points [0, 35]
DstBlock "Mux8"
DstPort 2
}
Branch {
Labels [1, 0]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "IM1"
SrcPort 2
DstBlock "Demux"
DstPort 1
}
Line {
Name "iaux"
Labels [0, 1]
SrcBlock "Demux"
SrcPort 1
Points [0, -15; 120, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, 90]
Branch {
DstBlock "Mux2"
DstPort 2
}
Branch {
Points [0, 75]
Branch {
DstBlock "open"
DstPort 1
}
Branch {
Points [0, 45]
Branch {
Points [0, 55]
DstBlock "1/(Cstart+Crun)"
DstPort 1
}
Branch {
DstBlock "1/Crun"
DstPort 1
}
}
}
}
}
Line {
Name "imain"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 2
Points [0, 20; 150, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "1/J"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torques"
DstPort 1
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-60, 0]
DstBlock "Sum3"
DstPort 3
}
Line {
Name "wmec"
Labels [1, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 55]
Branch {
DstBlock "Bm"
DstPort 1
}
Branch {
Points [0, 155; -505, 0; 0, -80]
DstBlock "IM1"
DstPort 3
}
}
Branch {
Points [0, -75]
DstBlock "rpm"
DstPort 1
}
}
Line {
SrcBlock "rpm"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "speed0"
DstPort 1
}
Branch {
Points [0, 45]
Branch {
DstBlock "speed"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Relational\nOperator"
DstPort 1
}
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "IM1"
SrcPort 1
Points [25, 0; 0, -55; 15, 0]
Branch {
Labels [1, 0]
DstBlock "Sum3"
DstPort 2
}
Branch {
DstBlock "Te"
DstPort 1
}
Branch {
Points [0, -40]
Branch {
Labels [-1, 1]
Points [0, -25]
DstBlock "Mux6"
DstPort 2
}
Branch {
DstBlock " averaging"
DstPort 1
}
}
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "1/J"
DstPort 1
}
Line {
SrcBlock "Clock1"
SrcPort 1
DstBlock "Ramping\nload torque"
DstPort 1
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Ramping\nload torque"
SrcPort 1
Points [325, 0]
Branch {
DstBlock "Mux6"
DstPort 1
}
Branch {
DstBlock "Sum3"
DstPort 1
}
}
Line {
Name "wk"
Labels [0, 0]
SrcBlock "Ground1"
SrcPort 1
DstBlock "IM1"
DstPort 2
}
Line {
SrcBlock " averaging"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "Mux6"
DstPort 3
}
Branch {
Points [0, 15]
DstBlock "Tav"
DstPort 1
}
}
Line {
SrcBlock "open"
SrcPort 1
DstBlock "Manal Switch1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Manal Switch1"
DstPort 2
}
Line {
SrcBlock "1/Crun"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Manal Switch1"
SrcPort 1
DstBlock "Manal Switch2"
DstPort 1
}
Line {
SrcBlock "Manal Switch2"
SrcPort 1
Points [-30, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "1/(Cstart+Crun)"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [-125, 0; 0, -30]
DstBlock "Manal Switch2"
DstPort 2
}
Line {
SrcBlock "wmo"
SrcPort 1
Points [0, -10]
DstBlock "Integrator2"
DstPort 2
}
Line {
SrcBlock "Nstop"
SrcPort 1
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock "Stop Simulation"
DstPort 1
}
Annotation {
Name "OPEN"
Position [552, 388]
ForegroundColor "red"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "CAPACITOR RUN"
Position [583, 437]
ForegroundColor "red"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "CAPACITOR START"
Position [587, 491]
ForegroundColor "red"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "vmain"
Position [123, 181]
}
Annotation {
Name "Torque-speed "
Position [761, 451]
ForegroundColor "red"
FontName "Arial"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Double click the manual switches\nto change the"
" configuration"
Position [226, 512]
ForegroundColor "red"
FontName "Arial"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -