📄 d_014_statcom.mdl
字号:
LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" p2_3q "[100 18]" p5q "1.09" p6_7q "[0.24 -0.06]" p8_9q "[1.2 0.8]" p10q "1" p11q on } Block { BlockType Reference Name "Slack1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 0, 1] Position [192, 660, 238, 700] Orientation "down" NamePlacement "alternate" ShowName off FontName "Arial" FontSize 20 SourceBlock "fm_lib/Power Flow/Slack" SourceType "SW" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" p2_3q "[100 69]" p4q "1.06" p5q "0.00" p6_7q "[9.9 -9.9]" p8_9q "[1.2 0.8]" p10q "2.324" p11q "1" p12q on p13q on } Block { BlockType PMComponent Name "StatCom" Tag "PSATblock" Description "FACTS" Ports [0, 0, 0, 0, 0, 1] Position [785, 55, 825, 150] Orientation "up" ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "Statcom" MaskDescription "This block describes a StatCom component." MaskHelp "Tree control methodology are available:\n\nType 1, Magnitude control: m contro""ls AC voltage by mean of a lead-lag transfer function, whereas alpha controls DC voltage by mean of a"" PI regulator.\n\nType 2, Phase control: alpha controls AC voltage by mean of a PI regulator along wi""th a lead-lag transfer function, whereas m is kept at 0.9.\n\nType 3, Phase control: alpha controls A""C voltage by mean of a two poles and one zero transfer function, whereas m is kept at 0.9. In this ca""se parameters Kp and Ki are respectively the gain and the time constant of the low pass filter." MaskPromptString "Power, voltage and frequency ratings [MVA, kV, Hz]|Gain and time consta""nt of the current control Kr, Tr [p.u./p.u. s]|Max and Min Current [p.u. p.u.]|Connected" MaskStyleString "edit,edit,edit,checkbox" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||fm_block" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "p2_3_4q=@1;p5_6q=@2;p7_8q=@3;p9q=@4;" MaskInitialization "[x,y] = fm_draw('circle');\n[xc,yc] = fm_draw('cap');\n" MaskDisplay "plot([0.3 0.3 -0.95 -0.95 0.3],[-1.7 2.7 2.7 -1.7 -1.7])\nplot([-0.75 -0.75 ""-0.4],[-1.7 -5 -5],[0.1 0.1 -0.25],[-1.7 -5 -5],[-0.4 -0.4],[-4 -6])\nplot(-0.15+0.1*xc,-5+yc)\nplo""t([-0.325 -0.325],[2.7 3.5],[-0.325 -0.325],[6.9 7.5])\nplot(0.25*x-0.325,4.5+y,0.25*x-0.32""5,5.9+y)\n\ncolor('magenta')\nplot([-0.45 -0.2 -0.2 -0.45],[-0.5 -1 0 -0.5],[-0.45 -0.45],[-1 0])\npl""ot([-0.2 -0.2],[2 1],[-0.2 -0.45 -0.45 -0.2],[1.5 2 1 1.5])\nplot([-0.2 0 0 -0.65],[-0.5 -0.5 1.5 ""1.5],[0 0.2],[0.5 0.5])\nplot([-0.45 -0.65 -0.65 -0.45],[-0.5 -0.5 1.5 1.5])\nplot([-0.65 -0.85],[0.5"" 0.5],[-0.3 -0.3],[1.7 2.2],[-0.325 -0.275],[1.975 1.975])\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "[100 13.8 60]|[50 0.1]|[0.2 -0.2]|on" } Block { BlockType Reference Name "Trasf2" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [442, 595, 478, 655] Orientation "up" NamePlacement "alternate" ShowName off FontName "Arial" FontSize 20 SourceBlock "fm_lib/Power Flow/Transf2" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 69 60]" p7q "69/13.8" p8q "0.00" p9q "0.25202" p11q "0.932" p13_14_15q "[0.0 0.0 0.0]" p16q on } Block { BlockType Reference Name "Trasf3" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [687, 445, 723, 505] Orientation "up" NamePlacement "alternate" ShowName off FontName "Arial" FontSize 20 SourceBlock "fm_lib/Power Flow/Transf2" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 69 60]" p7q "69/13.8" p8q "0.0" p9q "0.55618" p11q "0.969" p13_14_15q "[0.0 0.0 0.0]" p16q on } Block { BlockType Reference Name "Trasf4" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [747, 505, 783, 565] Orientation "up" NamePlacement "alternate" ShowName off FontName "Arial" FontSize 20 SourceBlock "fm_lib/Power Flow/Transf2" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 69 60]" p7q "69/13.8" p8q "0.0" p9q "0.20912" p11q "0.978" p13_14_15q "[0.0 0.0 0.0]" p16q on } Block { BlockType Reference Name "Trasf5" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [825, 509, 885, 541] Orientation "left" ShowName off FontName "Arial" FontSize 20 SourceBlock "fm_lib/Power Flow/Transf1" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 18 60]" p7q "18/13.8" p8q "0.00" p9q "0.17615" p13_14_15q "[0.0 0.0 0.0]" p16q on } Line { LineType "Connection" SrcBlock "Line14" SrcPort RConn1 DstBlock "Bus 10" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 11" SrcPort RConn2 DstBlock "Line14" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 14" SrcPort RConn1 Points [0, -30] DstBlock "Line17" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Line17" SrcPort RConn1 Points [-85, 0] DstBlock "Bus 13" DstPort LConn3 } Line { LineType "Connection" SrcBlock "Line16" SrcPort RConn1 DstBlock "Bus 14" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 09" SrcPort RConn2 DstBlock "Line16" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 14" SrcPort RConn2 Points [0, 0] DstBlock "PQ6" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 09" SrcPort RConn1 DstBlock "Line15" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Line15" SrcPort RConn1 Points [-130, 0] DstBlock "Bus 10" DstPort LConn2 } Line { LineType "Connection" SrcBlock "Bus 11" SrcPort RConn1 DstBlock "PQ10" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Line13" SrcPort RConn1 DstBlock "Bus 11" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 06" SrcPort RConn4 DstBlock "Line13" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Line12" SrcPort RConn1 DstBlock "Bus 13" DstPort LConn2 } Line { LineType "Connection" SrcBlock "Bus 06" SrcPort RConn2 DstBlock "Line12" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Line10" SrcPort RConn1 Points [0, -59; -135, 0] DstBlock "Bus 12" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 06" SrcPort RConn1 DstBlock "Line10" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Line11" SrcPort RConn1 Points [-5, 0] DstBlock "Bus 13" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 12" SrcPort RConn2 DstBlock "Line11" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 12" SrcPort RConn1 Points [-5, 0] DstBlock "PQ7" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 13" SrcPort RConn1 DstBlock "PQ11" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Trasf3" SrcPort RConn1 Points [0, -65] DstBlock "Bus 09" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 09" SrcPort RConn3 DstBlock "PQ9" DstPort LConn1 } Line { LineType "Connection" SrcBlock "SC2" SrcPort RConn1 DstBlock "Bus 08" DstPort LConn1 } Line { LineType "Connection" SrcBlock "SC1" SrcPort RConn1 DstBlock "Bus 03" DstPort LConn1 } Line { LineType "Connection" SrcBlock "SC" SrcPort RConn1 DstBlock "Bus 06" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Slack1" SrcPort RConn1 DstBlock "Bus 01" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Bus 08" SrcPort RConn1 DstBlock "Trasf5" DstPort LConn1 } Line { LineType "Connection"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -