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

📄 fm_lib.mdl

📁 电力系统的psat
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator4"
	      Position		      [195, 100, 215, 120]
	      ShowName		      off
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Terminator4"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "StatCom"
	      Position		      [187, 51]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "TCSC (1)"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [210, 78, 265, 102]
	  ShowName		  off
	  ShowPortLabels	  on
	  MaskType		  "Tcsc"
	  MaskDescription	  "This block describes a TCSC component."
	  MaskPromptString	  "Power, Voltage and Frequency Ratings [MVA, "
"kV, Hz]|Model Type|Regulator Gain |Reference Power Flow [p.u.]|Xc_max and Xc_"
"min [p.u.  p.u.]|XL and XC [p.u.  p.u.]|Time constants Tw, T1, T2 and T3 [s s"
" s s]"
	  MaskStyleString	  "edit,popup(1|2),edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on"
	  MaskCallbackString	  "|fm_block|||||"
	  MaskEnableString	  "on,on,on,on,on,off,on"
	  MaskVisibilityString	  "on,on,on,on,on,on,on"
	  MaskVariables		  "p3_4_5q=@1;p6q=@2;p7q=@3;p8q=@4;p9_10q=@5;p"
"11_12q=@6;p13_14_15_16q=@7;"
	  MaskInitialization	  "[xc,yc] = fm_draw('cap');\n[xi,yi] = fm_dra"
"w('ind');"
	  MaskDisplay		  "plot([1 0.8],[0.5 0.5],[0 0.2],[0.5 0.5],[0"
