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

📄 fm_lib.mdl

📁 这是一个很适合研究和学习用的电力系统仿真软件
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [125, 115, 145, 135]
	    }
	    Block {
	      BlockType		      PMComponent
	      Name		      "Atomic Subsystem"
	      Ports		      [0, 0, 0, 0, 0, 1, 1]
	      Position		      [80, 54, 180, 96]
	      ShowName		      off
	      PhysicalDomain	      "psatdomain"
	      LeftPortType	      "p1"
	      RightPortType	      "p1"
	      LConnTagsString	      "__newl0"
	      RConnTagsString	      "__newr0"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "Connection\nPort"
	      Tag		      "PMCPort"
	      Position		      [15, 66, 45, 84]
	      ShowName		      off
	      Port		      "1"
	      Side		      "Left"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "Connection\nPort1"
	      Tag		      "PMCPort"
	      Position		      [220, 66, 250, 84]
	      Orientation	      "left"
	      ShowName		      off
	      Port		      "2"
	      Side		      "Right"
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "Connection\nPort"
	      SrcPort		      RConn1
	      DstBlock		      "Atomic Subsystem"
	      DstPort		      LConn1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "Atomic Subsystem"
	      SrcPort		      RConn1
	      DstBlock		      "Connection\nPort1"
	      DstPort		      RConn1
	    }
	    Annotation {
	      Name		      "Link"
	      Position		      [130, 26]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Link2"
	  Tag			  "PSATblock"
	  Description		  "Connection"
	  Ports			  [0, 1, 0, 0, 0, 1, 1]
	  Position		  [235, 131, 275, 169]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Link2"
	  MaskDescription	  "Link block."
	  MaskDisplay		  "plot([0 0.45],[0.5 0.5],[0.5 0.5],[0 0.4],["
"0.5 1],[0 0])\ncolor('green')\nplot([0.5 0.5],[0.6 1],[0.5 0.9],[1 1])\nplot("
"[0.9 0.985 0.985 0.9 0.9],[0.1 0.1 -0.1 -0.1 0.1]+1)\nplot([0.45 0.55 0.55 0."
"45 0.45],[0.6 0.6 0.4 0.4 0.6])\nplot(0, -0.5,0,1.5)\n\n"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "port"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Link2"
	    Location		    [61, 338, 517, 640]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Constant
	      Name		      "g1"
	      Position		      [130, 20, 155, 50]
	    }
	    Block {
	      BlockType		      PMComponent
	      Name		      "pmc"
	      Ports		      [0, 0, 0, 0, 0, 1, 1]
	      Position		      [130, 73, 230, 277]
	      PhysicalDomain	      "psatdomain"
	      LeftPortType	      "p1"
	      RightPortType	      "p1"
	      LConnTagsString	      "__newl0"
	      RConnTagsString	      "__newr0"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "pmc_out_0"
	      Tag		      "PMCPort"
	      Position		      [275, 166, 305, 184]
	      Orientation	      "left"
	      Port		      "1"
	      Side		      "Left"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "pmc_in_0"
	      Tag		      "PMCPort"
	      Position		      [65, 166, 95, 184]
	      Port		      "2"
	      Side		      "Right"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_1"
	      Position		      [185, 25, 205, 45]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "g1"
	      SrcPort		      1
	      DstBlock		      "out_1"
	      DstPort		      1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "pmc"
	      SrcPort		      RConn1
	      DstBlock		      "pmc_out_0"
	      DstPort		      RConn1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "pmc_in_0"
	      SrcPort		      RConn1
	      DstBlock		      "pmc"
	      DstPort		      LConn1
	    }
	    Annotation {
	      Name		      "Tap Changer Under Load "
	      Position		      [164, 45]
	    }
	  }
	}
	Annotation {
	  Name			  "Buses & Connections"
	  Position		  [215, 32]
	  ForegroundColor	  "blue"
	  FontSize		  12
	}
	Annotation {
	  Name			  "Link"
	  Position		  [171, 138]
	}
	Annotation {
	  Name			  "Link2"
	  Position		  [306, 147]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Controls"
      Tag		      "PSATfolder"
      Description	      "Controls"
      Ports		      []
      Position		      [178, 95, 231, 147]
      ShowName		      off
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskInitialization      "x = fm_draw('controls');"
      MaskDisplay	      "image(x)"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Controls"
	Location		[132, 91, 481, 362]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "Cac"
	  Tag			  "PSATblock"
	  Description		  "Controls"
	  Ports			  [1, 2]
	  Position		  [260, 129, 305, 156]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Cac"
	  MaskDescription	  "This block defines a Central Area Controlle"
"r"
	  MaskPromptString	  "Number of connected clusters|Integral gain "
"constant KI|Proportional gain constant KP|Control signal limits q_max, q_min"
	  MaskStyleString	  "popup(1|2|3|4|5|6|7|8|9|10|11|12),edit,edit"
",edit"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskToolTipString	  "on,on,on,on"
	  MaskVarAliasString	  ",,,"
	  MaskVariables		  "p4q=@1;p6q=@2;p7q=@3;p8_9q=@4;"
	  MaskInitialization	  "fm_inout\n[x,y] = fm_draw('C');"
	  MaskDisplay		  "plot([1 0 0 1 1],[1 1 0 0 1])\ncolor('red')"
"\nplot([0.35 0.5 0.65],[0.2 0.8 0.2],[0.4 0.6],[0.4 0.4])\nplot(0.1+0.2*x,0.5"
"+0.6*y,0.7+0.2*x,0.5+0.6*y)"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "2|0.02|1|[1.1  0.9]"
	  MaskTabNameString	  ",,,"
	  System {
	    Name		    "Cac"
	    Location		    [381, 229, 701, 459]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [130, 150, 150, 170]
	      ShowName		      off
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [55, 85, 85, 115]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [170, 85, 200, 115]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator4"
	      Position		      [180, 150, 200, 170]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 93, 155, 107]
	      ShowName		      off
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out2"
	      Position		      [240, 93, 270, 107]
	      ShowName		      off
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      DstBlock		      "Out2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Terminator4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Central Area Control"
	      Position		      [164, 45]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Cluster"
	  Tag			  "PSATblock"
	  Description		  "Controls"
	  Ports			  [1, 1]
	  Position		  [265, 61, 295, 89]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Cluster"
	  MaskDescription	  "This block defines Cluster Controler (Secon"
"dary Voltage Regulator)."
	  MaskPromptString	  "Integral time constant T [s]|Equivalent rea"
"ctance Xtg [p.u.]|Equivalent reactance Xeq [p.u.]|Output signal limits Vs_max"
", Vs_min"
	  MaskStyleString	  "edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskToolTipString	  "on,on,on,on"
	  MaskVarAliasString	  ",,,"
	  MaskVariables		  "p4q=@1;p5q=@2;p6q=@3;p8_9q=@4;"
	  MaskInitialization	  "[x,y] = fm_draw('C');"
	  MaskDisplay		  "plot([1 0 0 1 1],[1 1 0 0 1])\ncolor('red')"
"\nplot(0.1+0.3*x,0.5+0.6*y,0.6+0.3*x,0.5+0.6*y)"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "5|0|1|[0.15  -0.2]"
	  MaskTabNameString	  ",,,"
	  System {
	    Name		    "Cluster"
	    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		      Inport
	      Name		      "In1"
	      Position		      [110, 150, 130, 170]
	      ShowName		      off
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [90, 80, 120, 110]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator4"
	      Position		      [160, 150, 180, 170]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [160, 88, 190, 102]
	      ShowName		      off
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Terminator4"
	      DstPort		      1
	    }

⌨️ 快捷键说明

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