📄 d_009_fault.mdl
字号:
Tag "PMCPort" Position [280, 101, 310, 119] Orientation "left" ShowName off Port "1" Side "Right" } Line { LineType "Connection" SrcBlock "Atomic Subsystem" SrcPort RConn1 DstBlock "Connection\nPort1" DstPort RConn1 } Annotation { Name "Synchronous Machine" Position [164, 45] } } } Block { BlockType SubSystem Name "Gen4" Tag "PSATblock" Description "Machines" Ports [0, 0, 0, 0, 0, 0, 1] Position [437, 645, 473, 675] Orientation "up" ShowName off FontSize 12 PropExecContextOutsideSubsystem off RTWSystemCode "Auto" Opaque off RequestExecContextInheritance off MaskType "Syn" MaskDescription "This block defines a fourth order synchronous machine." MaskPromptString "Power, voltage and frequency ratings [MVA, kV, Hz]|Machine Dynamic Orde""r|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 constants 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 = 2""H) and Damping [s, p.u.]|Speed and active power additional signals Kw and Kp [p.u., p.u.]|Percentage ""of active and reactive powers at bus [p.u. p.u.]|d-axis additional circuit leakage time constant Taa"" [s] |Saturation coefficients S(1.0) and S(1.2)|Number of input signals|COI number|Connected" MaskStyleString "edit,popup(8|6|5.3|5.2|5.1|4|3|2),edit,edit,edit,edit,edit,edit,edit,edi""t,edit,edit,popup(0|1|2),edit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "|fm_block|||||||||||||fm_block" MaskEnableString "on,on,on,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,on,on,on" MaskToolTipString "on,on,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_17""q=@7;p18_19q=@8;p20_21q=@9;p22_23q=@10;p24q=@11;p25_26q=@12;in=@13;p27q=@14;p28q=@15;" 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('blue')\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]|2|[0.00 0.0336]|[0.1460 0.0608 0.0000]|[8.96 0.0""0]|[0.0969 0.0969 0.0000]|[0.310 0.0000]|[2*23.64 0.00]|[0.00 0.00]|[1.00 1.00]|0.002|[0 0]|0|1|on" System { Name "Gen4" 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 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" RConnTagsString "__newr0" } Block { BlockType PMIOPort Name "Connection\nPort1" Tag "PMCPort" Position [280, 101, 310, 119] Orientation "left" ShowName off Port "1" Side "Right" } Line { LineType "Connection" SrcBlock "Atomic Subsystem" SrcPort RConn1 DstBlock "Connection\nPort1" DstPort RConn1 } Annotation { Name "Synchronous Machine" Position [164, 45] } } } Block { BlockType Reference Name "Line" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [485, 104, 570, 116] Orientation "left" ShowName off FontName "Courier" FontSize 14 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 230 60]" p6q "0" p8q "0.0119" p9q "0.1008" p10q "0.1045*2" p13_14_15q "[0.0 0.0 0.0]" p16q on } Block { BlockType Reference Name "Line1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [300, 104, 385, 116] ShowName off FontName "Courier" FontSize 14 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 230 60]" p6q "0" p8q "0.0085" p9q "0.072" p10q "0.0745*2" p13_14_15q "[0.0 0.0 0.0]" p16q on } Block { BlockType Reference Name "Line2" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [534, 190, 546, 265] Orientation "down" NamePlacement "alternate" ShowName off FontName "Courier" FontSize 14 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 230 60]" p6q "0" p8q "0.039" p9q "0.170" p10q "0.179*2" p13_14_15q "[0.0 0.0 0.0]" p16q on } Block { BlockType PMComponent Name "Line3" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [314, 190, 326, 265] Orientation "down" NamePlacement "alternate" ShowName off FontName "Courier" FontSize 14 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" MaskType "Line" MaskDescription "This block defines a pi model for a tree phase line." MaskPromptString "Power, Voltage and Frequency Ratings [MVA, kV, Hz]|Length of line [k""m] (0 for p.u. parameters)|Resistance [p.u. (Ohms/km)]|Reactance [p.u. (H/km)]|Susceptance [p.u. (F/k""m)]|Imax, Pmax and Smax [p.u., p.u., p.u.]|Connected" MaskStyleString "edit,edit,edit,edit,edit,edit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on" MaskCallbackString "||||||fm_block" MaskEnableString "on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on" MaskVarAliasString ",,,,,," MaskVariables "p3_4_5q=@1;p6q=@2;p8q=@3;p9q=@4;p10q=@5;p13_14_15q=@6;p16q=@7;" MaskInitialization "[xp,yp] = fm_draw('pi');" MaskDisplay "plot([-1 1 1 -1 -1],[-0.2 -0.2 0.2 0.2 -0.2])\ncolor('blue')\nplot(0.35*xp,0.2*yp)" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 230 60]|0|0.032|0.161|0.153*2|[0.0 0.0 0.0]|on" } Block { BlockType Reference Name "Line4" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [339, 350, 351, 425] Orientation "down" NamePlacement "alternate" ShowName off FontName "Courier" FontSize 14 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 230 60]" p6q "0" p8q "0.01" p9q "0.085" p10q "0.088*2" p13_14_15q "[0.0 0.0 0.0]" p16q on } Block { BlockType Reference Name "Line5" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1, 1] Position [509, 350, 521, 425] Orientation "down" NamePlacement "alternate" ShowName off FontName "Courier" FontSize 14 SourceBlock "fm_lib/Power Flow/Line" SourceType "Line" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" RConnTagsString "__newr0" p3_4_5q "[100 230 60]" p6q "0" p8q "0.017" p9q "0.092" p10q "0.079*2" p13_14_15q "[0.0 0.0 0.0]" p16q on } Block { BlockType PMComponent Name "PQ1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [550, 325, 580, 355] Orientation "down" NamePlacement "alternate" ShowName off FontName "Courier" FontSize 14 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "PQ" MaskDescription "This block defines a constant power load:\n\nP = Pcost.\nQ = Qcost." MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active and Reactive Powers [p.u. ""p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u.]|Allow conversion to impendance for min & max voltage|Connected" MaskStyleString "edit,edit,edit,checkbox,checkbox" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "|||fm_block|fm_block" MaskEnableString "on,on,off,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,," MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;p9q=@5;" MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 230]|[0.90 0.30]|[1.2 0.8]|off|on" } Block { BlockType PMComponent Name "PQ2" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [430, 165, 460, 195] Orientation "down" NamePlacement "alternate" ShowName off FontName "Courier" FontSize 14 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "PQ" MaskDescription "This block defines a constant power load:\n\nP = Pcost.\nQ = Qcost." MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active and Reactive Powers [p.u. ""p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u.]|Allow conversion to impendance for min & max voltage|Connected" MaskStyleString "edit,edit,edit,checkbox,checkbox" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "|||fm_block|fm_block" MaskEnableString "on,on,off,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,," MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;p9q=@5;" MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 230]|[1.00 0.35]|[1.2 0.8]|off|on" } Block { BlockType PMComponent Name "PQ3" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [280, 325, 310, 355] Orientation "down" NamePlacement "alternate" ShowName off FontName "Courier" FontSize 14 PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "PQ" MaskDescription "This block defines a constant power load:\n\nP = Pcost.\nQ = Qcost." MaskPromptString "Power and Voltage Ratings [MVA, kV]|Active and Reactive Powers [p.u. ""p.u.]|Maximum and Minimum Allowable Voltage [p.u. p.u.]|Allow conversion to impendance for min & max voltage|Connected" MaskStyleString "edit,edit,edit,checkbox,checkbox" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "|||fm_block|fm_block" MaskEnableString "on,on,off,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,," MaskVariables "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;p9q=@5;" MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -