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

📄 fm_lib.mdl

📁 电力系统的psat
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [90, 135, 110, 155]
	      ShowName		      off
	      Port		      "1"
	      PortWidth	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [280, 135, 300, 155]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "HVDC System"
	      Position		      [190, 79]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "SSSC"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [330, 160, 370, 340]
	  ShowName		  off
	  ShowPortLabels	  on
	  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]|Control type: (1) Power control;  (2) Current control|Resistance and "
"Capacitance of the DC circuit [p.u. p.u.]|Resistance and Capacitance of the T"
"A transformer [p.u. p.u.]|Resistance and Reactance of filter in AC circuit [p"
".u. p.u.]|Amplitude Regulator Constants (Ka, Kd, T1, T2) [p.u. p.u. s s]|PI p"
"hase regulator constant (Kp and Ki) [p.u. p.u.]|Gain and time delay of the AC"
" power measurement [p.u. s]|Gain and time delay of the DC voltage measurement"
" [p.u. s]|Reference DC Voltage and AC Power Flow [p.u. p.u.]|Max and Min beta"
" angle [rad rad]|Max and Min modulation factor [p.u. p.u.]"
	  MaskStyleString	  "edit,popup(1|2),edit,edit,edit,edit,edit,ed"
"it,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskCallbackString	  "|fm_block||||||||||"
	  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		  "p4_5_6q=@1;p3q=@2;p7_8q=@3;p23_24q=@4;p9_10"
"q=@5;p11_12_13_14q=@6;p15_16q=@7;p17_18q=@8;p19_20q=@9;p21_22q=@10;p25_26q=@1"
"1;p27_28q=@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.75 -0.75],[-1.7 -5],[0.1 0.1],[-1.7 -5],[-0.75 -0"
".4],[-5 -5],[0.1 -0.25],[-5 -5],[-0.4 -0.4],[-4 -6])\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  plot(-0.15"
"+0.1*[-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.6428   -0.5000   -0.3420]"
",-5+[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])"
"\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)"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[100  230  60]|1|[600 0.0143]|[0.0001 0.105"
"]|[0.0001 0.00015]|[200 0.1 0.001 0.001]|[100 200]|[1.00  0.001]|[1.00 0.001]"
"|[1.05  1.05]|[6.28 3.14]|[1 -1]"
	  System {
	    Name		    "SSSC"
	    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		      "SSSC"
	      Position		      [187, 51]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "SVC (1)"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [1, 0, 0, 0, 0]
	  Position		  [59, 75, 81, 125]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  ShowPortLabels	  on
	  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"
	  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	  "[xc,yc] = fm_draw('cap');\n[xi,yi] = fm_dra"
"w('ind');"
	  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],[-0.1 1.1],[0 0],[0.1 0.9],[-0.05 -0.05],[0.3"
" 0.7],[-0.1 -0.1], [-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]"
	  System {
	    Name		    "SVC (1)"
	    Location		    [156, 190, 427, 367]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [105, 110, 125, 130]
	      ShowName		      off
	      Port		      "1"
	      PortWidth	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator4"
	      Position		      [155, 110, 175, 130]
	      ShowName		      off
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Terminator4"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "SVC"
	      Position		      [142, 66]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "SVC (2)"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [1, 0, 0, 0, 0]
	  Position		  [120, 75, 150, 135]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  ShowPortLabels	  on
	  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"
	  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	  "[xc,yc] = fm_draw('cap');\n[xi,yi] = fm_dra"
"w('ind');"
	  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), 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]"
	  System {
	    Name		    "SVC (2)"
	    Location		    [156, 190, 427, 367]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [105, 110, 125, 130]
	      ShowName		      off
	      Port		      "1"
	      PortWidth	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator4"
	      Position		      [155, 110, 175, 130]
	      ShowName		      off
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Terminator4"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "SVC"
	      Position		      [142, 66]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "StatCom"
	  Tag			  "PSATblock"
	  Description		  "FACTS"
	  Ports			  [1, 0, 0, 0, 0]
	  Position		  [49, 240, 91, 340]
	  Orientation		  "down"
	  ShowName		  off
	  ShowPortLabels	  on
	  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]|Control Type|Reference AC and DC voltages [p.u. p.u.]|Max and Min Cur"
"rent [p.u. p.u.]|Resistance and reactance of the AC circuit [p.u. p.u.]|Resis"
"tance and capacitance of the DC circuit [p.u. p.u.]|Amplitude regulator const"
"ants (Ka, Kd, T1, T2) [p.u. p.u. s s]|PI phase regulators gains (Kp, Ki) [p.u"
". p.u.]|Gain and time delay of the AC voltage measurement [p.u. s]|Gain and t"
"ime dealy of the DC voltage measurement [p.u. s]"
	  MaskStyleString	  "edit,popup(1|2|3),edit,edit,edit,edit,edit,"
"edit,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		  "p3_4_5q=@1;p2q=@2;p6_7q=@3;p8_9q=@4;p10_11q"
"=@5;p12_13q=@6;p14_15_16_17q=@7;p18_19q=@8;p20_21q=@9;p22_23q=@10;"
	  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.75 -0.75],[-1.7 -5],[0.1 0.1],[-1.7 -5],[-0.75 -0"
".4],[-5 -5],[0.1 -0.25],[-5 -5],[-0.4 -0.4],[-4 -6])\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  plot(-0.15"
"+0.1*[-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.6428   -0.5000   -0.3420]"
",-5+[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])"
"\nplot([-0.325 -0.325],[2.7 3.5],[-0.325 -0.325],[6.9 7.5])\nplot(0.25*x-0.32"
"5,4.5+y,0.25*x-0.325,5.9+y)"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[100  230  60]|1|[1.00  1.04]|[1.2  0.8]|[0"
".001  0.015]|[600  0.0143]|[200  1  0.001  0.05]|[100  20]|[1.00  0.001]|[1.0"
"0  0.001]"
	  System {
	    Name		    "StatCom"
	    Location		    [160, 194, 561, 392]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [145, 100, 165, 120]
	      ShowName		      off
	      Port		      "1"
	      PortWidth	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"

⌨️ 快捷键说明

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