📄 smalonevec.mdl
字号:
ShowName off
Gain "Ra"
}
Block {
BlockType Gain
Name "Gain1"
Position [205, 330, 235, 360]
Orientation "left"
ShowName off
Gain "Rf"
}
Block {
BlockType Gain
Name "Gain4"
Position [180, 105, 205, 135]
ShowName off
Gain "wo"
}
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 "Integrator"
Ports [1, 1]
Position [235, 105, 265, 135]
ShowName off
InitialCondition "fa0"
}
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 Product
Name "Product"
Ports [2, 1]
Position [90, 47, 120, 78]
ShowName off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [135, 280, 155, 300]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [135, 110, 155, 130]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Gain
Name "damper\nreistances"
Position [205, 450, 255, 490]
Orientation "left"
Gain "[Rkd 0;0 Rkq]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "rot"
Position [180, 15, 210, 45]
Orientation "left"
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"
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "rot"
SrcPort 1
Points [-105, 0; 0, 25]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "wm"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "damper\nreistances"
SrcPort 1
Points [-60, 0; 0, -75]
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "rot"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-50, 0]
DstBlock "Sum1"
DstPort 3
}
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 "Demux"
SrcPort 1
Points [60, 0; 0, 130]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "ia"
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 [15, 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, 305]
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
}
}
Annotation {
Name "DAMPERS"
Position [208, 427]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "ARMATURE"
Position [208, 156]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "fa"
Position [297, 104]
}
Annotation {
Name "ia"
Position [480, 110]
}
Annotation {
Name "FIELD"
Position [203, 322]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "DQ MODEL OF THE SYNCHRONOUS MACHINE"
Position [405, 516]
ForegroundColor "red"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Flux bus"
Position [326, 80]
}
Annotation {
Name "Current bus"
Position [458, 79]
}
}
}
Block {
BlockType SubSystem
Name "SubSystem"
Ports []
Position [142, 335, 450, 352]
BackgroundColor "yellow"
DropShadow on
ShowName off
OpenFcn "edit(which('smalonevecdef.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"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [150, 180, 170, 200]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "-+|"
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 Scope
Name "id&iq"
Ports [1]
Position [435, 183, 465, 227]
Location [483, 137, 1121, 418]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "dq currents [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "-0.8"
YMax "0.2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "if"
Ports [1]
Position [435, 258, 465, 302]
NamePlacement "alternate"
Location [482, 484, 1125, 793]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Field current [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "1"
YMax "1.7"
DataFormat "StructureWithTime"
}
Block {
BlockType Fcn
Name "mag1"
Position [350, 39, 390, 71]
Expr "sqrt(u(1)^2+u(2)^2)"
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 Constant
Name "speed"
Position [145, 275, 175, 305]
}
Block {
BlockType Constant
Name "vdo"
Position [60, 162, 85, 188]
NamePlacement "alternate"
Value "0"
}
Block {
BlockType Constant
Name "voltage1"
Position [145, 225, 175, 255]
ShowName off
Value "vf0"
}
Block {
BlockType Scope
Name "vt"
Ports [1]
Position [430, 31, 465, 79]
NamePlacement "alternate"
Location [26, 134, 477, 367]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Terminal voltage [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "0.4"
YMax "1.1"
DataFormat "StructureWithTime"
MaxDataPoints "8000"
}
Line {
SrcBlock "voltage1"
SrcPort 1
DstBlock "SM1"
DstPort 2
}
Line {
SrcBlock "SM1"
SrcPort 2
DstBlock "if"
DstPort 1
}
Line {
SrcBlock "speed"
SrcPort 1
DstBlock "SM1"
DstPort 3
}
Line {
SrcBlock "Look-Up\nTable"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "RL LOAD"
SrcPort 1
Points [-85, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
Name "vt"
Labels [0, 0]
SrcBlock "Sum1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "SM1"
DstPort 1
}
Branch {
Points [0, -135]
DstBlock "mag1"
DstPort 1
}
}
Line {
SrcBlock "SM1"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -80]
DstBlock "RL LOAD"
DstPort 1
}
Branch {
DstBlock "id&iq"
DstPort 1
}
}
Line {
Name "vt"
Labels [0, 0]
SrcBlock "mag1"
SrcPort 1
DstBlock "vt"
DstPort 1
}
Line {
SrcBlock "vdo"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Look-Up\nTable"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -