📄 smeqvec0a.mdl
字号:
Name "Flux bus"
Position [326, 80]
FontAngle "italic"
}
Annotation {
Name "Current bus"
Position [458, 79]
FontAngle "italic"
}
Annotation {
Name "dfa/dt = 0"
Position [216, 209]
ForegroundColor "red"
FontName "Arial"
FontSize 14
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "SubSystem"
Ports []
Position [415, 299, 700, 315]
BackgroundColor "yellow"
DropShadow on
ShowName off
OpenFcn "edit(which('smdef0vec.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 "Sum"
Ports [2, 1]
Position [100, 285, 120, 305]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "-+|"
Port {
PortNumber 1
Name "slip"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [390, 95, 410, 115]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Constant
Name "Te0"
Position [55, 15, 85, 45]
ShowName off
Value "Te0"
}
Block {
BlockType Scope
Name "deltao"
Ports [1]
Position [355, 243, 385, 287]
Location [19, 193, 450, 453]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "delta [deg]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-50"
YMax "-10"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "id&iq"
Ports [1]
Position [395, 183, 425, 227]
Location [6, 101, 434, 371]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "dq currents"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-6"
YMax "1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "if"
Ports [1]
Position [340, 133, 370, 177]
NamePlacement "alternate"
Location [455, 512, 1107, 803]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "field current"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "1.5"
YMax "4.5"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "info1"
Ports []
Position [472, 189, 544, 258]
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 "info1"
Location [20, 186, 518, 385]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "Synchronous machine transients"
Position [243, 17]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "This demonstration illustrates the dynam"
"ics of a synchronous machine following the\nsudden application and removal of"
" a three-phase short circuit at the terminals.\nTo modify the parameters and "
"loading conditions, click the yellow block.\nStart the simulation. \nFour mo"
"dels of the synchronous machine are provided:\n 1) A complete model (5th-or"
"der)\n 2) Armature transients ignored by setting dfa/dt=0 (3rd-order)\n 3"
") Both armature transients and damper effects are neglected (1st-order)\n 4"
") Constant field flux linkage (zero-order)"
Position [10, 40]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "darkGreen"
FontSize 12
}
}
}
Block {
BlockType SubSystem
Name "plots"
Ports []
Position [582, 190, 650, 256]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "smeq0plt"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('PLOTS')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "plots"
Location [83, 506, 530, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "plots1"
Ports []
Position [492, 345, 642, 420]
ForegroundColor "red"
DropShadow on
ShowName off
OpenFcn "smeqvec0\n \n \n "
FontName "Arial"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('RETURN\\nto complete model')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "plots1"
Location [83, 506, 530, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Gain
Name "rad2deg"
Position [285, 249, 320, 281]
Gain "180/pi"
}
Block {
BlockType Scope
Name "speed"
Ports [1]
Position [600, 83, 630, 127]
NamePlacement "alternate"
Location [584, 515, 1123, 785]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "3"
YMin "0.994"
YMax "1.01"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "torques"
Ports [1]
Position [515, 21, 550, 69]
NamePlacement "alternate"
Location [455, 116, 1106, 393]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "torque"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "5"
YMin "-2"
YMax "-0.2"
DataFormat "StructureWithTime"
}
Block {
BlockType Constant
Name "voltage1"
Position [55, 140, 85, 170]
ShowName off
Value "vf0"
}
Block {
BlockType Gain
Name "wo"
Position [150, 279, 185, 311]
ShowName off
Gain "wo"
}
Block {
BlockType Constant
Name "ws"
Position [50, 280, 80, 310]
}
Block {
BlockType Outport
Name "wm"
Position [600, 138, 630, 152]
}
Block {
BlockType Outport
Name "del"
Position [350, 213, 380, 227]
Port "2"
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torques"
DstPort 1
}
Line {
SrcBlock "voltage1"
SrcPort 1
DstBlock "SM1"
DstPort 2
}
Line {
SrcBlock "SM1"
SrcPort 2
DstBlock "if"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "SM1"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
Labels [-1, 1]
Points [0, -50]
DstBlock "Mux6"
DstPort 2
}
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-75, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
Name "wm"
Labels [0, 1]
SrcBlock "Integrator2"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "speed"
DstPort 1
}
Branch {
DstBlock "Goto"
DstPort 1
}
Branch {
Points [0, 40]
Branch {
DstBlock "Bm"
DstPort 1
}
Branch {
DstBlock "wm"
DstPort 1
}
}
}
Line {
SrcBlock "Te0"
SrcPort 1
Points [310, 0]
Branch {
DstBlock "Mux6"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "ws"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
Name "slip"
Labels [1, 0]
SrcBlock "Sum"
SrcPort 1
DstBlock "wo"
DstPort 1
}
Line {
SrcBlock "wo"
SrcPort 1
DstBlock "Integrator3"
DstPort 1
}
Line {
Name "vs"
Labels [2, 0]
SrcBlock "Armature\nvoltage"
SrcPort 1
Points [15, 0; 0, 70; -335, 0; 0, -300]
DstBlock "SM1"
DstPort 1
}
Line {
Name "delta"
Labels [1, 1]
SrcBlock "Integrator3"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 20]
DstBlock "Armature\nvoltage"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "rad2deg"
DstPort 1
}
}
Line {
SrcBlock "SM1"
SrcPort 3
DstBlock "id&iq"
DstPort 1
}
Line {
SrcBlock "rad2deg"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "deltao"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "del"
DstPort 1
}
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Look-Up\nTable"
DstPort 1
}
Line {
Name "Vt"
Labels [0, 0]
SrcBlock "Look-Up\nTable"
SrcPort 1
Points [0, 25; 145, 0]
DstBlock "Armature\nvoltage"
DstPort 2
}
Line {
Name "wm"
SrcBlock "From1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "SM1"
DstPort 3
}
}
Annotation {
Name "TRANSIENT STABILITY"
Position [237, 57]
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -