d_009_hvdc.mdl
来自「用于电力系统的一个很好的分析软件」· MDL 代码 · 共 1,835 行 · 第 1/5 页
MDL
1,835 行
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 OutDataType "sfix(16)" OutScaling "2^0" } 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 [790, 140, 830, 160] Orientation "left" ShowName off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" Opaque off RequestExecContextInheritance off MaskType "Exc" MaskDescription "This block defines an Automatic Voltage Regulator." MaskHelp "This block defines an Automatic Voltage Regulator.\nThere are three kind of re""gulators:\n\nType 1:\n\n IEEE Model 1\n\nType 2:\n\n IEEE Model 2\n\nType 3:\n \n IEEE Model 3" MaskPromptString "Automatic Voltage Regulator Type|Maximum Regulator Voltage [p.u.]|Minim""um Regulator Voltage [p.u.]|Amplifier Gain Ka [p.u./p.u.]|Amplifier Time Constant Ta [s]|Stabilizer G""ain Kf [p.u./p.u.]|Stabilizer Time Tf [s]|Second Regulator Zero T4 [s]|Time Constant of the Field Cir""cuit 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,off,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')\nplo""t([-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|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 OutDataType "sfix(16)" OutScaling "2^0" } 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 Rating [kV]|Voltage initia""l 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 Rating [kV]|Voltage initia""l 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 Rating [kV]|Voltage initia""l 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 Rating [kV]|Voltage initia""l 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 Rating [kV]|Voltage initia""l 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 Rating [kV]|Voltage initia""l 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 Rating [kV]|Voltage initia""l 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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?