📄 d_003_uc.mdl
字号:
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 1]
Position [206, 285, 234, 310]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "fm_lib/Power Flow/PQ"
SourceType "PQ"
PhysicalDomain "psatdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
p2_3q "[100 400]"
p4_5q "[1.0 0.6]"
p6_7q "[1.2 0.8]"
p8q 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"
}
Block {
BlockType Reference
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
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"
}
Block {
BlockType Reference
Name "RMPG"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [445, 64, 475, 96]
Orientation "left"
ShowName off
SourceBlock "fm_lib/OPF & CPF/Rmpg"
SourceType "Rmpg"
PhysicalDomain "psatdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
RConnTagsString "__newr0"
p2q "100"
p3_4q "[0.1 0.1]"
p5_6q "[2 2]"
p7_8q "[5 0]"
p9q "1"
}
Block {
BlockType Reference
Name "RMPG1"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [25, 64, 55, 96]
ShowName off
SourceBlock "fm_lib/OPF & CPF/Rmpg"
SourceType "Rmpg"
PhysicalDomain "psatdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
RConnTagsString "__newr0"
p2q "100"
p3_4q "[0.05 0.05]"
p5_6q "[2 2]"
p7_8q "[5 0]"
p9q "1"
}
Block {
BlockType Reference
Name "RMPG2"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [284, 335, 316, 365]
Orientation "up"
NamePlacement "alternate"
ShowName off
SourceBlock "fm_lib/OPF & CPF/Rmpg"
SourceType "Rmpg"
PhysicalDomain "psatdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
RConnTagsString "__newr0"
p2q "100"
p3_4q "[0.15 0.15]"
p5_6q "[2 2]"
p7_8q "[0 5]"
p9q "1"
}
Block {
BlockType Reference
Name "Slack"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [90, 104, 100, 136]
ShowName off
SourceBlock "fm_lib/Power Flow/Slack"
SourceType "SW"
PhysicalDomain "psatdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
RConnTagsString "__newr0"
p2_3q "[100 400]"
p4q "1.00"
p5q "0.00"
p6_7q "[1.5 -1.5]"
p8_9q "[1.1 0.9]"
p10q "0.40"
p11q "1"
}
Block {
BlockType PMComponent
Name "Supply1"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [80, 62, 115, 98]
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0"
MaskType "Supply"
MaskDescription "This block defines a PV bus for bifurcation and"
" market studies:\n"
MaskPromptString "Power Rating [MVA]|Active Power [p.u.]|Max and "
"Min Power Supply [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|Ti"
"e Breaking Cost [$/h]|Loss participation factor|Reactive power limits Qmax an"
"d Qmin [p.u. p.u.]|Up and down congestion costs [$/h $/h]|Number of Input Sig"
"nals"
MaskStyleString "edit,edit,edit,edit,edit,checkbox,edit,edit,edi"
"t,edit,popup(0|1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||||"
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;p4_5q=@3;p7_8_9q=@4;p10_11_12q=@5"
";p13q=@6;p14q=@7;p15q=@8;p16_17q=@9;p18_19q=@10;in=@11;"
MaskInitialization "fm_inout;\n[x,y] = fm_draw('circle');\n[xs,ys] "
"= fm_draw('$');"
MaskDisplay "plot(x,y)\ncolor('blue')\nplot(xs,ys)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100|0.0|[0.60 0.10]|[6 9.8 0.1]|[0.00 0.00 "
"0.00]|off|0|1|[1.5 -1.5]|[0 0]|1"
}
Block {
BlockType PMComponent
Name "Supply2"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [385, 62, 420, 98]
Orientation "left"
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0"
MaskType "Supply"
MaskDescription "This block defines a PV bus for bifurcation and"
" market studies:\n"
MaskPromptString "Power Rating [MVA]|Active Power [p.u.]|Max and "
"Min Power Supply [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|Ti"
"e Breaking Cost [$/h]|Loss participation factor|Reactive power limits Qmax an"
"d Qmin [p.u. p.u.]|Up and down congestion costs [$/h $/h]|Number of Input Sig"
"nals"
MaskStyleString "edit,edit,edit,edit,edit,checkbox,edit,edit,edi"
"t,edit,popup(0|1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||||"
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;p4_5q=@3;p7_8_9q=@4;p10_11_12q=@5"
";p13q=@6;p14q=@7;p15q=@8;p16_17q=@9;p18_19q=@10;in=@11;"
MaskInitialization "fm_inout;\n[x,y] = fm_draw('circle');\n[xs,ys] "
"= fm_draw('$');"
MaskDisplay "plot(x,y)\ncolor('blue')\nplot(xs,ys)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100|0.0|[0.60 0.10]|[4 10.7 0.2]|[0.00 0.00 "
" 0.00]|off|0|1|[0.8 -0.2]|[0 0]|1"
}
Block {
BlockType PMComponent
Name "Supply3"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [282, 275, 318, 310]
Orientation "up"
NamePlacement "alternate"
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0"
MaskType "Supply"
MaskDescription "This block defines a PV bus for bifurcation and"
" market studies:\n"
MaskPromptString "Power Rating [MVA]|Active Power [p.u.]|Max and "
"Min Power Supply [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|Ti"
"e Breaking Cost [$/h]|Loss participation factor|Reactive power limits Qmax an"
"d Qmin [p.u. p.u.]|Up and down congestion costs [$/h $/h]|Number of Input Sig"
"nals"
MaskStyleString "edit,edit,edit,edit,edit,checkbox,edit,edit,edi"
"t,edit,popup(0|1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||||"
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;p4_5q=@3;p7_8_9q=@4;p10_11_12q=@5"
";p13q=@6;p14q=@7;p15q=@8;p16_17q=@9;p18_19q=@10;in=@11;"
MaskInitialization "fm_inout;\n[x,y] = fm_draw('circle');\n[xs,ys] "
"= fm_draw('$');"
MaskDisplay "plot(x,y)\ncolor('blue')\nplot(xs,ys)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100|0.0|[0.60 0.10]|[8 12.6 0.25]|[0.00 0.00"
" 0.00]|off|0|1|[0.8 -0.2]|[0 0]|1"
}
Block {
BlockType Reference
Name "YPDP1"
Tag "PSATblock"
Description "OPF & CPF"
Ports []
Position [383, 195, 468, 232]
ShowName off
SourceBlock "fm_lib/OPF & CPF/Ypdp1"
SourceType "Ypdp"
pxq "[55 75 100 120 100]"
}
Line {
LineType "Connection"
SrcBlock "Line2"
SrcPort RConn1
DstBlock "Bus3"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "RMPG2"
SrcPort RConn1
DstBlock "Supply3"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Line1"
SrcPort RConn1
DstBlock "Bus3"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Bus1"
SrcPort RConn2
Points [45, 0]
DstBlock "Line1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Bus1"
SrcPort RConn1
DstBlock "Line"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Slack"
SrcPort RConn1
DstBlock "Bus1"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "RMPG1"
SrcPort RConn1
DstBlock "Supply1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Supply1"
SrcPort RConn1
DstBlock "Bus1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "RMPG"
SrcPort RConn1
DstBlock "Supply2"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Supply2"
SrcPort RConn1
DstBlock "Bus2"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "PV"
SrcPort RConn1
DstBlock "Bus2"
DstPort RConn2
}
Line {
LineType "Connection"
SrcBlock "Line"
SrcPort RConn1
DstBlock "Bus2"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Bus2"
SrcPort LConn2
Points [-60, 0]
DstBlock "Line2"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "PV1"
SrcPort RConn1
DstBlock "Bus3"
DstPort RConn3
}
Line {
LineType "Connection"
SrcBlock "Supply3"
SrcPort RConn1
DstBlock "Bus3"
DstPort RConn4
}
Line {
LineType "Connection"
SrcBlock "Demand1"
SrcPort LConn1
DstBlock "Bus3"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "PQ"
SrcPort LConn1
DstBlock "Bus3"
DstPort RConn2
}
Annotation {
Name "GENCO 1"
Position [73, 45]
}
Annotation {
Name "GENCO 2"
Position [400, 43]
}
Annotation {
Name "GENCO 3"
Position [349, 296]
}
Annotation {
Name "ESCO"
Position [138, 294]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -