d_014_pss_l14.mdl
来自「这是一个很适合研究和学习用的电力系统仿真软件」· MDL 代码 · 共 1,803 行 · 第 1/5 页
MDL
1,803 行
ShowName off
FontSize 12
TreatAsAtomicUnit off
RTWSystemCode "Auto"
MaskType "Exc"
MaskDescription "This block defines an Automatic Voltage Regulat"
"or."
MaskHelp "This block defines an Automatic Voltage Regulat"
"or.\nThere are three kind of regulators:\n\nType 1:\n\n IEEE Model 1\n\nT"
"ype 2:\n\n IEEE Model 2\n\nType 3:\n \n IEEE Model 3"
MaskPromptString "Automatic Voltage Regulator Type|Maximum Regula"
"tor Voltage [p.u.]|Minimum Regulator Voltage [p.u.]|Regulator Gain m0 [p.u./p"
".u.]|First Regulator Pole T1 [s]|First Regulator Zero T2 [s]|Second Regulator"
" Pole T3 [s]|Second Regulator Zero T4 [s]|Time Constant of the Field Circuit "
"Td [s]|Time Delay of the Measurement System Tr [s]|Coefficient of the Ceiling"
" Function (A B)|Number of input signals"
MaskStyleString "popup(1|2|3),edit,edit,edit,edit,edit,edit,edit"
",edit,edit,edit,popup(0|1|2|3)"
MaskTunableValueString "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,on,on"
MaskVisibilityString "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"
MaskVarAliasString ",,,,,,,,,,,"
MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;p7q=@6;p8q=@"
"7;p9q=@8;p10q=@9;p11q=@10;p12_13q=@11;in=@12;"
MaskInitialization "fm_inout\n[x,y] = fm_draw('R');"
MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1."
"5 -1.5])\ncolor('red')\nplot([-1.3 -0.5],[-1 1],[-0.5 0.3],[1 -1],[-0.9 -0.1]"
",[0.0 0.0])\nplot(2.8+1.3*x,2*y,1.5+[-1.3 -0.5],[1 -1],1.5+[-0.5 0.3],[-1 1])"
"\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|4.38|0|20|0.02|0.001|1.0|0.01|1.98|0.001|[0.0"
"006 0.9]|0"
System {
Name "AVR1"
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 SubSystem
Name "AVR2"
Tag "PSATblock"
Description "Controls"
Ports [0, 1]
Position [716, 1055, 764, 1085]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontSize 12
TreatAsAtomicUnit off
RTWSystemCode "Auto"
MaskType "Exc"
MaskDescription "This block defines an Automatic Voltage Regulat"
"or."
MaskHelp "This block defines an Automatic Voltage Regulat"
"or.\nThere are three kind of regulators:\n\nType 1:\n\n IEEE Model 1\n\nT"
"ype 2:\n\n IEEE Model 2\n\nType 3:\n \n IEEE Model 3"
MaskPromptString "Automatic Voltage Regulator Type|Maximum Regula"
"tor Voltage [p.u.]|Minimum Regulator Voltage [p.u.]|Regulator Gain m0 [p.u./p"
".u.]|First Regulator Pole T1 [s]|First Regulator Zero T2 [s]|Second Regulator"
" Pole T3 [s]|Second Regulator Zero T4 [s]|Time Constant of the Field Circuit "
"Td [s]|Time Delay of the Measurement System Tr [s]|Coefficient of the Ceiling"
" Function (A B)|Number of input signals"
MaskStyleString "popup(1|2|3),edit,edit,edit,edit,edit,edit,edit"
",edit,edit,edit,popup(0|1|2|3)"
MaskTunableValueString "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,on,on"
MaskVisibilityString "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"
MaskVarAliasString ",,,,,,,,,,,"
MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;p7q=@6;p8q=@"
"7;p9q=@8;p10q=@9;p11q=@10;p12_13q=@11;in=@12;"
MaskInitialization "fm_inout\n[x,y] = fm_draw('R');"
MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1."
"5 -1.5])\ncolor('red')\nplot([-1.3 -0.5],[-1 1],[-0.5 0.3],[1 -1],[-0.9 -0.1]"
",[0.0 0.0])\nplot(2.8+1.3*x,2*y,1.5+[-1.3 -0.5],[1 -1],1.5+[-0.5 0.3],[-1 1])"
"\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|4.38|0|20|0.02|0.001|1.0|0.01|1.98|0.001|[0.0"
"006 0.9]|0"
System {
Name "AVR2"
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 SubSystem
Name "AVR3"
Tag "PSATblock"
Description "Controls"
Ports [0, 1]
Position [970, 444, 1020, 476]
NamePlacement "alternate"
ShowName off
FontSize 12
TreatAsAtomicUnit off
RTWSystemCode "Auto"
MaskType "Exc"
MaskDescription "This block defines an Automatic Voltage Regulat"
"or."
MaskHelp "This block defines an Automatic Voltage Regulat"
"or.\nThere are three kind of regulators:\n\nType 1:\n\n IEEE Model 1\n\nT"
"ype 2:\n\n IEEE Model 2\n\nType 3:\n \n IEEE Model 3"
MaskPromptString "Automatic Voltage Regulator Type|Maximum Regula"
"tor Voltage [p.u.]|Minimum Regulator Voltage [p.u.]|Regulator Gain m0 [p.u./p"
".u.]|First Regulator Pole T1 [s]|First Regulator Zero T2 [s]|Second Regulator"
" Pole T3 [s]|Second Regulator Zero T4 [s]|Time Constant of the Field Circuit "
"Td [s]|Time Delay of the Measurement System Tr [s]|Coefficient of the Ceiling"
" Function (A B)|Number of input signals"
MaskStyleString "popup(1|2|3),edit,edit,edit,edit,edit,edit,edit"
",edit,edit,edit,popup(0|1|2|3)"
MaskTunableValueString "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,on,on"
MaskVisibilityString "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"
MaskVarAliasString ",,,,,,,,,,,"
MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;p7q=@6;p8q=@"
"7;p9q=@8;p10q=@9;p11q=@10;p12_13q=@11;in=@12;"
MaskInitialization "fm_inout\n[x,y] = fm_draw('R');"
MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1."
"5 -1.5])\ncolor('red')\nplot([-1.3 -0.5],[-1 1],[-0.5 0.3],[1 -1],[-0.9 -0.1]"
",[0.0 0.0])\nplot(2.8+1.3*x,2*y,1.5+[-1.3 -0.5],[1 -1],1.5+[-0.5 0.3],[-1 1])"
"\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|6.81|1.395|20|0.02|0.001|1.0|0.01|0.7|0.001|["
"0.0006 0.9]|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 SubSystem
Name "AVR4"
Tag "PSATblock"
Description "Controls"
Ports [0, 1]
Position [315, 624, 360, 656]
ShowName off
FontSize 12
TreatAsAtomicUnit off
RTWSystemCode "Auto"
MaskType "Exc"
MaskDescription "This block defines an Automatic Voltage Regulat"
"or."
MaskHelp "This block defines an Automatic Voltage Regulat"
"or.\nThere are three kind of regulators:\n\nType 1:\n\n IEEE Model 1\n\nT"
"ype 2:\n\n IEEE Model 2\n\nType 3:\n \n IEEE Model 3"
MaskPromptString "Automatic Voltage Regulator Type|Maximum Regula"
"tor Voltage [p.u.]|Minimum Regulator Voltage [p.u.]|Regulator Gain m0 [p.u./p"
".u.]|First Regulator Pole T1 [s]|First Regulator Zero T2 [s]|Second Regulator"
" Pole T3 [s]|Second Regulator Zero T4 [s]|Time Constant of the Field Circuit "
"Td [s]|Time Delay of the Measurement System Tr [s]|Coefficient of the Ceiling"
" Function (A B)|Number of input signals"
MaskStyleString "popup(1|2|3),edit,edit,edit,edit,edit,edit,edit"
",edit,edit,edit,popup(0|1|2|3)"
MaskTunableValueString "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,on,on"
MaskVisibilityString "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"
MaskVarAliasString ",,,,,,,,,,,"
MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;p7q=@6;p8q=@"
"7;p9q=@8;p10q=@9;p11q=@10;p12_13q=@11;in=@12;"
MaskInitialization "fm_inout\n[x,y] = fm_draw('R');"
MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1."
"5 -1.5])\ncolor('red')\nplot([-1.3 -0.5],[-1 1],[-0.5 0.3],[1 -1],[-0.9 -0.1]"
",[0.0 0.0])\nplot(2.8+1.3*x,2*y,1.5+[-1.3 -0.5],[1 -1],1.5+[-0.5 0.3],[-1 1])"
"\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|6.81|1.395|20|0.02|0.001|1.0|0.01|0.7|0.001|["
"0.0006 0.9]|0"
System {
Name "AVR4"
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 Reference
Name "Breaker"
Tag "PSATblock"
Description "Faults & Breakers"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [560, 800, 580, 820]
Orientation "up"
ShowName off
FontSize 12
SourceBlock "fm_lib/Faults & \nBreakers/Breaker"
SourceType "Breaker"
PhysicalDomain "psatdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0"
p3_4_5q "[100 69 60]"
p6q on
p7q "1.00"
p8q "200.00"
}
Block {
BlockType PMComponent
Name "Bus 01"
Tag "PSATblock"
Description "Connection"
Ports [0, 0, 0, 0, 0, 2, 2]
Position [165, 730, 265, 735]
Orientation "down"
BackgroundColor "red"
FontName "Arial"
FontSize 12
PhysicalDomain "psatdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0|__newl1"
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"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?