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

📄 d_test_2n.mdl

📁 电力系统的psat
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	  BlockType		  Terminator
	  Name			  "Terminator4"
	  Position		  [65, 115, 85, 135]
	  Orientation		  "left"
	  ShowName		  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Terminator4"
	  DstPort		  1
	}
	Annotation {
	  Text			  "Power Demand"
	  Position		  [109, 30]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Demand1"
      Tag		      "PSATblock"
      Description	      "OPF & CPF"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [185, 58, 215, 92]
      ShowName		      off
      ShowPortLabels	      on
      MaskType		      "Demand"
      MaskDescription	      "This block defines a constant power load for bi"
"furcation and market studies."
      MaskPromptString	      "Power Base [MVA]|Active Power [p.u.]|Reactive P"
"ower [p.u.]|Max & Min Power Demand [p.u.  p.u.]|Cost = a + b*P + c*P^2 [$/h, "
"$/MWh, $/(MWh)^2]|Cost = a + b*Q + c*Q^2 [$/h, $/MVArh, $/(MVArh)^2]|Allow Un"
"it Commitment|Tie Breaking Cost [$/h]|Number of Output Signals"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,checkbox,edit,pop"
"up(0|1)"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on,on"
      MaskVariables	      "p2q=@1;p3q=@2;p4q=@3;p5_6q=@4;p8_9_10q=@5;p11_1"
"2_13q=@6;p14q=@7;p15q=@8;out=@9;"
      MaskInitialization      "fm_inout;\n[xs,ys]=fm_draw('S');"
      MaskDisplay	      "plot([ 1.0000    -0.5   -0.5  1],[ 0    0.866  "
"  -0.866    0])\nplot(0.6*xs,0.6*ys,[0 0],[0.4 -0.4])"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "100|0.80|0.60|[1.50  0.5]|[0.00  8.5  0.00]|[0."
"00  0.00  0.00]|off|0|0"
      System {
	Name			"Demand1"
	Location		[354, 336, 584, 523]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [120, 118, 150, 132]
	  Orientation		  "left"
	  ShowName		  off
	  Port			  "1"
	  PortWidth	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator4"
	  Position		  [65, 115, 85, 135]
	  Orientation		  "left"
	  ShowName		  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Terminator4"
	  DstPort		  1
	}
	Annotation {
	  Text			  "Power Demand"
	  Position		  [109, 30]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Line"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [215, 140, 275, 150]
      ShowName		      off
      SourceBlock	      "fm_lib/Power Flow/Line"
      SourceType	      "Line"
      p3_4_5q		      "[100  400  60]"
      p6q		      "0"
      p8q		      "0.02"
      p9q		      "0.1"
      p10q		      "0.0"
      p13_14_15q	      "[0.8  0.0  0.0]"
    }
    Block {
      BlockType		      SubSystem
      Name		      "PQ"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [395, 116, 420, 144]
      ShowName		      off
      ShowPortLabels	      on
      MaskType		      "PQ"
      MaskDescription	      "This block defines a constant power load:\n\nP "
"= Pcost.\nQ = Qcost."
      MaskPromptString	      "Power and Voltage Rates [MVA, kV]|Active and Re"
"active Powers [p.u.  p.u.]|Maximum and Minimum Allowable Voltage [p.u.   p.u."
"]|Allow conversion to impendance for min & max voltage"
      MaskStyleString	      "edit,edit,edit,checkbox"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||fm_block"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskVariables	      "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;"
      MaskDisplay	      "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "[100  400]|[0 0]|[1.05  0.95]|on"
      System {
	Name			"PQ"
	Location		[354, 336, 584, 523]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [120, 118, 150, 132]
	  Orientation		  "left"
	  ShowName		  off
	  Port			  "1"
	  PortWidth	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator4"
	  Position		  [65, 115, 85, 135]
	  Orientation		  "left"
	  ShowName		  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Terminator4"
	  DstPort		  1
	}
	Annotation {
	  Text			  "Constant PQ Load"
	  Position		  [109, 30]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "PQ1"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [185, 96, 210, 124]
      ShowName		      off
      ShowPortLabels	      on
      MaskType		      "PQ"
      MaskDescription	      "This block defines a constant power load:\n\nP "
"= Pcost.\nQ = Qcost."
      MaskPromptString	      "Power and Voltage Rates [MVA, kV]|Active and Re"
"active Powers [p.u.  p.u.]|Maximum and Minimum Allowable Voltage [p.u.   p.u."
"]|Allow conversion to impendance for min & max voltage"
      MaskStyleString	      "edit,edit,edit,checkbox"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||fm_block"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskVariables	      "p2_3q=@1;p4_5q=@2;p6_7q=@3;p8q=@4;"
      MaskDisplay	      "plot([1 -0.5 -0.5 1],[0 0.866 -0.866 0])"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "[100  400]|[0  0]|[1.2  0.8]|on"
      System {
	Name			"PQ1"
	Location		[354, 336, 584, 523]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [120, 118, 150, 132]
	  Orientation		  "left"
	  ShowName		  off
	  Port			  "1"
	  PortWidth	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator4"
	  Position		  [65, 115, 85, 135]
	  Orientation		  "left"
	  ShowName		  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Terminator4"
	  DstPort		  1
	}
	Annotation {
	  Text			  "Constant PQ Load"
	  Position		  [109, 30]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "PV"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [90, 70, 120, 100]
      ShowName		      off
      SourceBlock	      "fm_lib/Power Flow/PV"
      SourceType	      "PV"
      p2_3q		      "[100  400]"
      p4q		      "0"
      p5q		      "1.00"
      p6_7q		      "[1  -1]"
      p8_9q		      "[1.05  0.95]"
      p10q		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Slack"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [325, 109, 335, 141]
      ShowName		      off
      SourceBlock	      "fm_lib/Power Flow/Slack"
      SourceType	      "SW"
      p2_3q		      "[100  400]"
      p4q		      "1.00"
      p5q		      "0.00"
      p6_7q		      "[1  -1]"
      p8_9q		      "[1.1  0.85]"
      p10q		      "0.80"
      p11q		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Supply"
      Tag		      "PSATblock"
      Description	      "OPF & CPF"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [90, 125, 120, 155]
      ShowPortLabels	      on
      MaskType		      "Supply"
      MaskDescription	      "This block defines a PV bus for bifurcation and"
" market studies:\n"
      MaskPromptString	      "Power Base [MVA]|Active Power [p.u.]|Max & Min "
"Power Supply [p.u.  p.u.]|Cost = a + b*P + c*P^2 [$/h, $/MWh, $/(MWh)^2]|Cost"
" = a + b*Q + c*Q^2 [$/h, $/MVArh, $/(MVArh)^2]|Allow Unit Commitment|Tie Brea"
"king Cost [$/h]|Number of Input Signals"
      MaskStyleString	      "edit,edit,edit,edit,edit,checkbox,edit,popup(0|"
"1|2)"
      MaskTunableValueString  "on,on,on,on,on,on,on,on"
      MaskCallbackString      "|||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on"
      MaskVariables	      "p2q=@1;p3q=@2;p4_5q=@3;p7_8_9q=@4;p10_11_12q=@5"
";p13q=@6;p14q=@7;in=@8;"
      MaskInitialization      "fm_inout;\n[x,y] = fm_draw('circle');\n[xs,ys] "
"= fm_draw('S');"
      MaskDisplay	      "plot(x,y,xs,ys,[0 0],[0.7 -0.7])\n"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "100|0.80|[1 0.50]|[0.00  8  0.00]|[0.00  0.00  "
"0.00]|off|0|0"
      System {
	Name			"Supply"
	Location		[381, 229, 648, 436]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [65, 95, 95, 125]
	  ShowName		  off
	  Value			  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [135, 103, 165, 117]
	  ShowName		  off
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Annotation {
	  Text			  "Power Supply"
	  Position		  [114, 45]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Supply1"
      Tag		      "PSATblock"
      Description	      "OPF & CPF"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [305, 150, 335, 180]
      ShowPortLabels	      on
      MaskType		      "Supply"
      MaskDescription	      "This block defines a PV bus for bifurcation and"
" market studies:\n"
      MaskPromptString	      "Power Base [MVA]|Active Power [p.u.]|Max & Min "
"Power Supply [p.u.  p.u.]|Cost = a + b*P + c*P^2 [$/h, $/MWh, $/(MWh)^2]|Cost"
" = a + b*Q + c*Q^2 [$/h, $/MVArh, $/(MVArh)^2]|Allow Unit Commitment|Tie Brea"
"king Cost [$/h]|Number of Input Signals"
      MaskStyleString	      "edit,edit,edit,edit,edit,checkbox,edit,popup(0|"
"1|2)"
      MaskTunableValueString  "on,on,on,on,on,on,on,on"
      MaskCallbackString      "|||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on"
      MaskVariables	      "p2q=@1;p3q=@2;p4_5q=@3;p7_8_9q=@4;p10_11_12q=@5"
";p13q=@6;p14q=@7;in=@8;"
      MaskInitialization      "fm_inout;\n[x,y] = fm_draw('circle');\n[xs,ys] "
"= fm_draw('S');"
      MaskDisplay	      "plot(x,y,xs,ys,[0 0],[0.7 -0.7])\n"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "100|0.80|[2.00 1.00]|[0.00  9  0.00]|[0.00  0.0"
"0  0.00]|off|0|0"
      System {
	Name			"Supply1"
	Location		[381, 229, 648, 436]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [65, 95, 95, 125]
	  ShowName		  off
	  Value			  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [135, 103, 165, 117]
	  ShowName		  off
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Annotation {
	  Text			  "Power Supply"
	  Position		  [114, 45]
	}
      }
    }
    Line {
      SrcBlock		      "PV"
      SrcPort		      1
      DstBlock		      "Bus2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Supply"
      SrcPort		      1
      DstBlock		      "Bus2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Slack"
      SrcPort		      1
      DstBlock		      "Bus1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus2"
      SrcPort		      2
      DstBlock		      "PQ1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus2"
      SrcPort		      1
      DstBlock		      "Demand1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus2"
      SrcPort		      3
      DstBlock		      "Line"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Line"
      SrcPort		      1
      DstBlock		      "Bus1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Bus1"
      SrcPort		      1
      DstBlock		      "PQ"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus1"
      SrcPort		      2
      DstBlock		      "Demand"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Supply1"
      SrcPort		      1
      DstBlock		      "Bus1"
      DstPort		      3
    }
  }
}

⌨️ 快捷键说明

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