📄 d_003.mdl
字号:
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "in_4"
Position [25, 175, 45, 195]
Port "4"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Constant
Name "g1"
Position [105, 20, 130, 50]
Value "1"
}
Block {
BlockType Constant
Name "g2"
Position [130, 70, 155, 100]
Value "1"
}
Block {
BlockType Constant
Name "g3"
Position [130, 120, 155, 150]
Value "1"
}
Block {
BlockType Terminator
Name "t1"
Position [65, 20, 90, 50]
}
Block {
BlockType Terminator
Name "t2"
Position [65, 70, 90, 100]
}
Block {
BlockType Terminator
Name "t3"
Position [80, 120, 105, 150]
}
Block {
BlockType Terminator
Name "t4"
Position [80, 170, 105, 200]
}
Block {
BlockType Outport
Name "out_1"
Position [155, 25, 175, 45]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_2"
Position [185, 75, 205, 95]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "out_3"
Position [185, 125, 205, 145]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "t2"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_3"
SrcPort 1
DstBlock "t3"
DstPort 1
}
Line {
SrcBlock "in_4"
SrcPort 1
DstBlock "t4"
DstPort 1
}
Line {
SrcBlock "g2"
SrcPort 1
DstBlock "out_2"
DstPort 1
}
Line {
SrcBlock "g3"
SrcPort 1
DstBlock "out_3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Demand1"
Tag "PSATblock"
Description "OPF & CPF"
Ports [1, 0, 0, 0, 0]
Position [370, 126, 395, 154]
Orientation "left"
ShowName off
ShowPortLabels on
MaskType "Demand"
MaskDescription "This block defines a constant power load for bi"
"furcation and market studies."
MaskPromptString "Power Base [MVA]|Active Power [p.u.]|Reactive P"
"ower [p.u.]|Max & Min Power Demand [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 Un"
"it Commitment|Tie Breaking Cost [$/h]|Number of Output Signals"
MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox,edit,pop"
"up(0|1)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5_6q=@4;p8_9_10q=@5;p11_1"
"2_13q=@6;p14q=@7;p15q=@8;out=@9;"
MaskInitialization "fm_inout;"
MaskDisplay "plot([ 1.0000 -0.5 -0.5 1],[ 0 0.866 "
" -0.866 0])\nplot([-0.1 0.2],[0.3 -0.3],[-0.1 0.05],[-0.3 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "100|1.5|0.7|[1.00 0.00]|[0.00 30 0.00]|[0.00"
" 0.00 0.00]|off|0|0"
System {
Name "Demand1"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
ShowName off
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Terminator
Name "Terminator4"
Position [65, 115, 85, 135]
Orientation "left"
ShowName off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "Power Demand"
Position [109, 30]
}
}
}
Block {
BlockType SubSystem
Name "Demand2"
Tag "PSATblock"
Description "OPF & CPF"
Ports [1, 0, 0, 0, 0]
Position [229, 260, 261, 285]
Orientation "down"
NamePlacement "alternate"
ShowName off
ShowPortLabels on
MaskType "Demand"
MaskDescription "This block defines a constant power load for bi"
"furcation and market studies."
MaskPromptString "Power Base [MVA]|Active Power [p.u.]|Reactive P"
"ower [p.u.]|Max & Min Power Demand [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 Un"
"it Commitment|Tie Breaking Cost [$/h]|Number of Output Signals"
MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox,edit,pop"
"up(0|1)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5_6q=@4;p8_9_10q=@5;p11_1"
"2_13q=@6;p14q=@7;p15q=@8;out=@9;"
MaskInitialization "fm_inout;"
MaskDisplay "plot([ 1.0000 -0.5 -0.5 1],[ 0 0.866 "
" -0.866 0])\nplot([-0.1 0.2],[0.3 -0.3],[-0.1 0.05],[-0.3 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "100|0.5|0.30|[1.00 0.00]|[0.00 35 0.00]|[0.0"
"0 0.00 0.00]|off|0|0"
System {
Name "Demand2"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
ShowName off
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Terminator
Name "Terminator4"
Position [65, 115, 85, 135]
Orientation "left"
ShowName off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "Power Demand"
Position [109, 30]
}
}
}
Block {
BlockType Reference
Name "Line1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [120, 149, 185, 161]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 138 60]"
p6q "0"
p8q "0.01"
p9q "0.12"
p10q "0.00"
p13_14_15q "[0.0 1.5 0.0]"
}
Block {
BlockType Reference
Name "Line2"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [220, 69, 285, 81]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 138 60]"
p6q "0"
p8q "0.01"
p9q "0.12"
p10q "0.00"
p13_14_15q "[0.0 1.5 0.0]"
}
Block {
BlockType Reference
Name "Line3"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [315, 169, 380, 181]
Orientation "left"
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
p3_4_5q "[100 138 60]"
p6q "0"
p8q "0.01"
p9q "0.120"
p10q "0.00"
p13_14_15q "[0.0 1.5 0.0]"
}
Block {
BlockType SubSystem
Name "PQ1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [185, 260, 215, 285]
Orientation "down"
NamePlacement "alternate"
ShowName off
ShowPortLabels on
MaskType "PQ"
MaskDescription "This block defines a constant power load:\n\nP "
"= Pcost.\nQ = Qcost."
MaskPromptString "Power and Voltage Rates [MVA, kV]|Active and Re"
"active Powers [p.u. p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u."
"]|Allow conversion to impendance for min & max voltage"
MaskStyleString "edit,edit,edit,checkbox"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||fm_block"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;"
MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 138]|[0.50 0.30]|[1.1 0.9]|on"
System {
Name "PQ1"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
ShowName off
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Terminator
Name "Terminator4"
Position [65, 115, 85, 135]
Orientation "left"
ShowName off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "Constant PQ Load"
Position [109, 30]
}
}
}
Block {
BlockType SubSystem
Name "PQ3"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [115, 186, 140, 214]
ShowName off
ShowPortLabels on
MaskType "PQ"
MaskDescription "This block defines a constant power load:\n\nP "
"= Pcost.\nQ = Qcost."
MaskPromptString "Power and Voltage Rates [MVA, kV]|Active and Re"
"active Powers [p.u. p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u."
"]|Allow conversion to impendance for min & max voltage"
MaskStyleString "edit,edit,edit,checkbox"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||fm_block"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;"
MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 138]|[1.50 0.80]|[1.1 0.9]|on"
System {
Name "PQ3"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
ShowName off
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Terminator
Name "Terminator4"
Position [65, 115, 85, 135]
Orientation "left"
ShowName off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "Constant PQ Load"
Position [109, 30]
}
}
}
Block {
BlockType SubSystem
Name "PQ4"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [370, 90, 395, 120]
Orientation "left"
NamePlacement "alternate"
ShowName off
ShowPortLabels on
MaskType "PQ"
MaskDescription "This block defines a constant power load:\n\nP "
"= Pcost.\nQ = Qcost."
MaskPromptString "Power and Voltage Rates [MVA, kV]|Active and Re"
"active Powers [p.u. p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u."
"]|Allow conversion to impendance for min & max voltage"
MaskStyleString "edit,edit,edit,checkbox"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||fm_block"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;"
MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 138]|[1.50 0.70]|[1.1 0.9]|on"
System {
Name "PQ4"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
ShowName off
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Terminator
Name "Terminator4"
Position [65, 115, 85, 135]
Orientation "left"
ShowName off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "Constant PQ Load"
Position [109, 30]
}
}
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -