📄 d_ex13_2.mdl
字号:
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [25, 25, 45, 45]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [185, 100, 215, 130]
ShowName off
Value "1"
}
Block {
BlockType Terminator
Name "t1"
Position [80, 20, 105, 50]
}
Block {
BlockType Outport
Name "Out1"
Position [255, 105, 275, 125]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Annotation {
Text "Synchronous Machine"
Position [164, 45]
}
}
}
Block {
BlockType Reference
Name "Line1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [405, 50, 465, 60]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p6q "0"
p8q "0.0"
p9q "0.5"
p10q "0.0"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Line2"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [405, 85, 465, 95]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p6q "0"
p8q "0.0"
p9q "0.93"
p10q "0.0"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Line3"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [405, 210, 465, 220]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p6q "0"
p8q "0.0"
p9q "0.5"
p10q "0.0"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Line4"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [405, 245, 465, 255]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p6q "0"
p8q "0.0"
p9q "0.93"
p10q "0.0"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Line5"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [405, 380, 465, 390]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p6q "0"
p8q "0.0"
p9q "0.5"
p10q "0.0"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Line6"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [405, 415, 465, 425]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p6q "0"
p8q "0.0"
p9q "0.93"
p10q "0.0"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType SubSystem
Name "PSS2"
Tag "PSATblock"
Description "Controls"
Ports [0, 1, 0, 0, 0]
Position [60, 387, 100, 413]
ShowName off
ShowPortLabels on
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"
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])\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.2 -0.2]|[9.5 1.41]|20 5|[0.154 0.0"
"33 1 1]|[25 0.5]|[0.045 0.045 0.045 -0.045]|[1.000 0.95]|off"
System {
Name "PSS2"
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
Value "1"
}
Block {
BlockType Outport
Name "Out1"
Position [190, 105, 210, 125]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Text "Power System Stabilizer"
Position [164, 45]
}
}
}
Block {
BlockType Reference
Name "PV"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [185, 90, 215, 120]
ShowName off
SourceBlock "fm_lib/Power Flow/PV"
SourceType "PV"
p2_3q "[2220 400]"
p4q "0.9"
p5q "1.00"
p6_7q "[0.8 -0.2]"
p8_9q "[1.1 0.9]"
p10q "1"
}
Block {
BlockType Reference
Name "PV1"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [185, 250, 215, 280]
ShowName off
SourceBlock "fm_lib/Power Flow/PV"
SourceType "PV"
p2_3q "[2220 400]"
p4q "0.9"
p5q "1.00"
p6_7q "[0.8 -0.2]"
p8_9q "[1.1 0.9]"
p10q "1"
}
Block {
BlockType Reference
Name "PV2"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [185, 420, 215, 450]
ShowName off
SourceBlock "fm_lib/Power Flow/PV"
SourceType "PV"
p2_3q "[2220 400]"
p4q "0.9"
p5q "1.00"
p6_7q "[0.8 -0.2]"
p8_9q "[1.1 0.9]"
p10q "1"
}
Block {
BlockType Reference
Name "Slack"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [475, 109, 485, 141]
ShowName off
SourceBlock "fm_lib/Power Flow/Slack"
SourceType "SW"
p2_3q "[2220 400]"
p4q "0.90081"
p5q "0.00"
p6_7q "[1.5 -1.5]"
p8_9q "[1.1 0.9]"
p10q "0.80"
p11q "1"
}
Block {
BlockType Reference
Name "Slack1"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [475, 269, 485, 301]
ShowName off
SourceBlock "fm_lib/Power Flow/Slack"
SourceType "SW"
p2_3q "[2220 400]"
p4q "0.90081"
p5q "0.00"
p6_7q "[1.5 -1.5]"
p8_9q "[1.1 0.9]"
p10q "0.80"
p11q "1"
}
Block {
BlockType Reference
Name "Slack2"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [475, 439, 485, 471]
ShowName off
SourceBlock "fm_lib/Power Flow/Slack"
SourceType "SW"
p2_3q "[2220 400]"
p4q "0.90081"
p5q "0.00"
p6_7q "[1.5 -1.5]"
p8_9q "[1.1 0.9]"
p10q "0.80"
p11q "1"
}
Block {
BlockType Reference
Name "Transf1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [270, 77, 320, 103]
ShowName off
SourceBlock "fm_lib/Power Flow/Transf1"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p7q "1"
p8q "0.0"
p9q "0.15"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Transf2"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [270, 237, 320, 263]
ShowName off
SourceBlock "fm_lib/Power Flow/Transf1"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p7q "1"
p8q "0.0"
p9q "0.15"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Transf3"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [270, 407, 320, 433]
ShowName off
SourceBlock "fm_lib/Power Flow/Transf1"
SourceType "Line"
p3_4_5q "[2220 400 60]"
p7q "1"
p8q "0.0"
p9q "0.15"
p13_14_15q "[0.0 0.0 0.0]"
}
Line {
SrcBlock "Gen"
SrcPort 1
DstBlock "Bus1"
DstPort 1
}
Line {
SrcBlock "PV"
SrcPort 1
DstBlock "Bus1"
DstPort 2
}
Line {
SrcBlock "Bus1"
SrcPort 1
DstBlock "Transf1"
DstPort 1
}
Line {
SrcBlock "Transf1"
SrcPort 1
DstBlock "Bus2"
DstPort 1
}
Line {
SrcBlock "Bus2"
SrcPort 2
DstBlock "Breaker"
DstPort 1
}
Line {
SrcBlock "Bus2"
SrcPort 1
DstBlock "Line1"
DstPort 1
}
Line {
SrcBlock "Line1"
SrcPort 1
DstBlock "Bus3"
DstPort 1
}
Line {
SrcBlock "Line2"
SrcPort 1
DstBlock "Bus3"
DstPort 2
}
Line {
SrcBlock "Slack"
SrcPort 1
DstBlock "Bus3"
DstPort 3
}
Line {
SrcBlock "Breaker"
SrcPort 1
DstBlock "Line2"
DstPort 1
}
Line {
SrcBlock "Bus2"
SrcPort 3
DstBlock "Fault"
DstPort 1
}
Line {
SrcBlock "AVR1"
S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -