📄 d_006.mdl
字号:
OutputWhenDisabled "held"
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_3"
Position [185, 125, 205, 145]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "g3"
SrcPort 1
DstBlock "out_3"
DstPort 1
}
Line {
SrcBlock "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "t2"
DstPort 1
}
Line {
SrcBlock "g2"
SrcPort 1
DstBlock "out_2"
DstPort 1
}
Line {
SrcBlock "in_3"
SrcPort 1
DstBlock "t3"
DstPort 1
}
Line {
SrcBlock "in_4"
SrcPort 1
DstBlock "t4"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bus6"
Tag "PSATblock"
Description "Connection"
Ports [3, 2, 0, 0, 0]
Position [765, 67, 770, 263]
BackgroundColor "blue"
AttributesFormatString "|V| = 0.9912 p.u.\\n<V = -0.0735 rad "
FontName "Arial"
FontSize 16
ShowPortLabels on
MaskType "Bus"
MaskDescription "Bus block"
MaskPromptString "Number of inputs:|Number of outputs:|Voltage Ra"
"te [kV]|Voltage initial 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"
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"
System {
Name "Bus6"
Location [336, 348, 727, 705]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [25, 25, 45, 45]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "in_2"
Position [25, 75, 45, 95]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "in_3"
Position [25, 125, 45, 145]
Port "3"
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 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 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 "0"
}
Line {
SrcBlock "in_3"
SrcPort 1
DstBlock "t3"
DstPort 1
}
Line {
SrcBlock "g2"
SrcPort 1
DstBlock "out_2"
DstPort 1
}
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
}
}
}
Block {
BlockType SubSystem
Name "ESCO 1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [505, 512, 540, 548]
NamePlacement "alternate"
FontSize 18
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,off,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 400]|[0.90 0.60]|[1.1 0.9]|off"
System {
Name "ESCO 1"
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 "ESCO 2"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [695, 597, 730, 633]
NamePlacement "alternate"
FontSize 18
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,off,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 400]|[1.00 0.70]|[1.1 0.9]|off"
System {
Name "ESCO 2"
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 "ESCO 3"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [795, 97, 830, 133]
FontSize 18
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,off,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 400]|[0.90 0.60]|[1.1 0.9]|off"
System {
Name "ESCO 3"
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 Reference
Name "GENCO 1"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [95, 550, 145, 600]
NamePlacement "alternate"
FontName "Arial"
FontSize 16
SourceBlock "fm_lib/Power Flow/PV"
SourceType "PV"
p2_3q "[100 400]"
p4q "0.9"
p5q "1.05"
p6_7q "[1.5 -1.5]"
p8_9q "[1.1 0.9]"
p10q "1"
}
Block {
BlockType Reference
Name "GENCO 2"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [235, 92, 250, 128]
FontName "Arial"
FontSize 16
SourceBlock "fm_lib/Power Flow/Slack"
SourceType "SW"
p2_3q "[100 400]"
p4q "1.05"
p5q "0.00"
p6_7q "[1.5 -1.5]"
p8_9q "[1.1 0.9]"
p10q "1.4"
p11q "1"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -