📄 d_bpa.mdl
字号:
";"
MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1."
"5 -1.5])\ncolor('red')\nplot(1.5*xp-0.7,2*yp,1.2+1.5*xs,2*ys,2.8+1.5*xs,2*ys)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|omega|[0.05 -0.05]|[24.4 3]|20 5|[0.05 0.1"
"5 0.05 0.15]|[25 0.5]|[0.045 0.045 0.045 -0.045]|[1.000 0.95]|off"
System {
Name "Pss"
Location [67, 205, 401, 397]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [120, 100, 150, 130]
ShowName off
}
Block {
BlockType Outport
Name "Out1"
Position [190, 105, 210, 125]
ShowName off
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Name "Power System Stabilizer"
Position [164, 45]
}
}
}
Block {
BlockType SubSystem
Name "Pss1"
Tag "PSATblock"
Description "Controls"
Ports [0, 1]
Position [860, 170, 895, 190]
Orientation "left"
ShowName off
TreatAsAtomicUnit off
RTWSystemCode "Auto"
MaskType "Pss"
MaskDescription "This block defines a Power System Stabilizer."
MaskPromptString "PSS model|Input Signal|Max & Min Stabilizer Out"
"put [p.u.]|Gain Kw and time constant Tw [p.u./p.u., s]|Electrical power gain"
" Kp & voltage gain Kv [p.u./p.u., p.u./p.u.]|Lead-Lag time constants T1, T2, "
"T3, T4 [s, s, s, s]|Gain Ka and time constant Ta [p.u./p.u., s]|Additional si"
"gnal limits Va_max, Va_thr, V3_max & V3_min [p.u., p.u., p.u., p.u.]|Threshol"
"d limits E_thr & w_thr [p.u., p.u.]|Allow switch S2"
MaskStyleString "popup(1|2|3|4|5),popup(omega|power|voltage),edi"
"t,edit,edit,edit,edit,edit,edit,checkbox"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "fm_block|||||||||"
MaskEnableString "on,on,on,on,off,on,off,off,off,off"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,"
MaskVariables "p2q=@1;p3q=@2;p4_5q=@3;p6_7q=@4;p14_15q=@5;p8_9"
"_10_11q=@6;p12_13q=@7;p16_17_18_19q=@8;p20_21q=@9;p22q=@10;"
MaskInitialization "[xs,ys] = fm_draw('S');\n[xp,yp] = fm_draw('P')"
";"
MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1."
"5 -1.5])\ncolor('red')\nplot(1.5*xp-0.7,2*yp,1.2+1.5*xs,2*ys,2.8+1.5*xs,2*ys)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|omega|[0.05 -0.05]|[24.4 3]|20 5|[0.05 0.1"
"5 0.05 0.15]|[25 0.5]|[0.045 0.045 0.045 -0.045]|[1.000 0.95]|off"
System {
Name "Pss1"
Location [67, 205, 401, 397]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [120, 100, 150, 130]
ShowName off
}
Block {
BlockType Outport
Name "Out1"
Position [190, 105, 210, 125]
ShowName off
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Name "Power System Stabilizer"
Position [164, 45]
}
}
}
Block {
BlockType PMComponent
Name "Shunt"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 1]
Position [298, 195, 312, 245]
Orientation "down"
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
MaskType "Shunt"
MaskDescription "This block defines a constant admittance."
MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, "
"Hz]|Conductance G and Susceptance B [p.u. p.u.]"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|fm_block"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "p2_3_4q=@1;p5_6q=@2;"
MaskInitialization "[xp,yp] = fm_draw('Y');"
MaskDisplay "plot([-1 1 1 -1 -1],[0.2 0.2 -0.2 -0.2 0.2])\np"
"lot([-1 -1.5],[0 0],[1 1.2],[0 0],[1.2 1.2],[-0.2 0.2],[1.35 1.35],[-0.125 0"
".125],[1.5 1.5],[-0.05 0.05])\ncolor('blue')\nplot(xp,0.3*yp)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 500 60]|[0.0 1.0]"
}
Block {
BlockType PMComponent
Name "Shunt1"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 1]
Position [428, 395, 442, 445]
Orientation "down"
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
MaskType "Shunt"
MaskDescription "This block defines a constant admittance."
MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, "
"Hz]|Conductance G and Susceptance B [p.u. p.u.]"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|fm_block"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "p2_3_4q=@1;p5_6q=@2;"
MaskInitialization "[xp,yp] = fm_draw('Y');"
MaskDisplay "plot([-1 1 1 -1 -1],[0.2 0.2 -0.2 -0.2 0.2])\np"
"lot([-1 -1.5],[0 0],[1 1.2],[0 0],[1.2 1.2],[-0.2 0.2],[1.35 1.35],[-0.125 0"
".125],[1.5 1.5],[-0.05 0.05])\ncolor('blue')\nplot(xp,0.3*yp)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 500 60]|[0.0 1.0]"
}
Block {
BlockType PMComponent
Name "Shunt3"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 1]
Position [533, 395, 547, 445]
Orientation "down"
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
MaskType "Shunt"
MaskDescription "This block defines a constant admittance."
MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, "
"Hz]|Conductance G and Susceptance B [p.u. p.u.]"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|fm_block"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "p2_3_4q=@1;p5_6q=@2;"
MaskInitialization "[xp,yp] = fm_draw('Y');"
MaskDisplay "plot([-1 1 1 -1 -1],[0.2 0.2 -0.2 -0.2 0.2])\np"
"lot([-1 -1.5],[0 0],[1 1.2],[0 0],[1.2 1.2],[-0.2 0.2],[1.35 1.35],[-0.125 0"
".125],[1.5 1.5],[-0.05 0.05])\ncolor('blue')\nplot(xp,0.3*yp)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 500 60]|[0.0 2+7.63]"
}
Block {
BlockType PMComponent
Name "Shunt4"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 1]
Position [770, 288, 820, 302]
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
MaskType "Shunt"
MaskDescription "This block defines a constant admittance."
MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, "
"Hz]|Conductance G and Susceptance B [p.u. p.u.]"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|fm_block"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "p2_3_4q=@1;p5_6q=@2;"
MaskInitialization "[xp,yp] = fm_draw('Y');"
MaskDisplay "plot([-1 1 1 -1 -1],[0.2 0.2 -0.2 -0.2 0.2])\np"
"lot([-1 -1.5],[0 0],[1 1.2],[0 0],[1.2 1.2],[-0.2 0.2],[1.35 1.35],[-0.125 0"
".125],[1.5 1.5],[-0.05 0.05])\ncolor('blue')\nplot(xp,0.3*yp)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 115 60]|[0.0 1+6]"
}
Block {
BlockType PMComponent
Name "Shunt5"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 1]
Position [758, 400, 772, 450]
Orientation "down"
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
MaskType "Shunt"
MaskDescription "This block defines a constant admittance."
MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, "
"Hz]|Conductance G and Susceptance B [p.u. p.u.]"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|fm_block"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "p2_3_4q=@1;p5_6q=@2;"
MaskInitialization "[xp,yp] = fm_draw('Y');"
MaskDisplay "plot([-1 1 1 -1 -1],[0.2 0.2 -0.2 -0.2 0.2])\np"
"lot([-1 -1.5],[0 0],[1 1.2],[0 0],[1.2 1.2],[-0.2 0.2],[1.35 1.35],[-0.125 0"
".125],[1.5 1.5],[-0.05 0.05])\ncolor('blue')\nplot(xp,0.3*yp)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 115 60]|[0.0 1+3]"
}
Block {
BlockType PMComponent
Name "Shunt6"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 1]
Position [998, 380, 1012, 430]
Orientation "down"
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
MaskType "Shunt"
MaskDescription "This block defines a constant admittance."
MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, "
"Hz]|Conductance G and Susceptance B [p.u. p.u.]"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|fm_block"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "p2_3_4q=@1;p5_6q=@2;"
MaskInitialization "[xp,yp] = fm_draw('Y');"
MaskDisplay "plot([-1 1 1 -1 -1],[0.2 0.2 -0.2 -0.2 0.2])\np"
"lot([-1 -1.5],[0 0],[1 1.2],[0 0],[1.2 1.2],[-0.2 0.2],[1.35 1.35],[-0.125 0"
".125],[1.5 1.5],[-0.05 0.05])\ncolor('blue')\nplot(xp,0.3*yp)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 13.8 60]|[0.0 1.0]"
}
Block {
BlockType Reference
Name "Slack"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [120, 149, 130, 181]
ShowName off
SourceBlock "fm_lib/Power Flow/Slack"
SourceType "SW"
PhysicalDomain "psatdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
RConnTagsString "__newr0"
p2_3q "[5000 13.8]"
p4q "0.98"
p5q "0.00"
p6_7q "[0.32 -0.2]"
p8_9q "[1.1 0.9]"
p10q "0.80"
p11q "1"
}
Block {
BlockType SubSystem
Name "Syn"
Tag "PSATblock"
Description "Machines"
Ports [2, 0, 0, 0, 0, 0, 1]
Position [205, 312, 235, 343]
ShowName off
FontSize 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -