📄 d_009.mdl
字号:
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|5.00|-5.00|20|0.2|0.063|0.35|0.01|0.314|0.001"
"|[0.0039 1.555]|0"
System {
Name "AVR3"
Location [158, 247, 492, 439]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [170, 100, 200, 130]
ShowName off
}
Block {
BlockType Outport
Name "Out1"
Position [240, 105, 260, 125]
ShowName off
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Name "Automatic Voltage Regulator"
Position [234, 30]
}
}
}
Block {
BlockType PMComponent
Name "Bus 1"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 2, 1]
Position [371, 330, 469, 335]
Orientation "down"
BackgroundColor "red"
NamePlacement "alternate"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0|__newl1"
RConnTagsString "__newr0"
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|16.5|[1.00 0.00]|4|1"
}
Block {
BlockType PMComponent
Name "Bus 2"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 2, 1]
Position [155, 91, 160, 169]
BackgroundColor "yellow"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0|__newl1"
RConnTagsString "__newr0"
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|18|[1.00 0.00]|5|1"
}
Block {
BlockType PMComponent
Name "Bus 3"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 2, 1]
Position [705, 91, 710, 169]
Orientation "left"
BackgroundColor "green"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0|__newl1"
RConnTagsString "__newr0"
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|13.8|[1.00 0.00]|3|1"
}
Block {
BlockType PMComponent
Name "Bus 4"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 3]
Position [266, 480, 574, 485]
Orientation "down"
BackgroundColor "blue"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0|__newl1|__newl2"
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 "3|0|230|[1.00 0.00]|2|1"
}
Block {
BlockType PMComponent
Name "Bus 5"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [246, 290, 344, 295]
Orientation "down"
BackgroundColor "blue"
NamePlacement "alternate"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0|__newr1"
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 "1|2|230|[1.00 0.00]|2|1"
}
Block {
BlockType PMComponent
Name "Bus 6"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [496, 290, 594, 295]
Orientation "down"
BackgroundColor "blue"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0|__newr1"
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 "1|2|230|[1.00 0.00]|2|1"
}
Block {
BlockType PMComponent
Name "Bus 7"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [265, 91, 270, 169]
BackgroundColor "blue"
NamePlacement "alternate"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0|__newr1"
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 "1|2|230|[1.00 0.00]|2|1"
}
Block {
BlockType PMComponent
Name "Bus 8"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 2, 1]
Position [381, 135, 474, 140]
Orientation "down"
BackgroundColor "blue"
NamePlacement "alternate"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0|__newl1"
RConnTagsString "__newr0"
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|230|[1.00 0.00]|2|1"
}
Block {
BlockType PMComponent
Name "Bus 9"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [585, 92, 590, 168]
Orientation "left"
BackgroundColor "blue"
NamePlacement "alternate"
FontName "Courier New"
FontSize 14
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0|__newr1"
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 "1|2|230|[1.00 0.00]|2|1"
}
Block {
BlockType SubSystem
Name "Gen1"
Tag "PSATblock"
Description "Machines"
Ports [1, 0, 0, 0, 0, 0, 1]
Position [427, 280, 463, 310]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontSize 12
TreatAsAtomicUnit off
RTWSystemCode "Auto"
MaskType "Syn"
MaskDescription "This block defines a fourth order synchronous "
"machine."
MaskPromptString "Power, voltage and frequency ratings [MVA, kV, "
"Hz]|Machine Dynamic Order|resistance ra and leakage reactance xl [p.u. p.u.]|"
"d-axis reactances Xd, X'd X\"d [p.u.,p.u.,p.u.]|d-axis open circuit time cons"
"tants T'd0 and T\"d0 [s, s]|q-axis reactances Xq, X'q, X\"q [p.u. p.u. p.u."
"]|q-axis open circuit time constants T'q0 and T\"q0 [s s]|Inertia (M = 2H) an"
"d Damping [s, p.u.]|Speed and active power additional signals Kw & Kp [p.u., "
"p.u.]|Percentage of active and reactive powers at bus [p.u. p.u.]|d-axis addi"
"tional circuit leakage time constant Taa [s] |Saturation coefficients S(1.0) "
"and S(1.2)|Number of input signals"
MaskStyleString "edit,popup(8|6|5.3|5.2|5.1|4|3|2),edit,edit,edi"
"t,edit,edit,edit,edit,edit,edit,edit,popup(0|1|2)"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "|fm_block|||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,off,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,,,,"
MaskVariables "p2_3_4q=@1;p5q=@2;p7_6q=@3;p8_9_10q=@4;p11_12q="
"@5;p13_14_15q=@6;p16_17q=@7;p18_19q=@8;p20_21q=@9;p22_23q=@10;p24q=@11;p25_26"
"q=@12;in=@13;"
MaskInitialization "fm_inout\n[x,y] = fm_draw('circle');\n[xg,yg] ="
" fm_draw('G');\n[xs,ys] = fm_draw('sinus');\n"
MaskDisplay "plot(x+1.4,y,0.12*xs+1,0.15*ys-0.6)\ncolor('blu"
"e')\nplot(1.4+0.45*xg,0.3+0.45*yg)\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[100 16.5 60]|4|[0.00 0.00]|[0.1460 0.0608"
" 0.0000]|[8.96 0.00]|[0.0969 0.0969 0.0000]|[0.310 0.0000]|[2*23.64 0.0"
"0]|[0.00 0.00]|[1.00 1.00]|0.002|[0 0]|1"
System {
Name "Gen1"
Location [412, 233, 746, 425]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [25, 25, 45, 45]
Port "1"
LatchInput off
}
Block {
BlockType PMComponent
Name "Atomic Subsystem"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [140, 89, 240, 131]
ShowName off
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -