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

📄 fm_lib.mdl

📁 这是一个很适合研究和学习用的电力系统仿真软件
💻 MDL
📖 第 1 页 / 共 5 页
字号:
"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"
	  MaskTabNameString	  ",,,,,,,,,"
	  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
	      IconDisplay	      "Port number"
	    }
	    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
      MinAlgLoopOccurrences   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]"
	  MaskTabNameString	  ",,,,,,,,,"
	}
	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]"
	  MaskTabNameString	  ",,,,,,"
	}
	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)"
"\n\ncolor('magenta')\nplot([-0.45 -0.2 -0.2 -0.45],[-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])\n"
"plot([-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.65 -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]|[50  0.1]|[1.2  0.8]"
	  MaskTabNameString	  ",,"
	}
	Block {
	  BlockType		  PMComponent
	  Name			  "Svc"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [59, 75, 81, 125]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  PhysicalDomain	  "psatdomain"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "__newl0"
	  MaskType		  "Svc"
	  MaskDescription	  "This block describes an SVC component."
	  MaskPromptString	  "Power, Voltage and Frequency Ratings [MVA, "
"kV, Hz]|Model Type|Regulator Time Constant Tr [s]|Regulator Gain Kr [p.u./p.u"
".]|Reference Voltage [p.u.]|B_max and B_min [p.u.  p.u.]|Integral deviation K"
"d and transient time constant T1 [p.u. s]|Measurement gain and time delay Km,"
" Tm [p.u. s]|Inductive and capacitive reactances Xl and Xc [p.u. p.u.]"
	  MaskStyleString	  "edit,popup(1|2),edit,edit,edit,edit,edit,ed"
"it,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on,on,on"
	  MaskCallbackString	  "|fm_block|||||||"
	  MaskEnableString	  "on,on,on,on,on,on,off,off,off"
	  MaskVisibilityString	  "on,on,on,on,on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,,,"
	  MaskVariables		  "p2_3_4q=@1;p5q=@2;p6q=@3;p7q=@4;p8q=@5;p9_1"
"0q=@6;p11_12q=@7;p13_14q=@8;p15_16q=@9;"
	  MaskInitialization	  "[xi,yi] = fm_draw('ind');\n[xc,yc] = fm_dra"
"w('cap');"
	  MaskDisplay		  "plot([0.5 0.5],[1 0.8],[0.5 0.5],[0 0.2],[0"
" 1 1 0 0],[0.8 0.8 0.2 0.2 0.8]), plot([-0.1 1.1],[0 0],[0.1 0.9],[-0.05 -0.0"
"5],[0.3 0.7],[-0.1 -0.1]), color('green') plot([-0.4 -0.4 1.4 1.4],[0.1 0.3 0"
".7 0.9])"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[100   230   60]|1|10|100|1.00|[1.00   -1.0"
"0]|[0.001  0.000]|[1.000  0.01]|[0.20   0.10]"
	  MaskTabNameString	  ",,,,,,,,"
	}
	Block {
	  BlockType		  PMComponent
	  Name			  "Svc2"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [120, 75, 150, 135]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  PhysicalDomain	  "psatdomain"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "__newl0"
	  MaskType		  "Svc"
	  MaskDescription	  "This block describes an SVC component."
	  MaskPromptString	  "Power, Voltage and Frequency Ratings [MVA, "
"kV, Hz]|Model Type|Regulator Time Constant T2 [s]|Regulator Gain K [p.u./p.u."
"]|Reference Voltage [p.u.]|Alpha_max and Alpha_min [rad rad]|Integral deviati"
"on Kd and transient time constant T1 [p.u. s]|Measurement gain and time delay"
" Km, Tm [p.u. s]|Inductive and capacitive reactances Xl and Xc [p.u. p.u.]"
	  MaskStyleString	  "edit,popup(1|2),edit,edit,edit,edit,edit,ed"
"it,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on,on,on"
	  MaskCallbackString	  "|fm_block|||||||"
	  MaskEnableString	  "on,on,on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,,,"
	  MaskVariables		  "p2_3_4q=@1;p5q=@2;p6q=@3;p7q=@4;p8q=@5;p9_1"
"0q=@6;p11_12q=@7;p13_14q=@8;p15_16q=@9;"
	  MaskInitialization	  "[xi,yi] = fm_draw('ind');\n[xc,yc] = fm_dra"
"w('cap');"
	  MaskDisplay		  "plot([0.5 0.5],[0 0.2],[-0.5 1.5],[0 0],[3 "
"5],[-0.9 -0.9],[0.5 0.5],[-1.6 -1.8],[4 4],[0.2 -0.8],[1.9 1.9],[0.2 0.4],[1."
"9 1.9],[-1.8 -2],[0.5 4],[0.2 0.2],[0.5 0.5],[-0.65 -0.85],[4 4],[-1.8 -0.9],"
"[0.5 4],[-1.8 -1.8],[1.3 2.5],[-2 -2],[1.5 2.3],[-2.05 -2.05],[1.7 2.1],[-2.1"
" -2.1]), plot(4+yc,-0.7+0.1*xc,0.5-0.5*xi,-1.15+0.175+0.125*yi,0.5-0.5*xi,-1."
"15-0.325+0.125*yi,0.5-0.5*xi,-1.15-0.075+0.125*yi), color('magenta'), plot([-"
"0.5 1.5 1.5 -0.5 -0.5],[-0.65 -0.65 0 0 -0.65],[0 -0.5 -1 0],[-0.2 -0.45 -0.2"
" -0.2],[-0.7 -1.2],[-0.35 -0.35],[-1 0],[-0.45 -0.45],[1 1.5 2 1],[-0.45 -0.2"
" -0.45 -0.45],[2 1],[-0.2 -0.2],[1.7 2.2],[-0.3 -0.3])"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[100   230   60]|2|10|100|1.00|[1.00   -1.0"
"0] |[0.001  0.000]|[1.000  0.01]|[0.20   0.10]"
	  MaskTabNameString	  ",,,,,,,,"
	}
	Block {
	  BlockType		  PMComponent
	  Name			  "Tcsc"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [210, 78, 265, 102]
	  ShowName		  off
	  PhysicalDomain	  "psatdomain"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "__newl0"
	  RConnTagsString	  "__newr0"
	  MaskType		  "Tcsc"
	  MaskDescription	  "This block describes a TCSC component."
	  MaskPromp

⌨️ 快捷键说明

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