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

📄 fm_lib.mdl

📁 电力系统的psat
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [110, 150, 130, 170]
	      ShowName		      off
	      Port		      "1"
	      PortWidth	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [90, 80, 120, 110]
	      ShowName		      off
	      Value		      "1"
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator4"
	      Position		      [160, 150, 180, 170]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [160, 88, 190, 102]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Terminator4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "Cluster Controller"
	      Position		      [139, 45]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "OXL"
	  Tag			  "PSATblock"
	  Description		  "Controls"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [160, 132, 205, 158]
	  ShowName		  off
	  ShowPortLabels	  on
	  MaskType		  "Oxl"
	  MaskDescription	  "This block defines a breaker."
	  MaskPromptString	  "Integrator time constant T0 [s]|Use generat"
"or Xd 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"
	  MaskVariables		  "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;"
	  MaskInitialization	  "[x,y] = fm_draw('O');"
	  MaskDisplay		  "plot(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])\nplot([-1.8 4.1 4."
"1 -1.8 -1.8],[-1.5 -1.5 1.5 1.5 -1.5])"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "10|on|0.2|0.18|2.7"
	  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
	      Value		      "1"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [190, 110, 210, 130]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "Overexcitation\nLimiter"
	      Position		      [164, 45]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "PSS"
	  Tag			  "PSATblock"
	  Description		  "Controls"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [50, 132, 90, 158]
	  ShowName		  off
	  ShowPortLabels	  on
	  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"
	  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])\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
	      Value		      "1"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [190, 105, 210, 125]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "Power System Stabilizer"
	      Position		      [164, 45]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "TG"
	  Tag			  "PSATblock"
	  Description		  "Controls"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [55, 61, 95, 89]
	  ShowName		  off
	  ShowPortLabels	  on
	  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 T5 [s]|Reheat time Constant [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"
	  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([-0.5 -0.5],[-1 1],[-1.3 0.3],[1 1])\n"
"plot([-1.8 2.8],[-1.5 -1.5],[-1.8 2.8],[1.5 1.5],[-1.8 -1.8],[-1.5 1.5],[2.8 "
"2.8],[-1.5 1.5])\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
	      Value		      "1"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [185, 105, 205, 125]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "Turbine Governor"
	      Position		      [164, 45]
	    }
	  }
	}
	Annotation {
	  Text			  "Controls"
	  Position		  [175, 28]
	  ForegroundColor	  "blue"
	  FontSize		  12
	}
	Annotation {
	  Text			  "Turbine\nGovernor"
	  Position		  [69, 107]
	}
	Annotation {
	  Text			  "Automatic Voltage\nRegulator"
	  Position		  [181, 106]
	}
	Annotation {
	  Text			  "Cluster \nController"
	  Position		  [283, 107]
	}
	Annotation {
	  Text			  "Central Area\nController"
	  Position		  [281, 180]
	}
	Annotation {
	  Text			  "Over Excitation \nLimiter"
	  Position		  [181, 179]
	}
	Annotation {
	  Text			  "Power System\nStabilizer"
	  Position		  [68, 180]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FACTS"
      Tag		      "PSATfolder"
      Description	      "FACTS"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [360, 138, 413, 190]
      FontSize		      12
      ShowPortLabels	      on
      MaskDisplay	      "image(imread([Path.images,'sim_facts.jpg'],'jpe"
"g'))"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"FACTS"
	Location		[91, 43, 507, 418]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "HVDC"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [135, 179, 355, 221]
	  ShowName		  off
	  ShowPortLabels	  on
	  MaskType		  "Hvdc"
	  MaskDescription	  "This block defines a HVDC connection."
	  MaskPromptString	  "Power and Frequency Ratings [MVA, Hz]|Volta"
"ge rating at Terminal Buses [kV, kV]|DC Ratings (Vn_dc, In_dc) [kV, kA]|Trans"
"former 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_max"
", 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"
	  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],[-2 -2],0.7+[0 4],[2 2],0.7+"
"[0 0],[-2 2],0.7+[4 4],[-2 2])\nplot(9.7+[0 4],[-2 -2],9.7+[0 4],[2 2],9.7+[0"
" 0],[-2 2],9.7+[4 4],[-2 2])\nplot([4.7 9.7],[-1.25 -1.25],[4.7 9.7],[1.25 1."
"25])\nplot(0.7+[1 3],[-0.9 -0.9],0.7+[3 2],[-0.9 0.9],0.7+[1 2],[-0.9 0.9])\n"
"plot(9.7+[1 3],[-0.9 -0.9],9.7+[3 2],[-0.9 0.9],9.7+[1 2],[-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\nplot(x-2,y,x-0.6,y,x+15,y,x+16.4"
",y)\n\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])\n\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])"
	  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]"
	  System {
	    Name		    "HVDC"
	    Location		    [156, 190, 549, 428]
	    Open		    off
	    ModelBrowserVisibility  off

⌨️ 快捷键说明

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