📄 d_006.mdl
字号:
Description "Connection" Ports [0, 0, 0, 0, 0, 4, 3] Position [660, 517, 665, 713] BackgroundColor "blue" FontName "Arial" FontSize 16 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0|__newl1|__newl2|__newl3" RConnTagsString "__newr0|__newr1|__newr2" MaskType "Bus" MaskDescription "Bus block." MaskPromptString "Number of inputs:|Number of outputs:|Voltage Rating [kV]|Voltage initia""l 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" MaskToolTipString "on,on,on,on,on,on" MaskVarAliasString ",,,,," 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 "4|3|400|[1.00 0.00]|2|1" } Block { BlockType PMComponent Name "Bus6" Tag "PSATblock" Description "Connection" Ports [0, 0, 0, 0, 0, 3, 2] Position [765, 67, 770, 263] BackgroundColor "blue" FontName "Arial" FontSize 16 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0|__newl1|__newl2" RConnTagsString "__newr0|__newr1" MaskType "Bus" MaskDescription "Bus block." MaskPromptString "Number of inputs:|Number of outputs:|Voltage Rating [kV]|Voltage initia""l 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" MaskToolTipString "on,on,on,on,on,on" MaskVarAliasString ",,,,," 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 "3|2|400|[1.00 0.00]|2|1" } Block { BlockType PMComponent Name "Demand" Tag "PSATblock" Description "OPF & CPF" Ports [0, 0, 0, 0, 0, 1] Position [795, 195, 835, 235] ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "Demand" MaskDescription "This block defines a constant power load for bifurcation and market studies." MaskPromptString "Power Rating [MVA]|Active Power [p.u.]|Reactive Power [p.u.]|Max and Mi""n Power Demand [p.u. p.u.]|Cost = a + b*P + c*P^2 [$/h, $/MWh, $/(MW)^2 h]|Cost = a + b*Q + c*Q^2"" [$/h, $/MVArh, $/(MVAr)^2 h]|Allow Unit Commitment|Tie Breaking Cost [$/h]|Up and down congestion co""sts [$/h $/h]|Number of Output Signals|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox,edit,edit,popup(0|1),checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "||||||||||fm_block" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,," MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5_6q=@4;p8_9_10q=@5;p11_12_13q=@6;p14q=@7;p15q=@8;p16_17q=@9;out=@10;p18q=@11;" MaskInitialization "fm_inout;\n[xs,ys]=fm_draw('$');" MaskDisplay "plot([ 1.0000 -0.5 -0.5 1],[ 0 0.866 -0.866 0])\ncolor('blue')\nplot(0.6*xs,0.6*ys)" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "100|0.2|0.66666*0.1|[0.2 0.00001]|[0.00 9.5 0.00]|[0.00 0.00 0.00]|off|0|[0 0]|0|on" } Block { BlockType PMComponent Name "Demand1" Tag "PSATblock" Description "OPF & CPF" Ports [0, 0, 0, 0, 0, 1] Position [695, 660, 735, 700] ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "Demand" MaskDescription "This block defines a constant power load for bifurcation and market studies." MaskPromptString "Power Rating [MVA]|Active Power [p.u.]|Reactive Power [p.u.]|Max and Mi""n Power Demand [p.u. p.u.]|Cost = a + b*P + c*P^2 [$/h, $/MWh, $/(MW)^2 h]|Cost = a + b*Q + c*Q^2"" [$/h, $/MVArh, $/(MVAr)^2 h]|Allow Unit Commitment|Tie Breaking Cost [$/h]|Up and down congestion co""sts [$/h $/h]|Number of Output Signals|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox,edit,edit,popup(0|1),checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "||||||||||fm_block" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,," MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5_6q=@4;p8_9_10q=@5;p11_12_13q=@6;p14q=@7;p15q=@8;p16_17q=@9;out=@10;p18q=@11;" MaskInitialization "fm_inout;\n[xs,ys]=fm_draw('$');" MaskDisplay "plot([ 1.0000 -0.5 -0.5 1],[ 0 0.866 -0.866 0])\ncolor('blue')\nplot(0.6*xs,0.6*ys)" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "100|0.1|0.7*0.1|[0.1 0.00001]|[0.00 10.5 0.00]|[0.00 0.00 0.00]|off|0|[0 0]|0|on" } Block { BlockType PMComponent Name "Demand3" Tag "PSATblock" Description "OPF & CPF" Ports [0, 0, 0, 0, 0, 1] Position [505, 565, 545, 605] ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "Demand" MaskDescription "This block defines a constant power load for bifurcation and market studies." MaskPromptString "Power Rating [MVA]|Active Power [p.u.]|Reactive Power [p.u.]|Max and Mi""n Power Demand [p.u. p.u.]|Cost = a + b*P + c*P^2 [$/h, $/MWh, $/(MW)^2 h]|Cost = a + b*Q + c*Q^2"" [$/h, $/MVArh, $/(MVAr)^2 h]|Allow Unit Commitment|Tie Breaking Cost [$/h]|Up and down congestion co""sts [$/h $/h]|Number of Output Signals|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox,edit,edit,popup(0|1),checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "||||||||||fm_block" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,," MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5_6q=@4;p8_9_10q=@5;p11_12_13q=@6;p14q=@7;p15q=@8;p16_17q=@9;out=@10;p18q=@11;" MaskInitialization "fm_inout;\n[xs,ys]=fm_draw('$');" MaskDisplay "plot([ 1.0000 -0.5 -0.5 1],[ 0 0.866 -0.866 0])\ncolor('blue')\nplot(0.6*xs,0.6*ys)" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "100|0.25|0.66666*0.25|[0.25 0.00001]|[0.00 12 0.00]|[0.00 0.00 0.00]|off|0|[0 0]|0|on" } Block { BlockType PMComponent Name "ESCO 1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [505, 512, 540, 548] NamePlacement "alternate" ShowName off FontSize 18 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "PQ" MaskDescription "This block defines a constant power load:\n\nP = Pcost.\nQ = Qcost." MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active and Reactive Powers [p.u. ""p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u.]|Allow conversion to impendance for min & max voltage|Connected" MaskStyleString "edit,edit,edit,checkbox,checkbox" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "|||fm_block|fm_block" MaskEnableString "on,on,off,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,," MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;p9q=@5;" MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 400]|[0.90 0.60]|[1.1 0.9]|off|on" } Block { BlockType PMComponent Name "ESCO 2" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [695, 597, 730, 633] NamePlacement "alternate" ShowName off FontSize 18 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "PQ" MaskDescription "This block defines a constant power load:\n\nP = Pcost.\nQ = Qcost." MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active and Reactive Powers [p.u. ""p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u.]|Allow conversion to impendance for min & max voltage|Connected" MaskStyleString "edit,edit,edit,checkbox,checkbox" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "|||fm_block|fm_block" MaskEnableString "on,on,off,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,," MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;p9q=@5;" MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 400]|[1.00 0.70]|[1.1 0.9]|off|on" } Block { BlockType PMComponent Name "ESCO 3" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [795, 97, 830, 133] ShowName off FontSize 18 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "PQ" MaskDescription "This block defines a constant power load:\n\nP = Pcost.\nQ = Qcost." MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active and Reactive Powers [p.u. ""p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u.]|Allow conversion to impendance for min & max voltage|Connected" MaskStyleString "edit,edit,edit,checkbox,checkbox" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "|||fm_block|fm_block" MaskEnableString "on,on,off,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,," MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;p9q=@5;" MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 400]|[0.90 0.60]|[1.1 0.9]|off|on" } Block { BlockType PMComponent Name "GENCO 1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 0, 1] Position [95, 550, 145, 600] NamePlacement "alternate" ShowName off FontName "Arial" FontSize 16 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" MaskType "PV" 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.9|1.05|[1.5 -1.5]|[1.1 0.9]|1|on" } Block { BlockType PMComponent Name "GENCO 2" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 0, 1] Position [215, 91, 250, 129] ShowName off FontName "Arial" FontSize 16 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" MaskType "SW" MaskDescription "This block defines a V-theta bus:\n\nV = V_des\ntheta = theta_des" MaskPromptString "Power and Voltage Ratings [MVA, kV]|Voltage Magnitude [p.u.]|Reference ""Phase Angle [rad]|Qmax and Qmin [p.u. p.u.]|Vmax and Vmin [p.u. p.u.]|Active Power Guess [p.u.]|Lo""ss Participation Factor|Reference bus|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,edit,checkbox,checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on,on" MaskCallbackString "|||||||fm_block|fm_block" MaskEnableString "on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,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;p12q=@8;p13q=@9;" MaskInitialization "[x,y] = fm_draw('circle');\n[xt,yt] = fm_draw('theta');\n" MaskDisplay "plot([0 1 1 0 0],[0 0 1 1 0]), color('blue'), plot([0 1],[0 1],[0 1],[1 ""0],[0.5 1 0.5 0 0.5],[0 0.5 1 0.5 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 400]|1.05|0.00|[1.5 -1.5]|[1.1 0.9]|1.4|1|on|on" } Block { BlockType PMComponent Name "GENCO 3" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 0, 1] Position [455, 134, 500, 176] NamePlacement "alternate" ShowName off FontName "Arial" FontSize 16 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" MaskType "PV"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -