📄 d_006.mdl
字号:
ShowName off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "Power Demand"
Position [109, 30]
}
}
}
Block {
BlockType SubSystem
Name "PV lambda 1"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 1, 0, 0, 0]
Position [95, 652, 145, 698]
ShowName off
FontName "Arial"
FontSize 16
ShowPortLabels on
MaskType "Supply"
MaskDescription "This block defines a PV bus for bifurcation and"
" market studies:\n"
MaskPromptString "Power Base [MVA]|Active Power [p.u.]|Max & Min "
"Power Supply [p.u. p.u.]|Cost = a + b*P + c*P^2 [$/h, $/MWh, $/(MWh)^2]|Cost"
" = a + b*Q + c*Q^2 [$/h, $/MVArh, $/(MVArh)^2]|Allow Unit Commitment|Tie Brea"
"king Cost [$/h]|Number of Input Signals"
MaskStyleString "edit,edit,edit,edit,edit,checkbox,edit,popup(0|"
"1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskVariables "p2q=@1;p3q=@2;p4_5q=@3;p7_8_9q=@4;p10_11_12q=@5"
";p13q=@6;p14q=@7;in=@8;"
MaskInitialization "fm_inout;\n[x,y] = fm_draw('circle');\n[xs,ys] "
"= fm_draw('S');"
MaskDisplay "plot(x,y,xs,ys,[0 0],[0.7 -0.7])\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100|0.2|[0.2 0.00001]|[0 9.7 0]|[0.00 0.00 "
" 0.00]|off|0|0"
System {
Name "PV lambda 1"
Location [381, 229, 648, 436]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [65, 95, 95, 125]
ShowName off
Value "1"
}
Block {
BlockType Outport
Name "Out1"
Position [135, 103, 165, 117]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Text "Power Supply"
Position [114, 45]
}
}
}
Block {
BlockType SubSystem
Name "PV lambda 2"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 1, 0, 0, 0]
Position [210, 177, 260, 223]
ShowName off
LoadFcn "disp('load')"
FontName "Arial"
FontSize 16
ShowPortLabels on
MaskType "Supply"
MaskDescription "This block defines a PV bus for bifurcation and"
" market studies:\n"
MaskPromptString "Power Base [MVA]|Active Power [p.u.]|Max & Min "
"Power Supply [p.u. p.u.]|Cost = a + b*P + c*P^2 [$/h, $/MWh, $/(MWh)^2]|Cost"
" = a + b*Q + c*Q^2 [$/h, $/MVArh, $/(MVArh)^2]|Allow Unit Commitment|Tie Brea"
"king Cost [$/h]|Number of Input Signals"
MaskStyleString "edit,edit,edit,edit,edit,checkbox,edit,popup(0|"
"1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskVariables "p2q=@1;p3q=@2;p4_5q=@3;p7_8_9q=@4;p10_11_12q=@5"
";p13q=@6;p14q=@7;in=@8;"
MaskInitialization "fm_inout;\n[x,y] = fm_draw('circle');\n[xs,ys] "
"= fm_draw('S');"
MaskDisplay "plot(x,y,xs,ys,[0 0],[0.7 -0.7])\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100|0.25|[0.25 0.00001]|[0. 8.8 0]|[0.00 0.0"
"0 0.00]|off|0|0"
System {
Name "PV lambda 2"
Location [381, 229, 648, 436]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [65, 95, 95, 125]
ShowName off
Value "1"
}
Block {
BlockType Outport
Name "Out1"
Position [135, 103, 165, 117]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Text "Power Supply"
Position [114, 45]
}
}
}
Block {
BlockType SubSystem
Name "PV lambda 3"
Tag "PSATblock"
Description "OPF & CPF"
Ports [0, 1, 0, 0, 0]
Position [455, 175, 500, 215]
ShowName off
FontName "Arial"
FontSize 16
ShowPortLabels on
MaskType "Supply"
MaskDescription "This block defines a PV bus for bifurcation and"
" market studies:\n"
MaskPromptString "Power Base [MVA]|Active Power [p.u.]|Max & Min "
"Power Supply [p.u. p.u.]|Cost = a + b*P + c*P^2 [$/h, $/MWh, $/(MWh)^2]|Cost"
" = a + b*Q + c*Q^2 [$/h, $/MVArh, $/(MVArh)^2]|Allow Unit Commitment|Tie Brea"
"king Cost [$/h]|Number of Input Signals"
MaskStyleString "edit,edit,edit,edit,edit,checkbox,edit,popup(0|"
"1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskVariables "p2q=@1;p3q=@2;p4_5q=@3;p7_8_9q=@4;p10_11_12q=@5"
";p13q=@6;p14q=@7;in=@8;"
MaskInitialization "fm_inout;\n[x,y] = fm_draw('circle');\n[xs,ys] "
"= fm_draw('S');"
MaskDisplay "plot(x,y,xs,ys,[0 0],[0.7 -0.7])\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100|0.2|[0.2 0.00001]|[0 7.0 0 ]|[0.00 0.00 "
" 0.00]|off|0|0"
System {
Name "PV lambda 3"
Location [381, 229, 648, 436]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [65, 95, 95, 125]
ShowName off
Value "1"
}
Block {
BlockType Outport
Name "Out1"
Position [135, 103, 165, 117]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Text "Power Supply"
Position [114, 45]
}
}
}
Line {
SrcBlock "GENCO 3"
SrcPort 1
DstBlock "Bus3"
DstPort 1
}
Line {
SrcBlock "Bus5"
SrcPort 2
DstBlock "ESCO 2"
DstPort 1
}
Line {
SrcBlock "Bus3"
SrcPort 1
DstBlock "Line1"
DstPort 1
}
Line {
SrcBlock "Bus3"
SrcPort 2
Points [55, 0]
DstBlock "Line2"
DstPort 1
}
Line {
SrcBlock "Line2"
SrcPort 1
Points [0, 120]
DstBlock "Bus5"
DstPort 1
}
Line {
SrcBlock "Bus5"
SrcPort 1
Points [30, 0]
DstBlock "Line3"
DstPort 1
}
Line {
SrcBlock "Bus1"
SrcPort 1
Points [50, 0]
DstBlock "Line5"
DstPort 1
}
Line {
SrcBlock "Bus1"
SrcPort 2
DstBlock "Line6"
DstPort 1
}
Line {
SrcBlock "Bus2"
SrcPort 1
DstBlock "Line8"
DstPort 1
}
Line {
SrcBlock "Bus2"
SrcPort 2
Points [65, 0; 0, 70]
DstBlock "Line"
DstPort 1
}
Line {
SrcBlock "Line3"
SrcPort 1
Points [0, -105]
DstBlock "Bus6"
DstPort 3
}
Line {
SrcBlock "Line1"
SrcPort 1
DstBlock "Bus6"
DstPort 2
}
Line {
SrcBlock "Line8"
SrcPort 1
DstBlock "Bus6"
DstPort 1
}
Line {
SrcBlock "Line9"
SrcPort 1
Points [0, 110]
DstBlock "Bus5"
DstPort 2
}
Line {
SrcBlock "Bus4"
SrcPort 1
DstBlock "ESCO 1"
DstPort 1
}
Line {
SrcBlock "Line10"
SrcPort 1
DstBlock "Bus5"
DstPort 3
}
Line {
SrcBlock "Bus6"
SrcPort 1
DstBlock "ESCO 3"
DstPort 1
}
Line {
SrcBlock "GENCO 2"
SrcPort 1
DstBlock "Bus2"
DstPort 1
}
Line {
SrcBlock "GENCO 1"
SrcPort 1
DstBlock "Bus1"
DstPort 1
}
Line {
SrcBlock "Bus5"
SrcPort 3
DstBlock "PQ lambda 2"
DstPort 1
}
Line {
SrcBlock "Bus6"
SrcPort 2
Points [0, 0]
DstBlock "PQ lambda 3"
DstPort 1
}
Line {
SrcBlock "Bus4"
SrcPort 3
DstBlock "Line10"
DstPort 1
}
Line {
SrcBlock "Bus4"
SrcPort 2
DstBlock "PQ lambda 1"
DstPort 1
}
Line {
SrcBlock "PV lambda 1"
SrcPort 1
DstBlock "Bus1"
DstPort 2
}
Line {
SrcBlock "Line5"
SrcPort 1
Points [0, -90]
DstBlock "Bus2"
DstPort 3
}
Line {
SrcBlock "PV lambda 2"
SrcPort 1
DstBlock "Bus2"
DstPort 2
}
Line {
SrcBlock "Line"
SrcPort 1
DstBlock "Bus3"
DstPort 3
}
Line {
SrcBlock "PV lambda 3"
SrcPort 1
DstBlock "Bus3"
DstPort 2
}
Line {
SrcBlock "Line6"
SrcPort 1
DstBlock "Bus4"
DstPort 2
}
Line {
SrcBlock "Bus2"
SrcPort 4
Points [30, 0; 0, 250]
DstBlock "Line4"
DstPort 1
}
Line {
SrcBlock "Line4"
SrcPort 1
DstBlock "Bus4"
DstPort 1
}
Line {
SrcBlock "Bus2"
SrcPort 3
Points [50, 0; 0, 85; 220, 0]
DstBlock "Line9"
DstPort 1
}
Line {
SrcBlock "Bus1"
SrcPort 3
DstBlock "Line7"
DstPort 1
}
Line {
SrcBlock "Line7"
SrcPort 1
DstBlock "Bus5"
DstPort 4
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -