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

📄 iwrun.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Qser"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, -55]
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Lookup
      Name		      "Qsref"
      Position		      [95, 491, 130, 529]
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      FontWeight	      "bold"
      InputValues	      "[0 3 3.01 30 ] "
      OutputValues	      "[0 0 .5 .5]"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [155, 415, 175, 435]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [185, 500, 205, 520]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum3"
      Ports		      [2, 1]
      Position		      [480, 385, 500, 405]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      Port {
	PortNumber		1
	Name			"vr"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum4"
      Ports		      [2, 1]
      Position		      [430, 275, 450, 295]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "+-|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      Port {
	PortNumber		1
	Name			"wr"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [590, 513, 640, 547]
      VariableName	      "vro"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      Scope
      Name		      "Vabc_r"
      Ports		      [1]
      Position		      [865, 438, 900, 492]
      ForegroundColor	      "red"
      Location		      [18, 77, 505, 333]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Var Vbr Vcr"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "5"
      YMin		      "-0.4"
      YMax		      "0.4"
      SaveName		      "ScopeData8"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
    }
    Block {
      BlockType		      Gain
      Name		      "ab2ABC"
      Position		      [800, 443, 840, 487]
      Gain		      "[1 0;-0.5 sqrt(3)/2;-0.5 -sqrt(3)/2]"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      SubSystem
      Name		      "dq2ab "
      Ports		      [2, 1]
      Position		      [705, 415, 765, 510]
      TreatAsAtomicUnit	      off
      System {
	Name			"dq2ab "
	Location		[748, 239, 1129, 476]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"97"
	Block {
	  BlockType		  Inport
	  Name			  "thetar"
	  Position		  [20, 112, 50, 128]
	}
	Block {
	  BlockType		  Inport
	  Name			  "dq"
	  Position		  [20, 77, 50, 93]
	  Port			  "2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [150, 18, 280, 62]
	  ShowName		  off
	  Expr			  "u(1)*cos(u(3))-u(2)*sin(u(3))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [150, 186, 285, 224]
	  ShowName		  off
	  Expr			  "u(1)*sin(u(3))+u(2)*cos(u(3))"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [125, 12, 130, 63]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux4"
	  Ports			  [2, 1]
	  Position		  [125, 177, 130, 228]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux5"
	  Ports			  [2, 1]
	  Position		  [320, 106, 325, 139]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ab"
	  Position		  [350, 118, 380, 132]
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux4"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "dq"
	  SrcPort		  1
	  Points		  [15, 0; 0, 0]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Mux3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Mux4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "thetar"
	  SrcPort		  1
	  Points		  [125, 0]
	  Branch {
	    Points		    [0, -35; -80, 0; 0, -35]
	    DstBlock		    "Mux3"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 40; -80, 0; 0, 55]
	    DstBlock		    "Mux4"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Mux5"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Mux5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux5"
	  SrcPort		  1
	  DstBlock		  "ab"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Lookup
      Name		      "gama\n[deg]"
      Position		      [130, 141, 165, 179]
      BackgroundColor	      "yellow"
      FontWeight	      "bold"
      InputValues	      "[0  1 1.01 5]"
      OutputValues	      "[0 0 10 10]"
    }
    Block {
      BlockType		      SubSystem
      Name		      "info"
      Ports		      []
      Position		      [947, 489, 1019, 558]
      ForegroundColor	      "darkGreen"
      DropShadow	      on
      ShowName		      off
      FontWeight	      "bold"
      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		[459, 141, 1107, 305]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Name			  "Doubly-Fed Induction Generator \ndriven by "
"a Wind Turbine  "
	  Position		  [319, 27]
	  ForegroundColor	  "blue"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "The induction machine is modeled in vectori"
"zed form in the synchronous frame . The d-axis is aligned with the\nstator sp"
"ace voltage vector.  The injected rotor voltages (at slip frequency) are deri"
"ved from PI controllers that\nregulate the active and reactive powers deliver"
"ed by the generator.\nThe speed is adjusted by the turbine pitch control to m"
"aximize the power generated at a given wind speed.\nThe whole system is descr"
"ibed by parameters expressed in per unit. The machine representations are bas"
"ed\non the motor convention; consequently in the generator mode of operation,"
" such quantities as Ps, Qs, Tw, Te are\nnegative (with wm>0) while Pr is posi"
"tive for subsynchronous operation and negative for oversynchronous mode."
	  Position		  [15, 50]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "is"
      Ports		      [1]
      Position		      [1025, 73, 1055, 117]
      NamePlacement	      "alternate"
      Location		      [12, 120, 618, 380]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Stator current [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "5"
      YMin		      "-1.2"
      YMax		      "0.4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "shift"
      Ports		      [2, 1]
      Position		      [275, 124, 330, 171]
      TreatAsAtomicUnit	      off
      Port {
	PortNumber		1
	Name			"vs"
	PropagatedSignals	", "
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"shift"
	Location		[616, 260, 1055, 487]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "vso"
	  Position		  [20, 77, 50, 93]
	}
	Block {
	  BlockType		  Inport
	  Name			  "gama"
	  Position		  [20, 112, 50, 128]
	  Port			  "2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [150, 16, 300, 64]
	  ShowName		  off
	  Expr			  "u(1)*cos(u(3))-u(2)*sin(u(3))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [150, 185, 310, 225]
	  ShowName		  off
	  Expr			  "u(1)*sin(u(3))+u(2)*cos(u(3))"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [125, 12, 130, 63]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux4"
	  Ports			  [2, 1]
	  Position		  [125, 177, 130, 228]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux5"
	  Ports			  [2, 1]
	  Position		  [340, 106, 345, 139]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Gain
	  Name			  "d2r"
	  Position		  [100, 103, 130, 137]
	  Gain			  "pi/180"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Outport
	  Name			  "vs"
	  Position		  [370, 118, 400, 132]
	}
	Line {
	  SrcBlock		  "Mux5"
	  SrcPort		  1
	  DstBlock		  "vs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Mux5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Mux5"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "gama"
	  SrcPort		  1
	  DstBlock		  "d2r"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "vso"
	  SrcPort		  1
	  Points		  [15, 0; 0, 0]
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Mux4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -60]

⌨️ 快捷键说明

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