".8 0.8 0.2 0.2 0.8],[0 1 1 0 0],[0.1 0.3 0.7 0.9],[-0.4 -0.4 1.4 1.4])"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "port"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[100   230   60]|1|10|0.5|[0.5   -0.5 ]|[0."
"2  0.1]|[0.01  0.05  0.005  0.001]"
	  System {
	    Name		    "TCSC (1)"
	    Location		    [158, 192, 559, 390]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [70, 105, 90, 125]
	      ShowName		      off
	      Port		      "1"
	      PortWidth	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [290, 105, 310, 125]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "TCSC"
	      Position		      [187, 51]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "TCSC (2)"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [295, 73, 365, 107]
	  ShowName		  off
	  ShowPortLabels	  on
	  MaskType		  "Tcsc"
	  MaskDescription	  "This block describes a TCSC component."
	  MaskPromptString	  "Power, Voltage and Frequency Ratings [MVA, "
"kV, Hz]|Model Type|Regulator Gain |Reference Power Flow [p.u.]|Alpha_max and "
"Alpha_min [rad  rad]|XL and XC [p.u. p.u.]|Time constants Tw, T1, T2 and T3 ["
"s s s s]"
	  MaskStyleString	  "edit,popup(1|2),edit,edit,edit,edit,edit"
	  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"
	  MaskVariables		  "p3_4_5q=@1;p6q=@2;p7q=@3;p8q=@4;p9_10q=@5;p"
"11_12q=@6;p13_14_15_16q=@7;"
	  MaskInitialization	  "[xc,yc] = fm_draw('cap');\n[xi,yi] = fm_dra"
"w('ind');"
	  MaskDisplay		  "plot([-1.6 -1.8 -1.8],[0.5 0.5 4],[0.2 0.2]"
",[0.5 4],[-0.9 -0.9],[3 5],[0 0.2],[0.5 0.5],[-0.65 -0.85],[0.5 0.5],[-1.8 -0"
".9],[4 4],[0.2 -0.8],[4 4],[0.2 0.4],[1.9 1.9],[-1.8 -2],[1.9 1.9]), plot([-0"
".65 -0.65 0 0 -0.65],[-0.5 1.5 1.5 -0.5 -0.5],[-0.2 -0.45 -0.2 -0.2],[0 -0.5 "
"-1 0],[-0.35 -0.35],[-0.7 -1.2],[-0.45 -0.45],[-1 0],[-0.45 -0.2 -0.45 -0.45]"
",[1 1.5 2 1],[-0.2 -0.2],[2 1],[-0.3 -0.3],[1.7 2.2]), plot(-0.7+0.1*xc,4+yc,"
"-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,0.5+0.5*xi)"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "port"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[100   230   60]|2|10|0.5|[0.5   -0.5 ]|[0."
"2  0.1]|[0.01  0.05  0.005  0.001]"
	  System {
	    Name		    "TCSC (2)"
	    Location		    [158, 192, 559, 390]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [70, 105, 90, 125]
	      ShowName		      off
	      Port		      "1"
	      PortWidth	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [290, 105, 310, 125]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "TCSC"
	      Position		      [187, 51]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "UPFC"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [160, 187, 275, 333]
	  ShowName		  off
	  ShowPortLabels	  on
	  MaskType		  "Upfc"
	  MaskDescription	  "This block describes a UPFC 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]|Resistance and Capacitance of the DC circuit [p.u. p.u.]|Resistance a"
"nd Reactance of the shunt transformer [p.u. p.u.]|Resistance and Reactance of"
" the series transformer [p.u. p.u.]|Resistance and Reactance of the series AC"
" circuit [p.u. p.u.]|Vdc and Vac PI Regulators (Kp_dc, Ki_dc, Kp_ac, Ki_ac)|P"
"roportional and Integral Gain of the dq control [Kp_dq,  Ki_dq]|Gain and time"
" constant of the AC measurement [p.u.  s]|Gain and time constant of the DC me"
"asurement system [p.u.  s]|Reference AC and DC voltages [p.u.  p.u.]|Referenc"
"e Active and Reactive Powers [p.u.  p.u.]|Maximum and minimum currents [p.u. "
" p.u.]"
	  MaskStyleString	  "edit,edit,edit,edit,edit,edit,edit,edit,edi"
"t,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskCallbackString	  "|||||||||||"
	  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"
	  MaskVariables		  "p3_4_5q=@1;p6_7q=@2;p8_9q=@3;p20_21q=@4;p22"
"_23q=@5;p16_17_18_19q=@6;p24_25q=@7;p10_11q=@8;p12_13q=@9;p14_15q=@10;p26_27q"
"=@11;p28_29q=@12;"
	  MaskInitialization	  "[x,y] = fm_draw('circle');"
	  MaskDisplay		  "plot([0.3 0.3],[-1.7 2.7],[ -0.95  -0.95],["
"-1.7 2.7],[0 0.2],[0.5 0.5])\nplot([0.3 -0.95],[2.7 2.7],[0.3 -0.95],[-1.7 -1"
".7])\nplot([0 0],[-0.5 1.5],[0 -0.2],[-0.5 -0.5],[0 -0.65],[1.5 1.5])\nplot(["
"-0.2 -0.2],[-1 0],[-0.2 -0.45],[-1 -0.5],[-0.2 -0.45],[0 -0.5],[-0.45 -0.45],"
"[-1 0])\nplot([-0.2 -0.2],[2 1],[-0.45 -0.45],[2 1],[-0.45 -0.2],[2 1.5],[-0."
"45 -0.2],[1 1.5])\nplot([-0.65 -0.65],[-0.5 1.5],[-0.45 -0.65],[-0.5 -0.5],[-"
"0.45 -0.65],[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\nplot([-2.325 -2.325],[2.7 3.5],[-2.325 -2.325"
"],[6.9 7.5])\nplot(0.25*x-2.325,4.5+y,0.25*x-2.325,5.9+y)\nplot([-0.325 -0.32"
"5],[2.7 5.1],[-0.575 -2.95],[7.5 7.5],[-0.075 0.3],[7.5 7.5],0,16.7)\nplot(0."
"25*x-0.325,6.1+y,0.25*x-0.325,7.5+y)\n\nplot(-2+[0.3 0.3],[-1.7 2.7],-2+[ -0."
"95  -0.95],[-1.7 2.7],-2+[0 0.2],[0.5 0.5])\nplot(-2+[0.3 -0.95],[2.7 2.7],-2"
"+[0.3 -0.95],[-1.7 -1.7])\nplot(-2+[0 0],[-0.5 1.5],-2+[0 -0.2],[-0.5 -0.5],-"
"2+[0 -0.65],[1.5 1.5])\nplot(-2+[-0.2 -0.2],[-1 0],-2+[-0.2 -0.45],[-1 -0.5],"
"-2+[-0.2 -0.45],[0 -0.5],-2+[-0.45 -0.45],[-1 0])\nplot(-2+[-0.2 -0.2],[2 1],"
"-2+[-0.45 -0.45],[2 1],-2+[-0.45 -0.2],[2 1.5],-2+[-0.45 -0.2],[1 1.5])\nplot"
"(-2+[-0.65 -0.65],[-0.5 1.5],-2+[-0.45 -0.65],[-0.5 -0.5],-2+[-0.45 -0.65],[1"
".5 1.5])\nplot(-2+[-0.65 -0.85],[0.5 0.5],-2+[-0.3 -0.3],[1.7 2.2],-2+[-0.325"
" -0.275],[1.975 1.975])\n\nplot([-0.95 -1.7],[2.2 2.2],[-0.95 -1.7],[-1.2 -1."
"2])\nplot([-1.325+0.175  -1.325-0.175],[0.75 0.75],[-1.325 -1.325],[2.2 0.75]"
",[-1.325 -1.325],[0.35 -1.2])\nplot(-1.325+0.175*[1.0000    0.9848    0.9397 "
"   0.8660    0.7660    0.6428    0.5000  0.3420    0.1736    0.0000   -0.1736"
"   -0.3420   -0.5000   -0.6428   -0.7660   -0.8660   -0.9397   -0.9848   -1.0"
"000],0.1+0.25*[0    0.1736    0.3420    0.5000    0.6428    0.7660    0.8660 "
"   0.9397    0.9848    1.0000    0.9848    0.9397    0.8660    0.7660    0.64"
"28    0.5000    0.3420    0.1736    0.0000])\n"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[100  230  60]|[600 0.0143]|[0.0001 0.105]|"
"[0.0001 0.101]|[0.002  0.095]|[100 200 100 200]|[100 200]|[1.00  0.001]|[1.00"
" 0.001]|[1.05  1.02]|[0.8  0.2]|[1.2  0.8]"
	  System {
	    Name		    "UPFC"
	    Location		    [69, 158, 470, 356]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [100, 100, 120, 120]
	      ShowName		      off
	      Port		      "1"
	      PortWidth	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [280, 100, 300, 120]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "UPFC"
	      Position		      [187, 51]
	    }
	  }
	}
	Annotation {
	  Text			  "Flexible AC Transmission Systems"
	  Position		  [208, 35]
	  ForegroundColor	  "blue"
	  FontSize		  12
	}
	Annotation {
	  Text			  "TCSC (model 2)"
	  Position		  [328, 124]
	}
	Annotation {
	  Text			  "TCSC\n(model 1)"
	  Position		  [237, 122]
	}
	Annotation {
	  Text			  "SVC\n(model 1)"
	  Position		  [72, 148]
	}
	Annotation {
	  Text			  "SVC\n(model 2)"
	  Position		  [167, 131]
	}
	Annotation {
	  Text			  "HVDC\nTransmission\nLine"
	  Position		  [74, 199]
	}
	Annotation {
	  Text			  "StatCom"
	  Position		  [71, 352]
	}
	Annotation {
	  Text			  "UPFC"
	  Position		  [218, 350]
	}
	Annotation {
	  Text			  "SSSC"
	  Position		  [352, 353]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Faults & \nBreakers"
      Tag		      "PSATfolder"
      Description	      "Switches"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [286, 48, 337, 95]
      FontSize		      12
      ShowPortLabels	      on
      MaskDisplay	      "image(imread([Path.images,'sim_fault.jpg'],'jpe"
"g'))"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Faults & \nBreakers"
	Location		[445, 113, 721, 263]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "Breaker"
	  Tag			  "PSATblock"
	  Description		  "Faults & Breakers"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [190, 75, 210, 95]
	  ShowName		  off
	  ShowPortLabels	  on
	  MaskType		  "Breaker"
	  MaskDescription	  "This block defines a breaker."
	  MaskPromptString	  "Power, Voltage and Frequency Ratings [MVA, "
"kV, Hz]|Initially close|First 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	  

⌨️ 快捷键说明

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