📄 d_003_uc.mdl
字号:
MaskSelfModifiable on MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "2|4|400|[1.00 0.00]|3|1" } Block { BlockType PMComponent Name "Demand" Tag "PSATblock" Description "OPF & CPF" Ports [0, 0, 0, 0, 0, 1] Position [163, 285, 197, 315] Orientation "down" NamePlacement "alternate" 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|1.00|0.60|[1.00 1.00]|[0.00 0 0.00]|[0.00 0.00 0.00]|off|0|[0 0]|0|on" } Block { BlockType PMComponent Name "Line" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [210, 75, 270, 85] ShowName off 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|0.10|0|[0.4 0.4 0.0]|on" } Block { BlockType PMComponent Name "Line1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [195, 150, 205, 210] Orientation "down" NamePlacement "alternate" ShowName off 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|0.10|0|[0.4 0.4 0.0]|on" } Block { BlockType Reference Name "Line2" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [275, 150, 285, 210] Orientation "down" NamePlacement "alternate" ShowName off 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" p9q "0.10" p10q "0" p13_14_15q "[0.4 0.4 0.0]" p16q on } Block { BlockType PMComponent Name "PQ" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [206, 285, 234, 310] Orientation "down" NamePlacement "alternate" ShowName off 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,on,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.0 0.6]|[1.2 0.8]|on|on" } Block { BlockType Reference Name "PV" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 0, 1] Position [390, 105, 420, 135] Orientation "left" NamePlacement "alternate" ShowName off SourceBlock "fm_lib/Power Flow/PV" SourceType "PV" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" p2_3q "[100 400]" p4q "0.4" p5q "1.00" p6_7q "[0.8 -0.2]" p8_9q "[1.1 0.9]" p10q "1" p11q on } Block { BlockType PMComponent Name "PV1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 0, 1] Position [245, 280, 275, 310] Orientation "up" NamePlacement "alternate" ShowName off 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.4|1.00|[0.8 -0.2]|[1.1 0.9]|1|on" } Block { BlockType PMComponent Name "RMPG" Tag "PSATblock" Description "OPF & CPF" Ports [0, 0, 0, 0, 0, 0, 1] Position [455, 64, 485, 96] Orientation "left" ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" MaskType "Rmpg" MaskDescription "This block defines ramping parameters for generators for market studies." MaskPromptString "Power Rating [MVA]|Ramp Up and Down Rates [p.u./h p.u./h] |Minimum Up ""and Down Times [h h] |Numbers of period up and down at initial time [h h]|Start Up Cost [$]|Conneted" MaskStyleString "edit,edit,edit,edit,edit,checkbox" 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 "p2q=@1;p3_4q=@2;p5_6q=@3;p7_8q=@4;p9q=@5;p10q=@6;" MaskInitialization "[x,y] = fm_draw('circle');" MaskDisplay "plot(x,y)\ncolor('blue')\nplot([-0.5 0.5],[-0.4 -0.4],[-0.4 -0.4],[-0.45 ""0.4],[-0.4 0],[-0.5 0.3],[0 0.4],[0.3 0.3])\n\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "100|[0.1 0.1]|[2 2]|[5 0]|1|on" } Block { BlockType PMComponent Name "RMPG1" Tag "PSATblock" Description "OPF & CPF" Ports [0, 0, 0, 0, 0, 0, 1] Position [25, 64, 55, 96] ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" MaskType "Rmpg" MaskDescription "This block defines ramping parameters for generators for market studies." MaskPromptString "Power Rating [MVA]|Ramp Up and Down Rates [p.u./h p.u./h] |Minimum Up ""and Down Times [h h] |Numbers of period up and down at initial time [h h]|Start Up Cost [$]|Conneted" MaskStyleString "edit,edit,edit,edit,edit,checkbox" 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 "p2q=@1;p3_4q=@2;p5_6q=@3;p7_8q=@4;p9q=@5;p10q=@6;" MaskInitialization "[x,y] = fm_draw('circle');" MaskDisplay "plot(x,y)\ncolor('blue')\nplot([-0.5 0.5],[-0.4 -0.4],[-0.4 -0.4],[-0.45 ""0.4],[-0.4 0],[-0.5 0.3],[0 0.4],[0.3 0.3])\n\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "100|[0.05 0.05]|[2 2]|[5 0]|1|on" } Block { BlockType PMComponent Name "RMPG2" Tag "PSATblock" Description "OPF & CPF" Ports [0, 0, 0, 0, 0, 0, 1] Position [284, 340, 316, 370] Orientation "up" NamePlacement "alternate" ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -