📄 d_009.mdl
字号:
FontName "Courier"
FontSize 14
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.8"
"66 0])\nplot([-0.5 -1],[0 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 230]|[0.90 0.30]|[1.2 0.8]|off"
System {
Name "PQ1"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "gray"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
BackgroundColor "gray"
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"
BackgroundColor "gray"
ShowName off
FontName "Courier New"
FontSize 12
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "PQ Load Mask"
Position [109, 30]
ForegroundColor "white"
BackgroundColor "gray"
FontSize 14
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "PQ2"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [415, 155, 445, 185]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "Courier"
FontSize 14
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.8"
"66 0])\nplot([-0.5 -1],[0 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 230]|[1.00 0.35]|[1.2 0.8]|off"
System {
Name "PQ2"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "gray"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
BackgroundColor "gray"
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"
BackgroundColor "gray"
ShowName off
FontName "Courier New"
FontSize 12
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "PQ Load Mask"
Position [109, 30]
ForegroundColor "white"
BackgroundColor "gray"
FontSize 14
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "PQ3"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 0, 0, 0, 0]
Position [255, 310, 285, 340]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "Courier"
FontSize 14
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.8"
"66 0])\nplot([-0.5 -1],[0 0])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[100 230]|[1.25 0.50]|[1.2 0.8]|off"
System {
Name "PQ3"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "gray"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
BackgroundColor "gray"
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"
BackgroundColor "gray"
ShowName off
FontName "Courier New"
FontSize 12
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Text "PQ Load Mask"
Position [109, 30]
ForegroundColor "white"
BackgroundColor "gray"
FontSize 14
FontWeight "bold"
}
}
}
Block {
BlockType Reference
Name "PV"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [90, 92, 125, 128]
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/PV"
SourceType "PV"
p2_3q "[100 18]"
p4q "1.63"
p5q "1.025"
p6_7q "[99 -99]"
p8_9q "[1.1 0.9]"
p10q "1"
}
Block {
BlockType Reference
Name "PV1"
Tag "PSATblock"
Description "Power FLow"
Ports [0, 1, 0, 0, 0]
Position [735, 92, 770, 128]
Orientation "left"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/PV"
SourceType "PV"
p2_3q "[100 13.8]"
p4q "0.85"
p5q "1.025"
p6_7q "[99 -99]"
p8_9q "[1.1 0.9]"
p10q "1"
}
Block {
BlockType Reference
Name "Slack"
Tag "PSATblock"
Description "Power Flow"
Ports [0, 1, 0, 0, 0]
Position [377, 300, 413, 315]
Orientation "down"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Slack"
SourceType "SW"
p2_3q "[100 16.5]"
p4q "1.04"
p5q "0.00"
p6_7q "[99 -99]"
p8_9q "[1.1 0.9]"
p10q "0.80"
p11q "1"
}
Block {
BlockType Reference
Name "Trasf1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [185, 114, 245, 146]
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Transf1"
SourceType "Line"
p3_4_5q "[100 18 60]"
p7q "18/230"
p8q "0.0"
p9q "0.0625"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Trasf2"
Tag "PSATblock"
Description "Power FLow"
Ports [1, 1, 0, 0, 0]
Position [610, 114, 670, 146]
Orientation "left"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Transf1"
SourceType "Line"
p3_4_5q "[100 13.8 60]"
p7q "13.8/230"
p8q "0.0"
p9q "0.0586"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Trasf4"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1, 0, 0, 0]
Position [404, 385, 436, 440]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "Courier"
FontSize 14
SourceBlock "fm_lib/Power Flow/Transf1"
SourceType "Line"
p3_4_5q "[100 16.5 60]"
p7q "16.5/230"
p8q "0.0"
p9q "0.0576"
p13_14_15q "[0.0 0.0 0.0]"
}
Line {
Labels [0, 0]
SrcBlock "PV"
SrcPort 1
DstBlock "Bus 2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "PV1"
SrcPort 1
DstBlock "Bus 3"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Bus 2"
SrcPort 1
DstBlock "Trasf1"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Bus 3"
SrcPort 1
DstBlock "Trasf2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Trasf1"
SrcPort 1
DstBlock "Bus 7"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Trasf2"
SrcPort 1
DstBlock "Bus 9"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Bus 9"
SrcPort 1
DstBlock "Line"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Bus 7"
SrcPort 1
DstBlock "Line1"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Line"
SrcPort 1
Points [-5, 0]
DstBlock "Bus 8"
DstPort 2
}
Line {
Labels [0, 0]
SrcBlock "Bus 8"
SrcPort 1
DstBlock "PQ2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Bus 9"
SrcPort 2
Points [-35, 0]
DstBlock "Line2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Line2"
SrcPort 1
DstBlock "Bus 6"
DstPort 1
}
Line {
Labels [0, 0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -