📄 d_bpa.mdl
字号:
Name "Connection\nPort2" Tag "PMCPort" Position [60, 86, 90, 104] ShowName off Port "2" Side "Right" } Line { LineType "Connection" SrcBlock "Connection\nPort2" SrcPort RConn1 Points [0, 0] DstBlock "Atomic Subsystem" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Atomic Subsystem" SrcPort RConn1 Points [0, 0] DstBlock "Connection\nPort1" DstPort RConn1 } Annotation { Name "Tap Changer Under Load " Position [164, 45] } } } Block { BlockType SubSystem Name "Oxl" Tag "PSATblock" Description "Controls" Ports [0, 1] Position [85, 294, 120, 316] ShowName off TreatAsAtomicUnit off RTWSystemCode "Auto" MaskType "Oxl" MaskDescription "This block defines a breaker." MaskPromptString "Integrator time constant T0 [s]|Use generator X""d and Xq|d-axis estimated reactance Xd [p.u.]|q-axis estimated reactance Xq [""p.u.]|Maximum Field Current [p.u.]" MaskStyleString "edit,checkbox,edit,edit,edit" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "|fm_block|||" MaskEnableString "on,on,off,off,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,," MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;" MaskInitialization "[x,y] = fm_draw('O');" 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.8+[-1.3 0],[1 -1],1.8+[-1.3 0],[-1 1])\nplot(1"".5*x-1.2,2*y,[2.3 2.3],[1 -1],[2.3 3.6],[-1 -1])\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "1/0.248|on|0.2|0.18|30.667" System { Name "Oxl" Location [287, 280, 621, 472] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Constant" Position [120, 105, 150, 135] ShowName off } Block { BlockType Outport Name "Out1" Position [190, 110, 210, 130] ShowName off } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Out1" DstPort 1 } Annotation { Name "Overexcitation\nLimiter" Position [164, 45] } } } Block { BlockType SubSystem Name "Oxl1" Tag "PSATblock" Description "Controls" Ports [0, 1] Position [860, 149, 895, 171] Orientation "left" ShowName off TreatAsAtomicUnit off RTWSystemCode "Auto" MaskType "Oxl" MaskDescription "This block defines a breaker." MaskPromptString "Integrator time constant T0 [s]|Use generator X""d and Xq|d-axis estimated reactance Xd [p.u.]|q-axis estimated reactance Xq [""p.u.]|Maximum Field Current [p.u.]" MaskStyleString "edit,checkbox,edit,edit,edit" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "|fm_block|||" MaskEnableString "on,on,off,off,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,," MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;" MaskInitialization "[x,y] = fm_draw('O');" 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.8+[-1.3 0],[1 -1],1.8+[-1.3 0],[-1 1])\nplot(1"".5*x-1.2,2*y,[2.3 2.3],[1 -1],[2.3 3.6],[-1 -1])\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "1/0.248|on|0.2|0.18|30.667" System { Name "Oxl1" Location [287, 280, 621, 472] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Constant" Position [120, 105, 150, 135] ShowName off } Block { BlockType Outport Name "Out1" Position [190, 110, 210, 130] ShowName off } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Out1" DstPort 1 } Annotation { Name "Overexcitation\nLimiter" Position [164, 45] } } } Block { BlockType PMComponent Name "PQ" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [765, 231, 790, 259] ShowName off 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" MaskStyleString "edit,edit,edit,checkbox" 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 "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;" MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 115]|[33.6940 10.457]|[1.2 0.8]|on" } Block { BlockType PMComponent Name "PQ1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 1] Position [1005, 301, 1030, 329] ShowName off 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" MaskStyleString "edit,edit,edit,checkbox" 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 "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;" MaskDisplay "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "[100 13.8]|[34.8560 0]|[1.2 0.8]|on" } Block { BlockType Reference Name "PV" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 0, 1] Position [205, 280, 235, 310] ShowName off SourceBlock "fm_lib/Power Flow/PV" SourceType "PV" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" p2_3q "[2200 13.8]" p4q "1736/2200" p5q "0.9646" p6_7q "[725/2200 -200/2200]" p8_9q "[1.1 0.9]" p10q "1" } Block { BlockType Reference Name "PV1" Tag "PSATblock" Description "Power Flow" Ports [0, 0, 0, 0, 0, 0, 1] Position [740, 85, 770, 115] Orientation "left" NamePlacement "alternate" ShowName off SourceBlock "fm_lib/Power Flow/PV" SourceType "PV" PhysicalDomain "psatdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" RConnTagsString "__newr0" p2_3q "[1600 13.8]" p4q "1155/1600" p5q "0.9730" p6_7q "[700/1600 -100/1600]" p8_9q "[1.1 0.9]" p10q "1" } Block { BlockType PMComponent Name "Pl" Tag "PSATblock" Description "Loads" Ports [0, 0, 0, 0, 0, 1] Position [795, 256, 825, 284] ShowName off PhysicalDomain "psatdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0" MaskType "Pl" MaskDescription "This block defines a ZIP load." MaskPromptString "Power, voltage and frequency ratings [MVA, kV, ""Hz]|Percentage of resistance, active current and active power [%, %, %]|Perce""ntage of reactance, reactive current and reactive power [%, %, %]|Initialize ""after power flow" MaskStyleString "edit,edit,edit,checkbox" 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 "p2_3_4q=@1;p5_6_7q=@2;p8_9_10q=@3;p11q=@4;" MaskDisplay "plot([-1 -1 1 1 -1],[-1 1 1 -1 -1])\ncolor('blu""e')\nplot([0 0],[-0.3 0.3],[-0.3 -0.7 -0.3 -0.7],[-0.3 -0.3 0.3 0.3])\nplot([""0.3 0.3 0.6 0.7 0.7 0.6 0.3],[-0.3 0.3 0.3 0.2 0.1 0 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "[100 115 60]|[0 0 100]|[0 0 100]|on" } Block { BlockType SubSystem Name "Pss" Tag "PSATblock" Description "Controls" Ports [0, 1] Position [85, 315, 120, 335] ShowName off TreatAsAtomicUnit off RTWSystemCode "Auto" MaskType "Pss" MaskDescription "This block defines a Power System Stabilizer." MaskPromptString "PSS model|Input Signal|Max & Min Stabilizer Out""put [p.u.]|Gain Kw and time constant Tw [p.u./p.u., s]|Electrical power gain"" Kp & voltage gain Kv [p.u./p.u., p.u./p.u.]|Lead-Lag time constants T1, T2, ""T3, T4 [s, s, s, s]|Gain Ka and time constant Ta [p.u./p.u., s]|Additional si""gnal limits Va_max, Va_thr, V3_max & V3_min [p.u., p.u., p.u., p.u.]|Threshol""d limits E_thr & w_thr [p.u., p.u.]|Allow switch S2" MaskStyleString "popup(1|2|3|4|5),popup(omega|power|voltage),edi""t,edit,edit,edit,edit,edit,edit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on" MaskCallbackString "fm_block|||||||||" MaskEnableString "on,on,on,on,off,on,off,off,off,off" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,," MaskVariables "p2q=@1;p3q=@2;p4_5q=@3;p6_7q=@4;p14_15q=@5;p8_9""_10_11q=@6;p12_13q=@7;p16_17_18_19q=@8;p20_21q=@9;p22q=@10;" MaskInitialization "[xs,ys] = fm_draw('S');\n[xp,yp] = fm_draw('P')"";" 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.5*xp-0.7,2*yp,1.2+1.5*xs,2*ys,2.8+1.5*xs,2*ys)" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "2|omega|[0.05 -0.05]|[24.4 3]|20 5|[0.05 0.1""5 0.05 0.15]|[25 0.5]|[0.045 0.045 0.045 -0.045]|[1.000 0.95]|off" System { Name "Pss" Location [67, 205, 401, 397] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Constant"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -