📄 imvecstline1.mdl
字号:
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "Gain1"
Position [240, 385, 270, 415]
Orientation "left"
ShowName off
Gain "Rr"
}
Block {
BlockType Gain
Name "Gain2"
Position [225, 190, 255, 220]
Orientation "left"
ShowName off
Gain "Rs"
}
Block {
BlockType Gain
Name "Gain5"
Position [220, 320, 245, 350]
ShowName off
Gain "2*pi*60"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [275, 320, 305, 350]
ShowName off
InitialCondition "[0 0]"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [130, 262, 160, 293]
ShowName off
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [175, 325, 195, 345]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [100, 100, 120, 120]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [80, 275, 100, 295]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType SubSystem
Name "flux-current1"
Ports [2, 2]
Position [355, 102, 470, 198]
ShowName off
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('FLUX-CURRENT\\nRELATIONS')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 2
Name "ir"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "flux-current1"
Location [713, 399, 1004, 690]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "fs"
Position [15, 38, 45, 52]
}
Block {
BlockType Inport
Name "fr"
Position [15, 103, 45, 117]
Port "2"
}
Block {
BlockType Gain
Name "Gm"
Position [120, 95, 150, 125]
NamePlacement "alternate"
Gain "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gm1"
Position [120, 160, 150, 190]
NamePlacement "alternate"
Gain "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gr"
Position [120, 225, 150, 255]
NamePlacement "alternate"
Gain "(Lsl+Lm )/(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gs"
Position [120, 30, 150, 60]
NamePlacement "alternate"
Gain "(Lrl+Lm) /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [175, 200, 195, 220]
ShowName off
IconShape "round"
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [175, 70, 195, 90]
ShowName off
IconShape "round"
Inputs "+-"
}
Block {
BlockType Outport
Name "is"
Position [235, 73, 265, 87]
}
Block {
BlockType Outport
Name "ir"
Position [235, 203, 265, 217]
Port "2"
}
Line {
SrcBlock "fs"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Gs"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Gm1"
DstPort 1
}
}
Line {
SrcBlock "Gs"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "fr"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Gm"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Gr"
DstPort 1
}
}
Line {
SrcBlock "Gm"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "is"
DstPort 1
}
Line {
SrcBlock "Gm1"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gr"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "ir"
DstPort 1
}
Annotation {
Name "INVERSE INDUCTANCES"
Position [142, 276]
}
}
}
Block {
BlockType SubSystem
Name "model"
Ports []
Position [550, 279, 648, 350]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "\ndisp('MATHEMATICAL\\nMODEL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "model"
Location [32, 294, 508, 693]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "Mathematical model of the induction mac"
"hine. \nState vector formulation in an arbitrary dq common reference frame.\n"
"Per unit description. "
Position [214, 27]
ForegroundColor "blue"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name " Electrical system equations: \n "
" vs = Rs is + wk M(pi/2) fs (stator transients ignored)\n "
" vr = Rr ir + 1/wo (dfr/dt) + (wk - wm) M(pi/2) fr\n where the vari"
"ables i, v, and f are 2-dimensional space vectors; for instance\n "
"is = [ids iqs] and so forth,\n wk is the speed of the reference frame, w"
"m the rotor speed,\n and M(pi/2)represents a 90o space rotator namely M("
"pi/2) = [0 -1;1 0]\n\n The flux linkage current relations are:\n "
"fs = Ls is + Lm ir or is = Gs fs -Gm fr\n "
"fr = Lm is + Lr ir ir = -Gm fs + Gr fr\n "
" Ls =Lm +Lsl ; Lr = Lm +Lrl\n "
" \n Mechanical system equations:\n Te "
"= 2H (dwm/dt ) + Bm wm + Tl \n where Te = fs (cross) is = M(pi/2) "
"fs (dot) is = fds iqs - fqs ids\n = fs x is = M("
"pi/2) fs . is\n = ir x fr = Lm (ir x is) = Lm/"
"Lr (fr x is) \n = 1/Lm' (fr x fs) Lm' ="
"Lm c/(1-c) c = 1 - Lm^2/(Ls Lr) "
Position [15, 70]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Gain
Name "rot"
Position [195, 235, 225, 265]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "rot2"
Position [190, 95, 220, 125]
NamePlacement "alternate"
Gain "[0 1;-1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Constant
Name "vr"
Position [110, 320, 140, 350]
Value "[0 0]"
}
Block {
BlockType Outport
Name "Te"
Position [610, 63, 640, 77]
}
Block {
BlockType Outport
Name "is"
Position [610, 118, 640, 132]
Port "2"
}
Line {
SrcBlock "vr"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-50, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
Name "ir"
Labels [3, 0]
SrcBlock "flux-current1"
SrcPort 2
Points [10, 0; 0, 225]
DstBlock "Gain1"
DstPort 1
}
Line {
Labels [2, 0]
SrcBlock "Integrator1"
SrcPort 1
Points [15, 0; 0, -85]
Branch {
Points [0, -75]
DstBlock "flux-current1"
DstPort 2
}
Branch {
DstBlock "rot"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "rot"
SrcPort 1
Points [-80, 0; 0, 20]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "flux-current1"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [0, -45]
DstBlock "Dot Product"
DstPort 2
}
Branch {
DstBlock "is"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Gain2"
DstPort 1
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "Dot Product"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "wk"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sum4"
DstPort 1
}
Branch {
Points [0, -150]
DstBlock "Div"
DstPort 2
}
}
Line {
SrcBlock "wm"
SrcPort 1
Points [35, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "rot2"
SrcPort 1
DstBlock "Div"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -