⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fm_lib.mdl

📁 基于PSAT 软件的多目标最优潮流计算用于中小型电力系统的分析和管理
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      BlockType		      Outport	      Name		      "Out1"	      Position		      [185, 65, 205, 85]	      ShowName		      off	    }	    Line {	      SrcBlock		      "In1"	      SrcPort		      1	      DstBlock		      "Terminator4"	      DstPort		      1	    }	    Line {	      SrcBlock		      "Constant"	      SrcPort		      1	      Points		      [0, 0]	      DstBlock		      "Out1"	      DstPort		      1	    }	    Annotation {	      Name		      "Suplementary Stabilizing Control Loop f""or SVCs"	      Position		      [162, 17]	    }	  }	}	Block {	  BlockType		  SubSystem	  Name			  "Pss"	  Tag			  "PSATblock"	  Description		  "Controls"	  Ports			  [0, 1]	  Position		  [50, 132, 90, 158]	  ShowName		  off	  TreatAsAtomicUnit	  off	  RTWSystemCode		  "Auto"	  MaskType		  "Pss"	  MaskDescription	  "This block defines a Power System Stabilize""r."	  MaskPromptString	  "PSS model|Input Signal|Max & Min Stabilizer"" Output [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]|Additiona""l signal limits Va_max, Va_thr, V3_max & V3_min [p.u., p.u., p.u., p.u.]|Thre""shold limits E_thr & w_thr [p.u., p.u.]|Allow switch S2"	  MaskStyleString	  "popup(1|2|3|4|5),popup(omega|power|voltage)"",edit,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,on,on,on,on"	  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	  "4|omega|[0.05 -0.05]|[50  0.5]|20  5|[0.1 0"".05 0.01 0.005]|[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"	      Position		      [120, 100, 150, 130]	      ShowName		      off	    }	    Block {	      BlockType		      Outport	      Name		      "Out1"	      Position		      [190, 105, 210, 125]	      ShowName		      off	    }	    Line {	      SrcBlock		      "Constant"	      SrcPort		      1	      DstBlock		      "Out1"	      DstPort		      1	    }	    Annotation {	      Name		      "Power System Stabilizer"	      Position		      [164, 45]	    }	  }	}	Block {	  BlockType		  SubSystem	  Name			  "Tg"	  Tag			  "PSATblock"	  Description		  "Controls"	  Ports			  [0, 1]	  Position		  [55, 61, 95, 89]	  ShowName		  off	  TreatAsAtomicUnit	  off	  RTWSystemCode		  "Auto"	  MaskType		  "Tg"	  MaskDescription	  "This block defines  a Turbine Governor."	  MaskHelp		  "This block defines  a Turbine Governor.\nTh""ere are two kind of regulators:\n\nType 1:\n\n     IEEE Model 4\n\nType 2:\n""\n     IEEE Model 1"	  MaskPromptString	  "Turbine governor type|Reference speed [p.u.""]|Droop R [p.u./p.u.]|Maximum torque [p.u.]|Minimum torque [p.u.]|Governor ti""me constant Ts [s]|Servo time constant Ts [s]|Transient gain time constant T3"" [s]|Power fraction time constant T4 [s]|Reheat time constant T5 [s]"	  MaskStyleString	  "popup(1|2),edit,edit,edit,edit,edit,edit,ed""it,edit,edit"	  MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on"	  MaskCallbackString	  "fm_block|||||||||"	  MaskEnableString	  "on,on,on,on,on,on,on,on,on,on"	  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;p4q=@3;p5q=@4;p6q=@5;p7q=@6;p""8q=@7;p9q=@8;p10q=@9;p11q=@10;"	  MaskInitialization	  "[x,y] = fm_draw('G');"	  MaskDisplay		  "plot([-1.8 2.8 2.8 -1.8 -1.8],[-1.5 -1.5 1.""5 1.5 -1.5])\ncolor('red')\nplot([-0.5 -0.5],[-1 1],[-1.3 0.3],[1 1])\nplot(1"".4+x,y)"	  MaskIconFrame		  off	  MaskIconOpaque	  on	  MaskIconRotate	  "none"	  MaskIconUnits		  "autoscale"	  MaskValueString	  "1|1.00|0.02|1.2|0.3|0.10|0.45|0.00|12.00|50"".00"	  System {	    Name		    "Tg"	    Location		    [154, 243, 488, 435]	    Open		    off	    ModelBrowserVisibility  off	    ModelBrowserWidth	    200	    ScreenColor		    "white"	    PaperOrientation	    "landscape"	    PaperPositionMode	    "auto"	    PaperType		    "usletter"	    PaperUnits		    "inches"	    ZoomFactor		    "100"	    Block {	      BlockType		      Constant	      Name		      "Constant"	      Position		      [115, 100, 145, 130]	      ShowName		      off	    }	    Block {	      BlockType		      Outport	      Name		      "Out1"	      Position		      [185, 105, 205, 125]	      ShowName		      off	    }	    Line {	      SrcBlock		      "Constant"	      SrcPort		      1	      DstBlock		      "Out1"	      DstPort		      1	    }	    Annotation {	      Name		      "Turbine Governor"	      Position		      [164, 45]	    }	  }	}	Annotation {	  Name			  "Controls"	  Position		  [175, 28]	  ForegroundColor	  "blue"	  FontSize		  12	}	Annotation {	  Name			  "Turbine\nGovernor"	  Position		  [69, 107]	}	Annotation {	  Name			  "Automatic Voltage\nRegulator"	  Position		  [181, 106]	}	Annotation {	  Name			  "Cluster \nController"	  Position		  [283, 107]	}	Annotation {	  Name			  "Central Area\nController"	  Position		  [281, 180]	}	Annotation {	  Name			  "Over Excitation \nLimiter"	  Position		  [181, 179]	}	Annotation {	  Name			  "Power System\nStabilizer"	  Position		  [68, 180]	}	Annotation {	  Name			  "Power Oscillation\nDamper"	  Position		  [141, 228]	}      }    }    Block {      BlockType		      SubSystem      Name		      "FACTS"      Tag		      "PSATfolder"      Description	      "FACTS"      Ports		      []      Position		      [324, 93, 371, 142]      ShowName		      off      FontSize		      12      TreatAsAtomicUnit	      off      RTWSystemCode	      "Auto"      MaskInitialization      "x = fm_draw('facts');"      MaskDisplay	      "image(x)"      MaskIconFrame	      off      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      System {	Name			"FACTS"	Location		[49, 101, 459, 493]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	Block {	  BlockType		  PMComponent	  Name			  "Hvdc"	  Tag			  "PSATblock"	  Description		  "FACTS"	  Ports			  [0, 0, 0, 0, 0, 1, 1]	  Position		  [135, 179, 355, 221]	  ShowName		  off	  PhysicalDomain	  "psatdomain"	  LeftPortType		  "p1"	  RightPortType		  "p1"	  LConnTagsString	  "__newl0"	  RConnTagsString	  "__newr0"	  MaskType		  "Hvdc"	  MaskDescription	  "This block defines a HVDC connection."	  MaskPromptString	  "Power and Frequency Ratings [MVA,  Hz]|Volt""age Rating at Terminal Buses [kV, kV]|DC Ratings (Vn_dc, In_dc) [kV, kA]|Tran""sformer Reactances (Xcr  Xci) [p.u.  p.u.]|Tap Ratios (Ar Ai) [p.u./p.u.  p.u""./p.u.]|PI Regulator Constants (Ki, Kp)|DC Line Parameters (Rdc Ldc) [Ohm  H]""|Rectifier Angle Limits (a_max, a_min) [deg  deg]|Inverter Angle Limits (g_ma""x, g_min) [deg  deg]|Reference Current Limits (I0rmax I0rmin I0imax I0imin) [""p.u.]"	  MaskStyleString	  "edit,edit,edit,edit,edit,edit,edit,edit,edi""t,edit"	  MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on"	  MaskCallbackString	  "|||||||||"	  MaskEnableString	  "on,on,on,on,on,on,on,on,on,on"	  MaskVisibilityString	  "on,on,on,on,on,on,on,on,on,on"	  MaskToolTipString	  "on,on,on,on,on,on,on,on,on,on"	  MaskVarAliasString	  ",,,,,,,,,"	  MaskVariables		  "p3_6q=@1;p4_5q=@2;p7_8q=@3;p9_10q=@4;p11_12""q=@5;p13_14q=@6;p15_16q=@7;p17_18q=@8;p19_20q=@9;p21_22_23_24q=@10;"	  MaskInitialization	  "[x,y] = fm_draw('circle');"	  MaskDisplay		  "plot(0.7+[0 4 4 0 0],[-2 -2 2 2 -2])\nplot(""9.7+[0 4 4 0 0],[-2 -2 2 2 -2])\nplot([4.7 9.7],[-1.25 -1.25],[4.7 9.7],[1.25"" 1.25])\n\nplot(x-2,y,x-0.6,y,x+15,y,x+16.4,y)\ncolor('green')\nplot(-2+[-1 -""1.3],[0 0],-2+[2.4 2.7],[0 0])\nplot(-2+[-0.8 0.7],[-1.2 1.2],-2+[0.5 0.7],[1"".1 1.2],-2+[0.7 0.7],[1.0 1.2])\nplot(15+[-1 -1.3],[0 0],15+[2.4 2.7],[0 0])""\nplot(16.4+[-0.8 0.7],[-1.2 1.2],16.4+[0.5 0.7],[1.1 1.2],16.4+[0.7 0.7],[1.""0 1.2])\n\ncolor('magenta')\nplot(0.7+[1 3 2 1],[-0.9 -0.9 0.9 -0.9])\nplot(9"".7+[1 3 2 1],[-0.9 -0.9 0.9 -0.9])\nplot(0.7+[2 2],[0.9 1.25],0.7+[2 2],[-0.9"" -1.25],0.7+[1.2 2.8],[0.9 0.9])\nplot(9.7+[2 2],[0.9 1.25],9.7+[2 2],[-0.9 -""1.25],9.7+[1.2 2.8],[0.9 0.9])\nplot(0.7+[2 2.5],[0.9 1.25],9.7+[2 2.5],[0.9 ""1.25])\n"	  MaskIconFrame		  off	  MaskIconOpaque	  on	  MaskIconRotate	  "port"	  MaskIconUnits		  "autoscale"	  MaskValueString	  "[100  60]|[400  400]|[400  2.5]|[0.1345   0"".1257]|[1.10  1.10]|[20  25]|[0.0625  0.200]|[120  5]|[40  18]|[1.0   0.1  0.""9  0.0]"	}	Block {	  BlockType		  PMComponent	  Name			  "Sssc"	  Tag			  "PSATblock"	  Description		  "FACTS"	  Ports			  [0, 0, 0, 0, 0, 1, 1]	  Position		  [330, 160, 370, 340]	  ShowName		  off	  PhysicalDomain	  "psatdomain"	  LeftPortType		  "p1"	  RightPortType		  "p1"	  LConnTagsString	  "__newl0"	  RConnTagsString	  "__newr0"	  MaskType		  "Sssc"	  MaskDescription	  "This block describes a SSSC component."	  MaskHelp		  "Tree control methodology are available:\n\n""Type 1, Magnitude control: m controls AC voltage by mean of a lead-lag transf""er function, whereas alpha controls DC voltage by mean of a PI regulator.\n\n""Type 2, Phase control: alpha controls AC voltage by mean of a PI regulator al""ong with a lead-lag transfer function, whereas m is kept at 0.9.\n\nType 3, P""hase control: alpha controls AC voltage by mean of a two poles and one zero t""ransfer function, whereas m is kept at 0.9. In this case parameters Kp and Ki"" are respectively the gain and the time constant of the low pass filter."	  MaskPromptString	  "Power, Voltage and Frequency Ratings [MVA, ""kV, Hz]|Operation mode: |Scheduling strategy:  |Percentage of series compensa""tion Cp [%]|Regulator time constant Tr [s]|Max and Min voltage [p.u.  p.u.]|P""orportional and integral gains KP and KI "	  MaskStyleString	  "edit,popup(constant_voltage|constant_reacta""nce|constant_power),popup(constant_line_power|constant_angle),edit,edit,edit,""edit"	  MaskTunableValueString  "on,on,on,on,on,on,on"	  MaskCallbackString	  "|fm_block|||||"	  MaskEnableString	  "on,on,off,on,on,on,off"	  MaskVisibilityString	  "on,on,on,on,on,on,on"	  MaskToolTipString	  "on,on,on,on,on,on,on"	  MaskVarAliasString	  ",,,,,,"	  MaskVariables		  "p3_4_5q=@1;p2q=@2;p10q=@3;p6q=@4;p7q=@5;p8_""9q=@6;p11_12q=@7;"	  MaskInitialization	  "[x,y] = fm_draw('circle');\n[xc,yc] = fm_dr""aw('cap');"	  MaskDisplay		  "plot([0.3 0.3 -0.95 -0.95 0.3],[-1.7 2.7 2.""7 -1.7 -1.7])\nplot([-0.75 -0.75 -0.4],[-1.7 -5 -5],[0.1 0.1 -0.25],[-1.7 -5 ""-5],[-0.4 -0.4],[-4 -6])\nplot(-0.15+0.1*xc,-5+yc)\nplot([-0.325 -0.325],[2.7"" 3.5],[-0.575 -0.95],[5.9 5.9],[-0.075 0.3],[5.9 5.9],0,17.8)\nplot(0.25*x-0.""325,4.5+y,0.25*x-0.325,5.9+y)\n\ncolor('magenta')\nplot([-0.45 -0.2 -0.2 -0.4""5],[-0.5 -1 0 -0.5],[-0.45 -0.45],[-1 0])\nplot([-0.2 -0.2],[2 1],[-0.2 -0.45"" -0.45 -0.2],[1.5 2 1 1.5])\nplot([-0.2 0 0 -0.65],[-0.5 -0.5 1.5 1.5],[0 0.2""],[0.5 0.5])\nplot([-0.45 -0.65 -0.65 -0.45],[-0.5 -0.5 1.5 1.5])\nplot([-0.6""5 -0.85],[0.5 0.5],[-0.3 -0.3],[1.7 2.2],[-0.325 -0.275],[1.975 1.975])\n"	  MaskIconFrame		  off	  MaskIconOpaque	  on	  MaskIconRotate	  "none"	  MaskIconUnits		  "autoscale"	  MaskValueString	  "[100  230  60]|constant_voltage|constant_li""ne_power|25|0.1|[1.15  0.85]|[10 50]"	}	Block {	  BlockType		  PMComponent	  Name			  "Statcom"	  Tag			  "PSATblock"	  Description		  "FACTS"	  Ports			  [0, 0, 0, 0, 0, 1]	  Position		  [49, 240, 91, 340]	  Orientation		  "down"	  ShowName		  off	  PhysicalDomain	  "psatdomain"	  LeftPortType		  "p1"	  RightPortType		  "p1"	  LConnTagsString	  "__newl0"	  MaskType		  "Statcom"	  MaskDescription	  "This block describes a StatCom component."	  MaskHelp		  "Tree control methodology are available:\n\n""Type 1, Magnitude control: m controls AC voltage by mean of a lead-lag transf""er function, whereas alpha controls DC voltage by mean of a PI regulator.\n\n""Type 2, Phase control: alpha controls AC voltage by mean of a PI regulator al""ong with a lead-lag transfer function, whereas m is kept at 0.9.\n\nType 3, P""hase control: alpha controls AC voltage by mean of a two poles and one zero t""ransfer function, whereas m is kept at 0.9. In this case parameters Kp and Ki"" are respectively the gain and the time constant of the low pass filter."	  MaskPromptString	  "Power, voltage and frequency ratings [MVA, ""kV, Hz]|Gain and time constant of the current control Kr, Tr [p.u./p.u.  s]|M""ax and Min Current [p.u. p.u.]"	  MaskStyleString	  "edit,edit,edit"	  MaskTunableValueString  "on,on,on"	  MaskCallbackString	  "||"	  MaskEnableString	  "on,on,on"	  MaskVisibilityString	  "on,on,on"	  MaskToolTipString	  "on,on,on"	  MaskVarAliasString	  ",,"	  MaskVariables		  "p2_3_4q=@1;p5_6q=@2;p7_8q=@3;"	  MaskInitialization	  "[x,y] = fm_draw('circle');\n[xc,yc] = fm_dr""aw('cap');\n"	  MaskDisplay		  "plot([0.3 0.3 -0.95 -0.95 0.3],[-1.7 2.7 2.""7 -1.7 -1.7])\nplot([-0.75 -0.75 -0.4],[-1.7 -5 -5],[0.1 0.1 -0.25],[-1.7 -5 ""-5],[-0.4 -0.4],[-4 -6])\nplot(-0.15+0.1*xc,-5+yc)\nplot([-0.325 -0.325],[2.7"" 3.5],[-0.325 -0.325],[6.9 7.5])\nplot(0.25*x-0.325,4.5+y,0.25*x-0.325,5.9+y)"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -