📄 d_009_fault.mdl
字号:
DstPort 1
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "t2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bus 9"
Tag "PSATblock"
Description "Connection"
Ports [1, 2, 0, 0, 0]
Position [595, 92, 600, 168]
Orientation "left"
BackgroundColor "blue"
NamePlacement "alternate"
FontName "Courier New"
FontSize 14
ShowPortLabels on
MaskType "Bus"
MaskDescription "Bus block"
MaskPromptString "Number of inputs:|Number of outputs:|Voltage Ra"
"te [kV]|Voltage initial guess [p.u. rad]|Area number|Region number"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "||||fm_block|"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskVariables "in=@1;out=@2;p2q=@3;p3_4q=@4;p5q=@5;p6q=@6;"
MaskInitialization "fm_inout\n\n"
MaskDisplay "plot([0 1 1 0 0],[0 0 1 1 0])"
MaskSelfModifiable on
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "1|2|230|[1.00 0.00]|2|1"
System {
Name "Bus 9"
Location [336, 348, 727, 705]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
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 "g1"
Position [105, 20, 130, 50]
Value "1"
}
Block {
BlockType Constant
Name "g2"
Position [130, 70, 155, 100]
Value "1"
}
Block {
BlockType Terminator
Name "t1"
Position [65, 20, 90, 50]
}
Block {
BlockType Outport
Name "out_1"
Position [155, 25, 175, 45]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_2"
Position [185, 75, 205, 95]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "g2"
SrcPort 1
DstBlock "out_2"
DstPort 1
}
Line {
SrcBlock "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Fault"
Tag "PSATblock"
Description "Faults & Breakers"
Ports [1, 0, 0, 0, 0]
Position [258, 190, 282, 230]
Orientation "down"
ShowName off
SourceBlock "fm_lib/Faults & \nBreakers/Fault"
SourceType "Fault"
p2_3_4q "[100 230 60]"
p5q "1.00"
p6q "1.083"
p7q "0.00"
p8q "0.001"
}
Block {
BlockType SubSystem
Name "Gen1"
Tag "PSATblock"
Description "Machines"
Ports [0, 1, 0, 0, 0]
Position [80, 139, 115, 171]
ShowName off
FontSize 12
ShowPortLabels on
MaskType "Syn"
MaskDescription "This block defines a fourth order synchronous "
"machine."
MaskPromptString "Power, voltage and frequency rates [MVA, kV, Hz"
"]|Machine Dynamic Order|resistance ra and leakage reactance xl [p.u. p.u.]|d-"
"axis reactances Xd, X'd X\"d [p.u.,p.u.,p.u.]|d-axis open circuit time consta"
"nts T'd0 and T\"d0 [s, s]|q-axis reactances Xq, X'q, X\"q [p.u. p.u. p.u.]|"
"q-axis open circuit time constants T'q0 and T\"q0 [s s]|Inertia (M = 2H) and "
"Damping [s, p.u.]|Speed and active power additional signals Kw & Kp [p.u., p."
"u.]|Active and reactive power rate injected at bus |d-axis additional circuit"
" leakage time constant Taa [s] |Number of input signals"
MaskStyleString "edit,popup(8|6|5.3|5.2|5.1|4|3|2),edit,edit,edi"
"t,edit,edit,edit,edit,edit,edit,popup(0|1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "|fm_block||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,off,off,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on"
MaskVariables "p2_3_4q=@1;p5q=@2;p7_6q=@3;p8_9_10q=@4;p11_12q="
"@5;p13_14_15q=@6;p16_17q=@7;p18_19q=@8;p20_21q=@9;p22_23q=@10;p24q=@11;in=@12"
";"
MaskInitialization "fm_inout\n[x,y] = fm_draw('circle');\n[xg,yg] ="
" fm_draw('G');\n[xs,ys] = fm_draw('sinus');\n"
MaskDisplay "plot(x+1.4,y,1.4+0.45*xg,0.3+0.45*yg,0.12*xs+1,"
"0.15*ys-0.6)\n\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[100 18 60]|2|[0.00 0.0521]|[0.8958 0.1198"
" 0.0000]|[6.00 0.00]|[0.8645 0.1969 0.0000]|[0.5350 0.0000]|[12.80 0.00"
"]|[0.00 0.00]|[1.00 1.00]|0.002|0"
System {
Name "Gen1"
Location [152, 241, 486, 433]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [185, 100, 215, 130]
ShowName off
Value "1"
}
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
}
Annotation {
Text "Synchronous Machine"
Position [164, 45]
}
}
}
Block {
BlockType SubSystem
Name "Gen3"
Tag "PSATblock"
Description "Machines"
Ports [0, 1, 0, 0, 0]
Position [745, 133, 780, 167]
Orientation "left"
NamePlacement "alternate"
ShowName off
FontSize 12
ShowPortLabels on
MaskType "Syn"
MaskDescription "This block defines a fourth order synchronous "
"machine."
MaskPromptString "Power, voltage and frequency rates [MVA, kV, Hz"
"]|Machine Dynamic Order|resistance ra and leakage reactance xl [p.u. p.u.]|d-"
"axis reactances Xd, X'd X\"d [p.u.,p.u.,p.u.]|d-axis open circuit time consta"
"nts T'd0 and T\"d0 [s, s]|q-axis reactances Xq, X'q, X\"q [p.u. p.u. p.u.]|"
"q-axis open circuit time constants T'q0 and T\"q0 [s s]|Inertia (M = 2H) and "
"Damping [s, p.u.]|Speed and active power additional signals Kw & Kp [p.u., p."
"u.]|Active and reactive power rate injected at bus |d-axis additional circuit"
" leakage time constant Taa [s] |Number of input signals"
MaskStyleString "edit,popup(8|6|5.3|5.2|5.1|4|3|2),edit,edit,edi"
"t,edit,edit,edit,edit,edit,edit,popup(0|1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "|fm_block||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,off,off,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on"
MaskVariables "p2_3_4q=@1;p5q=@2;p7_6q=@3;p8_9_10q=@4;p11_12q="
"@5;p13_14_15q=@6;p16_17q=@7;p18_19q=@8;p20_21q=@9;p22_23q=@10;p24q=@11;in=@12"
";"
MaskInitialization "fm_inout\n[x,y] = fm_draw('circle');\n[xg,yg] ="
" fm_draw('G');\n[xs,ys] = fm_draw('sinus');\n"
MaskDisplay "plot(x+1.4,y,1.4+0.45*xg,0.3+0.45*yg,0.12*xs+1,"
"0.15*ys-0.6)\n\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[100 13.8 60]|2|[0.00 0.0742]|[1.3125 0.18"
"13 0.0000]|[5.89 0.00]|[1.2578 0.2500 0.0000]|[0.600 0.0000]|[6.02 0.00"
"]|[0.00 0.00]|[1.00 1.00]|0.002|0"
System {
Name "Gen3"
Location [152, 241, 486, 433]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [185, 100, 215, 130]
ShowName off
Value "1"
}
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
}
Annotation {
Text "Synchronous Machine"
Position [164, 45]
}
}
}
Block {
BlockType SubSystem
Name "Gen4"
Tag "PSATblock"
Description "Machines"
Ports [0, 1, 0, 0, 0]
Position [442, 280, 478, 310]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontSize 12
ShowPortLabels on
MaskType "Syn"
MaskDescription "This block defines a fourth order synchronous "
"machine."
MaskPromptString "Power, voltage and frequency rates [MVA, kV, Hz"
"]|Machine Dynamic Order|resistance ra and leakage reactance xl [p.u. p.u.]|d-"
"axis reactances Xd, X'd X\"d [p.u.,p.u.,p.u.]|d-axis open circuit time consta"
"nts T'd0 and T\"d0 [s, s]|q-axis reactances Xq, X'q, X\"q [p.u. p.u. p.u.]|"
"q-axis open circuit time constants T'q0 and T\"q0 [s s]|Inertia (M = 2H) and "
"Damping [s, p.u.]|Speed and active power additional signals Kw & Kp [p.u., p."
"u.]|Active and reactive power rate injected at bus |d-axis additional circuit"
" leakage time constant Taa [s] |Number of input signals"
MaskStyleString "edit,popup(8|6|5.3|5.2|5.1|4|3|2),edit,edit,edi"
"t,edit,edit,edit,edit,edit,edit,popup(0|1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "|fm_block||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,off,off,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on"
MaskVariables "p2_3_4q=@1;p5q=@2;p7_6q=@3;p8_9_10q=@4;p11_12q="
"@5;p13_14_15q=@6;p16_17q=@7;p18_19q=@8;p20_21q=@9;p22_23q=@10;p24q=@11;in=@12"
";"
MaskInitialization "fm_inout\n[x,y] = fm_draw('circle');\n[xg,yg] ="
" fm_draw('G');\n[xs,ys] = fm_draw('sinus');\n"
MaskDisplay "plot(x+1.4,y,1.4+0.45*xg,0.3+0.45*yg,0.12*xs+1,"
"0.15*ys-0.6)\n\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[100 16.5 60]|2|[0.00 0.0336]|[0.1460 0.06"
"08 0.0000]|[8.96 0.00]|[0.0969 0.0969 0.0000]|[0.310 0.0000]|[2*23.64 0"
".00]|[0.00 0.00]|[1.00 1.00]|0.002|0"
System {
Name "Gen4"
Location [152, 241, 486, 433]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [185, 100, 215, 130]
ShowName off
Value "1"
}
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
}
Annotation {
Text "Synchronous Machine"
Position [164, 45]
}
}
}
Block {
BlockType Reference
Name "Line"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [475, 104, 560, 116]
Orientation "left"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 230 60]"
p6q "0"
p8q "0.0119"
p9q "0.1008"
p10q "0.1045*2"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Line1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [325, 104, 410, 116]
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 230 60]"
p6q "0"
p8q "0.0085"
p9q "0.072"
p10q "0.0745*2"
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 [554, 190, 566, 265]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 230 60]"
p6q "0"
p8q "0.039"
p9q "0.170"
p10q "0.179*2"
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 [304, 190, 316, 265]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 230 60]"
p6q "0"
p8q "0.032"
p9q "0.161"
p10q "0.153*2"
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 [329, 350, 341, 425]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 230 60]"
p6q "0"
p8q "0.01"
p9q "0.085"
p10q "0.088*2"
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 [529, 350, 541, 425]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 230 60]"
p6q "0"
p8q "0.017"
p9q "0.092"
p10q "0.079*2"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType SubSystem
Name "PQ1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [570, 310, 600, 340]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "Courier"
FontSize 14
ShowPortLabels on
MaskType "PQ"
MaskDescription "This block defines a constant power load:\n\nP "
"= Pcost.\nQ = Qcost."
MaskPromptString "Power and Voltage Rates [MVA, kV]|Active and Re"
"active Powers [p.u. p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u."
"]|Allow conversion to impendance for min & max voltage"
MaskStyleString "edit,edit,edit,checkbox"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||fm_block"
MaskEnableString "on,on,off,on"
MaskVisibilityString "on,on,on,on"
MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;"
MaskDisplay "plot([ 1 -0.5 -0.5 1],[ 0 0.866 -0.8"
"66 0])\nplot([-0.5 -1],[0 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 230]|[0.90 0.30]|[1.2 0.8]|off"
System {
Name "PQ1"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "gray"
PaperOrientation "landscape"
PaperPositionMode "auto"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -