📄 smeqvec2a.mdl
字号:
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [95, 285, 115, 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 [425, 205, 445, 225]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Step
Name "Tl"
Position [60, 422, 85, 458]
ForegroundColor "red"
Time "0"
After "Te0"
SampleTime "0"
Port {
PortNumber 1
Name "Tl"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Scope
Name "armature\ncurrent"
Ports [1]
Position [630, 48, 660, 92]
NamePlacement "alternate"
Location [613, 86, 1123, 324]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Armature current [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "id&iq"
Ports [1]
Position [405, 93, 435, 137]
Location [623, 526, 1126, 808]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "d- and q- currents [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "3"
YMin "-8"
YMax "4"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "if"
Ports [1]
Position [365, 143, 395, 187]
NamePlacement "alternate"
Location [619, 360, 1126, 585]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Field current [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "3"
YMin "1"
YMax "4.5"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [567, 289, 639, 358]
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 "info"
Location [624, 655, 1109, 793]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "Synchronous machine transients\nunder short"
"circuit"
Position [243, 17]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "This demonstration illustrates the dynam"
"ics of a synchronous generator, initially\nat no load, following a three-pha"
"se short circuit at the terminals.\nThe electric dynamic model of the synchro"
"nous machine is represented by a 3rd-\norder system accounting for the field "
"and damper circuits but ignoring armature\ntransients (dfa/dt = 0).\n"
Position [10, 40]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 12
}
}
}
Block {
BlockType Constant
Name "phase"
Position [470, 90, 500, 120]
ForegroundColor "red"
Value "0"
}
Block {
BlockType SubSystem
Name "plots"
Ports []
Position [667, 285, 735, 351]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "close all,figure(1),plot(t,ia,'-r'),grid,title("
"'ARMATURE CURRENT versus TIME'),figure(2),plot(t,iff,'-g'),grid,title('FIELD "
"CURRENT versus TIME')"
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 [528, 410, 682, 487]
ForegroundColor "red"
DropShadow on
ShowName off
OpenFcn "smeqvec2\n \n \n "
FontName "Arial"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('To 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 Clock
Name "t"
Position [430, 60, 450, 80]
Decimation "10"
}
Block {
BlockType Scope
Name "torques"
Ports [1]
Position [510, 306, 545, 354]
NamePlacement "alternate"
Location [37, 76, 605, 330]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "torque"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "3"
YMin "-0.4"
YMax "0.05"
DataFormat "StructureWithTime"
}
Block {
BlockType Constant
Name "voltage1"
Position [50, 150, 80, 180]
ForegroundColor "red"
ShowName off
Value "vf0"
}
Block {
BlockType Gain
Name "w"
Position [470, 56, 505, 84]
ShowName off
Gain "wo"
}
Block {
BlockType Gain
Name "wo"
Position [145, 279, 180, 311]
ShowName off
Gain "wo"
}
Block {
BlockType Constant
Name "ws"
Position [45, 280, 75, 310]
ForegroundColor "red"
}
Block {
BlockType Outport
Name "ia"
Position [630, 103, 660, 117]
}
Block {
BlockType Outport
Name "iff"
Position [365, 193, 395, 207]
ShowName off
Port "2"
}
Line {
SrcBlock "voltage1"
SrcPort 1
DstBlock "SM1"
DstPort 2
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-75, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torques"
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 {
Name "vs"
Labels [2, 0]
SrcBlock "Armature\nvoltage"
SrcPort 1
Points [15, 0; 0, 85; -335, 0; 0, -290]
DstBlock "SM1"
DstPort 1
}
Line {
SrcBlock "wo"
SrcPort 1
DstBlock "Integrator3"
DstPort 1
}
Line {
Name "delta"
Labels [1, 0]
SrcBlock "Integrator3"
SrcPort 1
DstBlock "Armature\nvoltage"
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
DstBlock "Armature\nvoltage"
DstPort 2
}
Line {
Name "wm"
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, -50]
DstBlock "Bm"
DstPort 1
}
Branch {
Labels [1, 0]
Points [0, 35; -505, 0]
Branch {
Labels [-1, 0]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "SM1"
DstPort 3
}
}
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Tl"
SrcPort 1
Points [310, 0; 0, -100; 35, 0]
Branch {
DstBlock "Mux6"
DstPort 2
}
Branch {
DstBlock "Sum2"
DstPort 3
}
}
Line {
SrcBlock "w"
SrcPort 1
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "phase"
SrcPort 1
DstBlock "Mux3"
DstPort 3
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "t"
SrcPort 1
DstBlock "w"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "armature\ncurrent"
DstPort 1
}
Branch {
DstBlock "ia"
DstPort 1
}
}
Line {
SrcBlock "SM1"
SrcPort 2
Points [40, 0]
Branch {
DstBlock "if"
DstPort 1
}
Branch {
DstBlock "iff"
DstPort 1
}
}
Line {
SrcBlock "SM1"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "id&iq"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Mux3"
DstPort 1
}
}
Line {
SrcBlock "SM1"
SrcPort 3
Points [85, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [0, 100]
DstBlock "Mux6"
DstPort 1
}
}
Annotation {
Name "Tl"
Position [429, 243]
}
Annotation {
Name "SHORT CIRCUIT OF AN ALTERNATOR"
Position [181, 40]
ForegroundColor "red"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "iff"
Position [405, 205]
}
Annotation {
Name "Armature transients ignored"
Position [354, 475]
FontName "Arial"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -