📄 dlizi5.mdl
字号:
MaskCallbackString "||||fm_block|"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
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 "2|1|400|[1.05 0.00]|1|1"
MaskTabNameString ",,,,,"
System {
Name "Bus4"
Location [579, 460, 970, 817]
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"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "in_2"
Position [25, 75, 45, 95]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "g1"
Position [105, 20, 130, 50]
}
Block {
BlockType Terminator
Name "t1"
Position [65, 20, 90, 50]
}
Block {
BlockType Terminator
Name "t2"
Position [80, 70, 105, 100]
}
Block {
BlockType Outport
Name "out_1"
Position [155, 25, 175, 45]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "t2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bus5"
Tag "PSATblock"
Description "Connection"
Ports [2, 1]
Position [525, 44, 530, 146]
Orientation "left"
BackgroundColor "black"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Bus"
MaskDescription "Bus block."
MaskPromptString "Number of inputs:|Number of outputs:|Voltage ra"
"ting [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"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
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 "2|1|400|[1.05 0.00]|1|1"
MaskTabNameString ",,,,,"
System {
Name "Bus5"
Location [579, 460, 970, 817]
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"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "in_2"
Position [25, 75, 45, 95]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "g1"
Position [105, 20, 130, 50]
}
Block {
BlockType Terminator
Name "t1"
Position [65, 20, 90, 50]
}
Block {
BlockType Terminator
Name "t2"
Position [80, 70, 105, 100]
}
Block {
BlockType Outport
Name "out_1"
Position [155, 25, 175, 45]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
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
}
}
}
Block {
BlockType SubSystem
Name "Demand"
Tag "PSATblock"
Description "OPF & CPF"
Ports [1]
Position [368, 330, 402, 360]
Orientation "down"
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Demand"
MaskDescription "This block defines a constant power load for bi"
"furcation and market studies."
MaskPromptString "Power Rating [MVA]|Active Power [p.u.]|Reactive"
" Power [p.u.]|Max & Min Power Demand [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]|Allo"
"w Unit 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"
MaskToolTipString "on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,"
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;\n[xs,ys]=fm_draw('S');"
MaskDisplay "plot([ 1.0000 -0.5 -0.5 1],[ 0 0.866 "
" -0.866 0])\nplot(0.6*xs,0.6*ys,[0 0],[0.4 -0.4])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "100|1.6|1.0|[1.00 0.00]|[0.00 10.5 0.00]|[0."
"00 0.00 0.00]|off|0|0"
MaskTabNameString ",,,,,,,,"
System {
Name "Demand"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
ShowName off
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Terminator
Name "Terminator4"
Position [65, 115, 85, 135]
Orientation "left"
ShowName off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Name "Power Demand"
Position [109, 30]
}
}
}
Block {
BlockType Reference
Name "Line"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1]
Position [250, 40, 310, 50]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
ShowPortLabels on
p3_4_5q "[100 400 50]"
p6q "0"
p8q "0.08"
p9q "0.30"
p10q "0.5"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Line1"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1]
Position [255, 160, 315, 170]
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
ShowPortLabels on
p3_4_5q "[100 400 50]"
p6q "0"
p8q "0.04"
p9q "0.25"
p10q "0.5"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType Reference
Name "Line2"
Tag "PSATblock"
Description "Power Flow"
Ports [1, 1]
Position [380, 155, 390, 215]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "fm_lib/Power Flow/Line"
SourceType "Line"
ShowPortLabels on
p3_4_5q "[100 400 50]"
p6q "0"
p8q "0.1"
p9q "0.35"
p10q "0"
p13_14_15q "[0.0 0.0 0.0]"
}
Block {
BlockType SubSystem
Name "PQ"
Tag "PSATblock"
Description "Power Flow"
Ports [1]
Position [306, 335, 334, 360]
Orientation "down"
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "PQ"
MaskDescription "This block defines a constant power load:\n\nP "
"= Pcost.\nQ = Qcost."
MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active and "
"Reactive 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"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
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.60 0.80]|[1.2 0.8]|on"
MaskTabNameString ",,,"
System {
Name "PQ"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [120, 118, 150, 132]
Orientation "left"
ShowName off
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Terminator
Name "Terminator4"
Position [65, 115, 85, 135]
Orientation "left"
ShowName off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator4"
DstPort 1
}
Annotation {
Name "Constant PQ Load"
Position [109, 30]
}
}
}
Block {
BlockType SubSystem
Name "PQ1"
Tag "PSATblock"
Description "Power Flow"
Ports [1]
Position [245, 76, 270, 104]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "PQ"
MaskDescription "This block defines a constant power load:\n\nP "
"= Pcost.\nQ = Qcost."
MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active and "
"Reactive 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"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
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]|[2.0 1.0]|[1.2 0.8]|on"
MaskTabNameString ",,,"
System {
Name "PQ1"
Location [354, 336, 584, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -