📄 d_014_dyn.mdl
字号:
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 Constant
Name "g3"
Position [130, 120, 155, 150]
Value "1"
}
Block {
BlockType Constant
Name "g4"
Position [130, 170, 155, 200]
Value "1"
}
Block {
BlockType Terminator
Name "t1"
Position [65, 20, 90, 50]
}
Block {
BlockType Terminator
Name "t2"
Position [80, 70, 105, 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 "[]"
}
Block {
BlockType Outport
Name "out_3"
Position [185, 125, 205, 145]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "out_4"
Position [185, 175, 205, 195]
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "g3"
SrcPort 1
DstBlock "out_3"
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_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "g4"
SrcPort 1
DstBlock "out_4"
DstPort 1
}
Line {
SrcBlock "in_3"
SrcPort 1
DstBlock "t3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bus 07"
Tag "PSATblock"
Ports [2, 1, 0, 0, 0]
Position [748, 470, 812, 475]
Orientation "up"
BackgroundColor "blue"
FontName "Arial"
FontSize 20
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 "2|1|13.8|[1.00 0.00]|2|1"
System {
Name "Bus 07"
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"
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 Constant
Name "g1"
Position [105, 20, 130, 50]
Value "1"
}
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]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "t2"
DstPort 1
}
Line {
SrcBlock "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bus 08"
Tag "PSATblock"
Ports [2, 1, 0, 0, 0]
Position [940, 476, 945, 574]
Orientation "left"
BackgroundColor "green"
FontName "Arial"
FontSize 20
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 "2|1|18|[1.00 0.00]|3|1"
System {
Name "Bus 08"
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"
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 Constant
Name "g1"
Position [105, 20, 130, 50]
Value "1"
}
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]
Port "1"
OutputWhenDisabled "held"
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 "Bus 09"
Tag "PSATblock"
Ports [2, 3, 0, 0, 0]
Position [663, 345, 817, 350]
Orientation "up"
BackgroundColor "blue"
FontName "Arial"
FontSize 20
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 "2|3|13.8|[1.00 0.00]|2|1"
System {
Name "Bus 09"
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"
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 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 [80, 70, 105, 100]
}
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 "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "g2"
SrcPort 1
DstBlock "out_2"
DstPort 1
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "t2"
DstPort 1
}
Line {
SrcBlock "g3"
SrcPort 1
DstBlock "out_3"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -