d_kundur1_svc.mdl
来自「用于电力系统的一个很好的分析软件」· MDL 代码 · 共 1,797 行 · 第 1/5 页
MDL
1,797 行
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.055|0.125|1.8|0.01|0.36|0.05|[0.0056 1.075]|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 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 "AVR2" Tag "PSATblock" Description "Controls" Ports [0, 1] Position [1095, 210, 1130, 230] 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.]|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 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,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')\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.055|0.125|1.8|0.01|0.36|0.05|[0.0056 1.075]|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 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 [1155, 110, 1190, 130] 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.]|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 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,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')\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.055|0.125|1.8|0.01|0.36|0.05|[0.0056 1.075]|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 "Breaker" Tag "PSATblock" Description "Faults & Breakers" Ports [0, 0, 0, 0, 0, 1, 1] Position [165, 100, 185, 120] ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" MaskType "Breaker" MaskDescription "This block defines a breaker." MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, Hz]|Initially close|Firs""t intervention time [s]|Second intervention time [s]" MaskStyleString "edit,checkbox,edit,edit" 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 "p3_4_5q=@1;p6q=@2;p7q=@3;p8q=@4;" MaskDisplay "plot([1 2 2 1 1],[-1 -1 1 1 -1]),color('red'),plot([1 2],[-1 1],[2 1],[-1 1])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 400 60]|on|1.1|999999" } Block { BlockType PMComponent Name "Bus 01" Tag "PSATblock" Description "Connection" Ports [0, 0, 0, 0, 0, 2, 1] Position [130, 63, 135, 152] BackgroundColor "black" 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|20|[1.03 0.3229]|1|1" } Block { BlockType PMComponent Name "Bus 02" Tag "PSATblock" Description "Connection" Ports [0, 0, 0, 0, 0, 2, 1] Position [260, 159, 265, 246] BackgroundColor "black" 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|20|[1.01 0.1536]|1|1" } Block { BlockType PMComponent Name "Bus 03" Tag "PSATblock" Description "Connection" Ports [0, 0, 0, 0, 0, 2, 1] Position [1070, 54, 1075, 141] Orientation "left" 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 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|20|[1.03 -0.1187]|2|1" } Block { BlockType PMComponent Name "Bus 04" Tag "PSATblock" Description "Connection" Ports [0, 0, 0, 0, 0, 2, 1] Position [1010, 154, 1015, 241] Orientation "left" BackgroundColor "blue" FontName "Courier New" FontSize 14 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0|__newl1" RConnTagsString "__newr0" MaskType "Bus" MaskDescription "Bus block."
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?