📄 smeqvec4.mdl
字号:
SrcPort 1
DstBlock "Mux8"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "vs"
DstPort 1
}
Line {
SrcBlock "Vt"
SrcPort 1
Points [170, 0; 0, -25]
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType Gain
Name "Bm"
Position [620, 311, 655, 339]
Orientation "left"
ShowName off
Gain "Bm"
}
Block {
BlockType Clock
Name "Clock"
Position [35, 310, 55, 330]
ShowName off
Decimation "10"
}
Block {
BlockType Clock
Name "Clock1"
Position [45, 640, 65, 660]
ShowName off
Decimation "10"
}
Block {
BlockType Reference
Name "Dot Product"
Ports [2, 1]
Position [590, 109, 630, 151]
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Reference
Name "Dot Product1"
Ports [2, 1]
Position [590, 49, 630, 91]
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
Port {
PortNumber 1
Name "Q"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Fcn
Name "Fcn"
Position [675, 207, 710, 243]
ShowName off
Expr "u(1)*cos(u(3)+u(4))+u(2)*sin(u(3)+u(4))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [675, 147, 710, 183]
ShowName off
Expr "sqrt(u(1)^2+u(2)^2)"
Port {
PortNumber 1
Name "ia"
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 [665, 355, 695, 385]
ShowName off
InitialCondition "n0"
Port {
PortNumber 1
Name "wm"
TestPoint off
LinearAnalysisOutput off
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 [310, 470, 340, 500]
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\nTable1"
Position [85, 305, 115, 335]
ForegroundColor "red"
NamePlacement "alternate"
InputValues "[0 20 30 50 60]"
OutputValues "[vf0 vf0 .5*vf0 3*vf0 3*vf0]"
}
Block {
BlockType Lookup
Name "Look-Up\nTable2"
Position [85, 635, 115, 665]
ForegroundColor "red"
NamePlacement "alternate"
InputValues "[0 10 15 100]"
OutputValues "[0 0 -0.82 -.82]"
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 SubSystem
Name "More Info"
Ports []
Position [595, 627, 663, 693]
BackgroundColor "yellow"
DropShadow on
ShowName off
FontName "Arial"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More Info"
Location [496, 572, 999, 665]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "105"
Annotation {
Name "SYNCHRONOUS MACHINE AGAINST AN INFINITE BUS"
" "
Position [230, 20]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
FontAngle "italic"
}
Annotation {
Name " "
Position [171, 75]
}
Annotation {
Name "SYNCHRONIZATION AND LOADING"
Position [220, 42]
ForegroundColor "green"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [770, 153, 775, 197]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [3, 1]
Position [640, 174, 645, 276]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [580, 449, 585, 516]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "P&Q"
Ports [2]
Position [715, 78, 745, 122]
NamePlacement "alternate"
Location [472, 209, 998, 420]
Open on
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "Reactive Power Q [pu]"
axes2 "Power P[pu]"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
TimeRange "60"
YMin "-2~-1"
YMax "2~1"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "SM"
Ports [3, 3]
Position [300, 243, 455, 397]
ForegroundColor "blue"
ShowName off
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"
Port {
PortNumber 3
Name "Te"
PropagatedSignals "Te"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "SM"
Location [590, 399, 1010, 715]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "59"
Block {
BlockType Inport
Name "vs"
Position [25, 113, 55, 127]
}
Block {
BlockType Inport
Name "vf"
Position [30, 283, 60, 297]
Port "2"
}
Block {
BlockType Inport
Name "wm"
Position [25, 63, 55, 77]
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 Reference
Name "Dot Product"
Ports [2, 1]
Position [555, 19, 595, 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 "Gain"
Position [200, 235, 230, 265]
Orientation "left"
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]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -