📄 smeqvec2a.mdl
字号:
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator3"
Ports [1, 1]
Position [195, 280, 225, 310]
ShowName off
InitialCondition "delta0"
Port {
PortNumber 1
Name "delta"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Lookup
Name "Look-Up\nTable"
Position [75, 330, 105, 360]
ForegroundColor "red"
ShowName off
InputValues "[0 0.1 0.1 5]"
OutputValues "[V V 0 0] "
Port {
PortNumber 1
Name "Vt"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Mux
Name "Mux3"
Ports [3, 1]
Position [525, 19, 530, 121]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [465, 301, 470, 354]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "SM1"
Ports [3, 3]
Position [150, 88, 305, 242]
ShowName off
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
"),[-.5 -1 1 .5],[-.866 -1.2 -1.2 -.866] )\ndisp('SYNCHRONOUS\\nMACHINE')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "SM1"
Location [628, 97, 1119, 481]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "70"
Block {
BlockType Inport
Name "vs"
Position [25, 98, 55, 112]
NamePlacement "alternate"
}
Block {
BlockType Inport
Name "vf"
Position [30, 283, 60, 297]
Port "2"
}
Block {
BlockType Inport
Name "wm"
Position [25, 123, 55, 137]
Port "3"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [455, 97, 460, 233]
BackgroundColor "black"
ShowName off
Outputs "3"
Port {
PortNumber 3
Name "if"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Product
Name "Div"
Ports [2, 1]
Position [225, 92, 275, 143]
Inputs "*/"
Multiplication "Matrix(*)"
InputSameDT off
}
Block {
BlockType Reference
Name "Dot Product"
Ports [2, 1]
Position [560, 19, 600, 61]
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
Port {
PortNumber 1
Name "Te"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "Gain1"
Position [205, 330, 235, 360]
Orientation "left"
ShowName off
Gain "Rf"
}
Block {
BlockType Gain
Name "Gain5"
Position [175, 380, 205, 410]
ShowName off
Gain "-wo"
}
Block {
BlockType Gain
Name "Gain6"
Position [180, 275, 205, 305]
ShowName off
Gain "wo"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [235, 380, 265, 410]
ShowName off
InitialCondition "fk0"
Port {
PortNumber 1
Name "fk"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [235, 275, 265, 305]
ShowName off
InitialCondition "phif0"
Port {
PortNumber 1
Name "ff"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "Inverse\ninductance"
Position [350, 127, 425, 203]
Gain "L_1"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [320, 96, 325, 234]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [135, 280, 155, 300]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Gain
Name "damper\nreistances"
Position [205, 440, 255, 480]
Orientation "left"
Gain "[Rkd 0;0 Rkq]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "rot1"
Position [380, 15, 410, 45]
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "rot2"
Position [175, 90, 205, 120]
NamePlacement "alternate"
Gain "[0 1;-1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Outport
Name "ia"
Position [630, 243, 660, 257]
}
Block {
BlockType Outport
Name "if"
Position [630, 203, 660, 217]
Port "2"
}
Block {
BlockType Outport
Name "Te"
Position [630, 33, 660, 47]
Port "3"
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "damper\nreistances"
SrcPort 1
Points [-60, 0; 0, -65]
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "rot2"
DstPort 1
}
Line {
SrcBlock "Gain6"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain6"
DstPort 1
}
Line {
SrcBlock "vf"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-55, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "rot1"
SrcPort 1
DstBlock "Dot Product"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [60, 0]
Branch {
Points [0, -70]
DstBlock "Dot Product"
DstPort 2
}
Branch {
Points [0, 130]
DstBlock "ia"
DstPort 1
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "Dot Product"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Inverse\ninductance"
DstPort 1
}
Line {
SrcBlock "Inverse\ninductance"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
Name "fk"
Labels [0, 0]
SrcBlock "Integrator1"
SrcPort 1
Points [20, 0; 0, -230]
DstBlock "Mux2"
DstPort 2
}
Line {
Name "ff"
Labels [0, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [35, 0]
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [40, 0; 0, 295]
DstBlock "damper\nreistances"
DstPort 1
}
Line {
Name "if"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 3
Points [15, 0]
Branch {
DstBlock "if"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Div"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "rot1"
DstPort 1
}
}
Line {
SrcBlock "rot2"
SrcPort 1
DstBlock "Div"
DstPort 1
}
Line {
SrcBlock "wm"
SrcPort 1
DstBlock "Div"
DstPort 2
}
Annotation {
Name "DAMPERS"
Position [208, 427]
ForegroundColor "red"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "ARMATURE"
Position [208, 181]
ForegroundColor "red"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "fa"
Position [297, 104]
}
Annotation {
Name "ia"
Position [480, 110]
}
Annotation {
Name "FIELD"
Position [203, 317]
ForegroundColor "red"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "DQ MODEL OF THE SYNCHRONOUS MACHINE\n "
" (armature transients ignored)"
Position [410, 521]
ForegroundColor "blue"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Flux bus"
Position [326, 80]
FontAngle "italic"
}
Annotation {
Name "Current bus"
Position [458, 79]
FontAngle "italic"
}
Annotation {
Name "dfa/dt = 0\nRa = 0"
Position [216, 209]
ForegroundColor "red"
FontName "Arial"
FontSize 14
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "SubSystem"
Ports []
Position [460, 374, 735, 390]
BackgroundColor "yellow"
DropShadow on
ShowName off
OpenFcn "edit(which('smvecdef2.m'))"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('Double click the block to modify the para"
"meters');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "SubSystem"
Location [152, 182, 650, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -