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

📄 smeqvec2.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [95, 285, 115, 305]
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+|"
      Port {
	PortNumber		1
	Name			"slip"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [3, 1]
      Position		      [425, 200, 445, 220]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+-"
    }
    Block {
      BlockType		      Step
      Name		      "Tl"
      Position		      [60, 422, 85, 458]
      ForegroundColor	      "red"
      Time		      "0"
      After		      "Te0"
      SampleTime	      "0"
      Port {
	PortNumber		1
	Name			"Tl"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "armature\ncurrent"
      Ports		      [1]
      Position		      [630, 48, 660, 92]
      NamePlacement	      "alternate"
      Location		      [576, 137, 1125, 375]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Armature current [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "3"
      YMin		      "-4"
      YMax		      "8"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "id&iq"
      Ports		      [1]
      Position		      [405, 88, 435, 132]
      Location		      [576, 503, 1122, 785]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"d- and q- currents [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "3"
      YMin		      "-8"
      YMax		      "4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "if"
      Ports		      [1]
      Position		      [370, 138, 400, 182]
      NamePlacement	      "alternate"
      Location		      [573, 431, 1122, 706]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Field current [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "3"
      YMin		      "1"
      YMax		      "4.5"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "info"
      Ports		      []
      Position		      [562, 279, 634, 348]
      ForegroundColor	      "darkGreen"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('Info')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"info"
	Location		[626, 467, 1111, 560]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Name			  "Synchronous machine transients\nunder short"
"circuit"
	  Position		  [243, 17]
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "This  demonstration  illustrates  the dynam"
"ics of a synchronous generator, initially\nat no load,  following a three-pha"
"se short circuit at the terminals.\n"
	  Position		  [10, 40]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "phase"
      Position		      [470, 90, 500, 120]
      ForegroundColor	      "red"
      Value		      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "plots"
      Ports		      []
      Position		      [647, 280, 715, 346]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "close all,figure(1),plot(t,ia,'-r'),grid,title("
"'ARMATURE CURRENT versus TIME'),figure(2),plot(t,iff,'-g'),grid,title('FIELD "
"CURRENT versus TIME')"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('PLOTS')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"plots"
	Location		[83, 506, 530, 694]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "plots1"
      Ports		      []
      Position		      [416, 396, 587, 463]
      ForegroundColor	      "red"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "smeqvec2A\n         \n         \n         "
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('To SM model\\nnegecting armature transien"
"ts')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"plots1"
	Location		[83, 506, 530, 694]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "plots2"
      Ports		      []
      Position		      [604, 396, 773, 463]
      ForegroundColor	      "red"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "smeqvec2B\n         \n         \n         "
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('To SM model\\nneglecting armature transie"
"nts\\nand dampers')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"plots2"
	Location		[83, 506, 530, 694]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Clock
      Name		      "t"
      Position		      [430, 60, 450, 80]
      Decimation	      "10"
    }
    Block {
      BlockType		      Scope
      Name		      "torques"
      Ports		      [1]
      Position		      [510, 306, 545, 354]
      NamePlacement	      "alternate"
      Location		      [37, 76, 476, 382]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"torque"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "3"
      YMax		      "3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Constant
      Name		      "voltage1"
      Position		      [50, 145, 80, 175]
      ForegroundColor	      "red"
      ShowName		      off
      Value		      "vf0"
    }
    Block {
      BlockType		      Gain
      Name		      "w"
      Position		      [470, 56, 505, 84]
      ShowName		      off
      Gain		      "wo"
    }
    Block {
      BlockType		      Gain
      Name		      "wo"
      Position		      [145, 279, 180, 311]
      ShowName		      off
      Gain		      "wo"
    }
    Block {
      BlockType		      Constant
      Name		      "ws"
      Position		      [45, 280, 75, 310]
      ForegroundColor	      "red"
    }
    Block {
      BlockType		      Outport
      Name		      "ia"
      Position		      [630, 103, 660, 117]
    }
    Block {
      BlockType		      Outport
      Name		      "iff"
      Position		      [370, 188, 400, 202]
      ShowName		      off
      Port		      "2"
    }
    Line {
      SrcBlock		      "voltage1"
      SrcPort		      1
      DstBlock		      "SM1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "1/2H"
      SrcPort		      1
      DstBlock		      "Integrator2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "1/2H"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bm"
      SrcPort		      1
      Points		      [-75, 0]
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux6"
      SrcPort		      1
      DstBlock		      "torques"
      DstPort		      1
    }
    Line {
      SrcBlock		      "ws"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      Name		      "slip"
      Labels		      [1, 0]
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "wo"
      DstPort		      1
    }
    Line {
      Name		      "vs"
      Labels		      [2, 0]
      SrcBlock		      "Armature\nvoltage"
      SrcPort		      1
      Points		      [15, 0; 0, 85; -335, 0; 0, -295]
      DstBlock		      "SM1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "wo"
      SrcPort		      1
      DstBlock		      "Integrator3"
      DstPort		      1
    }
    Line {
      Name		      "delta"
      Labels		      [1, 0]
      SrcBlock		      "Integrator3"
      SrcPort		      1
      DstBlock		      "Armature\nvoltage"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "Look-Up\nTable"
      DstPort		      1
    }
    Line {
      Name		      "Vt"
      Labels		      [0, 0]
      SrcBlock		      "Look-Up\nTable"
      SrcPort		      1
      DstBlock		      "Armature\nvoltage"
      DstPort		      2
    }
    Line {
      Name		      "wm"
      SrcBlock		      "Integrator2"
      SrcPort		      1
      Points		      [0, 0; 25, 0]
      Branch {
	Points			[0, -50]
	DstBlock		"Bm"
	DstPort			1
      }
      Branch {
	Labels			[1, 0]
	Points			[0, 40; -505, 0]
	Branch {
	  Labels		  [-1, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -40]
	  DstBlock		  "SM1"
	  DstPort		  3
	}
      }
    }
    Line {
      Name		      "Tl"
      Labels		      [0, 0]
      SrcBlock		      "Tl"
      SrcPort		      1
      Points		      [310, 0; 0, -100; 35, 0]
      Branch {
	DstBlock		"Mux6"
	DstPort			2
      }
      Branch {
	Points			[0, -95]
	DstBlock		"Sum2"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "w"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "phase"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "Fcn"
      DstPort		      1
    }
    Line {
      SrcBlock		      "t"
      SrcPort		      1
      DstBlock		      "w"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Fcn"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"armature\ncurrent"
	DstPort			1
      }
      Branch {
	DstBlock		"ia"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "SM1"
      SrcPort		      2
      Points		      [30, 0]
      Branch {
	DstBlock		"if"
	DstPort			1
      }
      Branch {
	Points			[0, 35]
	DstBlock		"iff"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "SM1"
      SrcPort		      3
      Points		      [85, 0]
      Branch {
	DstBlock		"Sum2"
	DstPort			2
      }
      Branch {
	Points			[0, 105]
	DstBlock		"Mux6"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "SM1"
      SrcPort		      1
      Points		      [55, 0]
      Branch {
	DstBlock		"id&iq"
	DstPort			1
      }
      Branch {
	Points			[0, -75]
	DstBlock		"Mux3"
	DstPort			1
      }
    }
    Annotation {
      Name		      "Tl"
      Position		      [429, 238]
    }
    Annotation {
      Name		      "SHORT CIRCUIT OF AN ALTERNATOR"
      Position		      [181, 40]
      ForegroundColor	      "red"
      FontSize		      14
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "iff"
      Position		      [405, 200]
    }
  }
}

⌨️ 快捷键说明

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