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

📄 d_ex12_6.mdl

📁 一个较好的MATLAB潮流程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      Position		      [740, 155, 780, 165]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/Line"
      SourceType	      "Line"
      p3_4_5q		      "[100  230  60]"
      p6q		      "0"
      p8q		      "0.0001*10"
      p9q		      "0.001*10"
      p10q		      "0.00175*10"
      p13_14_15q	      "[1.0  0.0  0.0]"
    }
    Block {
      BlockType		      Reference
      Name		      "Line8"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [625, 95, 665, 105]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/Line"
      SourceType	      "Line"
      p3_4_5q		      "[100  230  60]"
      p6q		      "0"
      p8q		      "0.0001*110"
      p9q		      "0.001*110"
      p10q		      "0.00175*110/2"
      p13_14_15q	      "[1.0  0.0  0.0]"
    }
    Block {
      BlockType		      Reference
      Name		      "Line9"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [475, 95, 515, 105]
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/Line"
      SourceType	      "Line"
      p3_4_5q		      "[100  230  60]"
      p6q		      "0"
      p8q		      "0.0001*110"
      p9q		      "0.001*110"
      p10q		      "0.00175*110/2"
      p13_14_15q	      "[1.0  0.0  0.0]"
    }
    Block {
      BlockType		      SubSystem
      Name		      "PQ1"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [655, 165, 685, 195]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      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,off,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.8"
"66    0])\nplot([-0.5 -1],[0 0])"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "[100  230]|[17.67  -2.5]|[1.05  0.95]|off"
      System {
	Name			"PQ1"
	Location		[354, 336, 584, 523]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"gray"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [120, 118, 150, 132]
	  Orientation		  "left"
	  BackgroundColor	  "gray"
	  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"
	  BackgroundColor	  "gray"
	  ShowName		  off
	  FontName		  "Courier New"
	  FontSize		  12
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Terminator4"
	  DstPort		  1
	}
	Annotation {
	  Text			  "PQ Load Mask"
	  Position		  [109, 30]
	  ForegroundColor	  "white"
	  BackgroundColor	  "gray"
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "PQ2"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [460, 165, 490, 195]
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      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,off,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.8"
"66    0])\nplot([-0.5 -1],[0 0])"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "[100  230]|[9.67  -1]|[1.05  0.95]|off"
      System {
	Name			"PQ2"
	Location		[354, 336, 584, 523]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"gray"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [120, 118, 150, 132]
	  Orientation		  "left"
	  BackgroundColor	  "gray"
	  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"
	  BackgroundColor	  "gray"
	  ShowName		  off
	  FontName		  "Courier New"
	  FontSize		  12
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Terminator4"
	  DstPort		  1
	}
	Annotation {
	  Text			  "PQ Load Mask"
	  Position		  [109, 30]
	  ForegroundColor	  "white"
	  BackgroundColor	  "gray"
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "PV1"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [110, 68, 145, 102]
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/PV"
      SourceType	      "PV"
      p2_3q		      "[100  20]"
      p4q		      "7"
      p5q		      "1.03"
      p6_7q		      "[5 -2]"
      p8_9q		      "[1.1  0.9]"
      p10q		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "PV2"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [180, 163, 215, 197]
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/PV"
      SourceType	      "PV"
      p2_3q		      "[100  20]"
      p4q		      "7"
      p5q		      "1.01"
      p6_7q		      "[5 -2]"
      p8_9q		      "[1.1  0.9]"
      p10q		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "PV4"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [945, 168, 980, 202]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/PV"
      SourceType	      "PV"
      p2_3q		      "[100  20]"
      p4q		      "7"
      p5q		      "1.01"
      p6_7q		      "[5 -2]"
      p8_9q		      "[1.1  0.9]"
      p10q		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Slack"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [1015, 65, 1025, 105]
      Orientation	      "left"
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/Slack"
      SourceType	      "SW"
      p2_3q		      "[100  20]"
      p4q		      "1.03"
      p5q		      "- 0.118682389135614"
      p6_7q		      "[99 -99]"
      p8_9q		      "[1.1  0.9]"
      p10q		      "7"
      p11q		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Trasf1"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [190, 97, 230, 123]
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/Transf1"
      SourceType	      "Line"
      p3_4_5q		      "[900  20 60]"
      p7q		      "20/230"
      p8q		      "0.0"
      p9q		      "0.15"
      p13_14_15q	      "[1.0  0.0  0.0]"
    }
    Block {
      BlockType		      Reference
      Name		      "Trasf2"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [275, 192, 315, 218]
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/Transf1"
      SourceType	      "Line"
      p3_4_5q		      "[900  20 60]"
      p7q		      "20/230"
      p8q		      "0.0"
      p9q		      "0.15"
      p13_14_15q	      "[1.0  0.0  0.0]"
    }
    Block {
      BlockType		      Reference
      Name		      "Trasf3"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [840, 198, 880, 222]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/Transf1"
      SourceType	      "Line"
      p3_4_5q		      "[900  20 60]"
      p7q		      "20/230"
      p8q		      "0.0"
      p9q		      "0.15"
      p13_14_15q	      "[1.0  0.0  0.0]"
    }
    Block {
      BlockType		      Reference
      Name		      "Trasf4"
      Tag		      "PSATblock"
      Description	      "Power Flow"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [915, 98, 955, 122]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Courier"
      FontSize		      14
      SourceBlock	      "fm_lib/Power Flow/Transf1"
      SourceType	      "Line"
      p3_4_5q		      "[900  20 60]"
      p7q		      "20/230"
      p8q		      "0.0"
      p9q		      "0.15"
      p13_14_15q	      "[1.0  0.0  0.0]"
    }
    Block {
      BlockType		      SubSystem
      Name		      "ZIP"
      Tag		      "PSATblock"
      Description	      "Loads"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [460, 206, 490, 234]
      ShowName		      off
      ShowPortLabels	      on
      MaskType		      "Pl"
      MaskDescription	      "This block defines a ZIP load."
      MaskPromptString	      "Power, voltage and frequency rates [MVA, kV, Hz"
"]|Percentage of resistance, active current and active power [%, %, %]|Percent"
"age of reactance, reactive current and reactive power [%, %, %]|Initialize af"
"ter power flow"
      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_3_4q=@1;p5_6_7q=@2;p8_9_10q=@3;p11q=@4;"
      MaskDisplay	      "plot([-1 -1 1 1 -1],[-1 1 1 -1 -1])\nplot([0 0]"
",[-0.3 0.3],[-0.3 -0.7 -0.3 -0.7],[-0.3 -0.3 0.3 0.3])\nplot([0.3 0.3 0.6 0.7"
" 0.7 0.6 0.3],[-0.3 0.3 0.3 0.2 0.1 0 0])"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "[100 230 60]|[0 100 0]|[0 0 100]|on"
      System {
	Name			"ZIP"
	Location		[270, 159, 508, 360]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [115, 88, 145, 102]
	  Orientation		  "left"
	  ShowName		  off
	  Port			  "1"
	  PortWidth	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator4"
	  Position		  [60, 85, 80, 105]
	  Orientation		  "left"
	  ShowName		  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Terminator4"
	  DstPort		  1
	}
	Annotation {
	  Text			  "ZIP Load"
	  Position		  [99, 45]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "ZIP1"
      Tag		      "PSATblock"
      

⌨️ 快捷键说明

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