📄 d_006.mdl
字号:
MaskDescription "This block defines a PV bus for load flow studies:\n\nP = Pcost.\nV = Vdes." MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active Power [p.u.]|Voltage Magnitu""de [p.u.]|Qmax & Qmin [p.u. p.u.]|Vmax & Vmin [p.u. p.u.]|Loss Participation Factor|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on" MaskCallbackString "||||||fm_block" MaskEnableString "on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on" MaskVarAliasString ",,,,,," MaskVariables "p2_3q=@1;p4q=@2;p5q=@3;p6_7q=@4;p8_9q=@5;p10q=@6;p11q=@7;" MaskInitialization "[x,y] = fm_draw('circle');\n[xp,yp] = fm_draw('P');" MaskDisplay "plot(x,y)\ncolor('blue')\nplot(0.3*xp-0.35,0.6*yp,[0.1 0.3 0.5],[0.3 -0.3 0.3])\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "[100 400]|0.6|1.05|[1.5 -1.5]|[1.1 0.9]|1|on" } Block { BlockType Reference Name "Line" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [410, 249, 495, 261] ShowName off FontName "Arial" FontSize 16 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 400 60]" p6q "0" p8q "0.05" p9q "0.25" p10q "0.06" p13_14_15q "[0.3082 0.0 0.0]" p16q on } Block { BlockType PMComponent Name "Line1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [610, 159, 695, 171] ShowName off FontName "Arial" FontSize 16 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" MaskType "Line" MaskDescription "This block defines a pi model for a tree phase line." MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, Hz]|Length of line [k""m] (0 for p.u. parameters)|Resistance [p.u. (Ohms/km)]|Reactance [p.u. (H/km)]|Susceptance [p.u. (F/k""m)]|Imax, Pmax and Smax [p.u., p.u., p.u.]|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on" MaskCallbackString "||||||fm_block" MaskEnableString "on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on" MaskVarAliasString ",,,,,," MaskVariables "p3_4_5q=@1;p6q=@2;p8q=@3;p9q=@4;p10q=@5;p13_14_15q=@6;p16q=@7;" MaskInitialization "[xp,yp] = fm_draw('pi');" MaskDisplay "plot([-1 1 1 -1 -1],[-0.2 -0.2 0.2 0.2 -0.2])\ncolor('blue')\nplot(0.35*xp,0.2*yp)" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 400 60]|0|0.02|0.10|0.02|[1.3973 0.0 0.0]|on" } Block { BlockType PMComponent Name "Line10" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [530, 634, 615, 646] ShowName off FontName "Arial" FontSize 16 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" MaskType "Line" MaskDescription "This block defines a pi model for a tree phase line." MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, Hz]|Length of line [k""m] (0 for p.u. parameters)|Resistance [p.u. (Ohms/km)]|Reactance [p.u. (H/km)]|Susceptance [p.u. (F/k""m)]|Imax, Pmax and Smax [p.u., p.u., p.u.]|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on" MaskCallbackString "||||||fm_block" MaskEnableString "on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on" MaskVarAliasString ",,,,,," MaskVariables "p3_4_5q=@1;p6q=@2;p8q=@3;p9q=@4;p10q=@5;p13_14_15q=@6;p16q=@7;" MaskInitialization "[xp,yp] = fm_draw('pi');" MaskDisplay "plot([-1 1 1 -1 -1],[-0.2 -0.2 0.2 0.2 -0.2])\ncolor('blue')\nplot(0.35*xp,0.2*yp)" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 400 60]|0|0.2|0.4|0.08|[0.1796 0.0 0.0]|on" } Block { BlockType Reference Name "Line2" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [605, 340, 615, 415] Orientation "down" NamePlacement "alternate" ShowName off FontName "Arial" FontSize 16 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 400 60]" p6q "0" p8q "0.12" p9q "0.26" p10q "0.05" p13_14_15q "[0.6585 0.0 0.0]" p16q on } Block { BlockType Reference Name "Line3" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [695, 340, 705, 415] Orientation "up" NamePlacement "alternate" ShowName off FontName "Arial" FontSize 16 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 400 60]" p6q "0" p8q "0.1" p9q "0.30" p10q "0.06" p13_14_15q "[0.2 0.0 0.0]" p16q on } Block { BlockType Reference Name "Line4" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [370, 540, 440, 550] NamePlacement "alternate" ShowName off FontName "Arial" FontSize 16 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 400 60]" p6q "0" p8q "0.05" p9q "0.10" p10q "0.02" p13_14_15q "[1.3740 0.0 0.0]" p16q on } Block { BlockType Reference Name "Line5" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [235, 385, 245, 460] Orientation "up" NamePlacement "alternate" ShowName off FontName "Arial" FontSize 16 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 400 60]" p6q "0" p8q "0.1" p9q "0.2" p10q "0.04" p13_14_15q "[0.2591 0.0 0.0]" p16q on } Block { BlockType Reference Name "Line6" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [285, 619, 370, 631] ShowName off FontName "Arial" FontSize 16 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 400 60]" p6q "0" p8q "0.05" p9q "0.20" p10q "0.04" p13_14_15q "[0.9193 0.0 0.0]" p16q on } Block { BlockType Reference Name "Line7" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [355, 684, 440, 696] ShowName off FontName "Arial" FontSize 16 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 400 60]" p6q "0" p8q "0.08" p9q "0.30" p10q "0.06" p13_14_15q "[0.8478 0.0 0.0]" p16q on } Block { BlockType PMComponent Name "Line8" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [500, 94, 585, 106] ShowName off FontName "Arial" FontSize 16 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" MaskType "Line" MaskDescription "This block defines a pi model for a tree phase line." MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, Hz]|Length of line [k""m] (0 for p.u. parameters)|Resistance [p.u. (Ohms/km)]|Reactance [p.u. (H/km)]|Susceptance [p.u. (F/k""m)]|Imax, Pmax and Smax [p.u., p.u., p.u.]|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on" MaskCallbackString "||||||fm_block" MaskEnableString "on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on" MaskVarAliasString ",,,,,," MaskVariables "p3_4_5q=@1;p6q=@2;p8q=@3;p9q=@4;p10q=@5;p13_14_15q=@6;p16q=@7;" MaskInitialization "[xp,yp] = fm_draw('pi');" MaskDisplay "plot([-1 1 1 -1 -1],[-0.2 -0.2 0.2 0.2 -0.2])\ncolor('blue')\nplot(0.35*xp,0.2*yp)" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 400 60]|0|0.07|0.2|0.05|[0.9147 0.0 0.0]|on" } Block { BlockType Reference Name "Line9" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [575, 400, 585, 475] Orientation "down" NamePlacement "alternate" ShowName off FontName "Arial" FontSize 16 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 400 60]" p6q "0" p8q "0.1" p9q "0.3" p10q "0.04" p13_14_15q "[0.7114 0.0 0.0]" p16q on } Block { BlockType PMComponent Name "Supply1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -