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

📄 iwrun.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    DstBlock		    "Mux3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux4"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "d2r"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    Points		    [0, 40; -80, 0; 0, 55]
	    DstBlock		    "Mux4"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -35; -80, 0; 0, -35]
	    DstBlock		    "Mux3"
	    DstPort		    2
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "space vector"
      Ports		      []
      Position		      [1042, 490, 1110, 556]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "close all,figure(1),plot(t,vro(:,1),'-b',t,vro("
":,2),'-r'),grid,title('dq rotor voltages')"
      FontWeight	      "bold"
      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			"space vector"
	Location		[81, 508, 528, 696]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "torque"
      Ports		      [1]
      Position		      [765, 133, 795, 177]
      NamePlacement	      "alternate"
      Location		      [624, 106, 1147, 360]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Torque [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "5"
      YMin		      "-1.4"
      YMax		      "0.4"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "vr"
      Ports		      [1]
      Position		      [595, 413, 625, 457]
      Location		      [697, 390, 1134, 804]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Rotor voltage [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "5"
      YMin		      "-0.4"
      YMax		      "0.4"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "105000"
    }
    Block {
      BlockType		      Constant
      Name		      "vso"
      Position		      [185, 120, 215, 150]
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      FontWeight	      "bold"
      Value		      "[1 0]"
    }
    Block {
      BlockType		      Constant
      Name		      "wk"
      Position		      [375, 170, 405, 200]
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      FontWeight	      "bold"
    }
    Block {
      BlockType		      Lookup
      Name		      "wmo"
      Position		      [240, 201, 275, 239]
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      FontWeight	      "bold"
      InputValues	      "[0 4 4.01 20 ] "
      OutputValues	      "[.7 .7 1.3 1.3]"
      Port {
	PortNumber		1
	Name			"wmref"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "wo"
      Position		      [570, 317, 600, 353]
      NamePlacement	      "alternate"
      Gain		      "2*pi*60"
    }
    Line {
      Name		      "vs"
      SrcBlock		      "shift"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	Labels			[1, 0]
	Points			[145, 0]
	Branch {
	  Points		  [0, 0]
	  DstBlock		  "IM"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 135; 430, 0; 0, -65]
	  Branch {
	    Points		    [0, -55]
	    DstBlock		    "Dot Product"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Dot Product1"
	    DstPort		    2
	  }
	}
      }
      Branch {
	Points			[0, 255]
	DstBlock		"Product1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "wk"
      SrcPort		      1
      Points		      [-5, 0; 35, 0]
      Branch {
	DstBlock		"IM"
	DstPort			2
      }
      Branch {
	DstBlock		"Sum4"
	DstPort			1
      }
    }
    Line {
      Name		      "Ps"
      Labels		      [0, 1]
      SrcBlock		      "Dot Product"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"Ps"
	DstPort			1
      }
      Branch {
	Points			[0, -105; 145, 0; 0, 550; -985, 0]
	DstBlock		"Sum1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "M"
      SrcPort		      1
      DstBlock		      "Dot Product1"
      DstPort		      1
    }
    Line {
      Name		      "Qs"
      Labels		      [0, 1]
      SrcBlock		      "Dot Product1"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"Qs"
	DstPort			1
      }
      Branch {
	Points			[0, 40; 130, 0; 0, 320; -940, 0]
	DstBlock		"Sum2"
	DstPort			2
      }
    }
    Line {
      Name		      "is"
      Labels		      [0, 0]
      SrcBlock		      "IM"
      SrcPort		      2
      Points		      [125, 0]
      Branch {
	DstBlock		"M"
	DstPort			1
      }
      Branch {
	Points			[0, -55]
	Branch {
	  DstBlock		  "Dot Product"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -55]
	  DstBlock		  "is"
	  DstPort		  1
	}
      }
    }
    Line {
      Name		      "Pr"
      Labels		      [-1, 1]
      SrcBlock		      "Dot Product2"
      SrcPort		      1
      DstBlock		      "Pr"
      DstPort		      1
    }
    Line {
      SrcBlock		      "M1"
      SrcPort		      1
      DstBlock		      "Dot Product3"
      DstPort		      1
    }
    Line {
      Name		      "Qr"
      Labels		      [0, 1]
      SrcBlock		      "Dot Product3"
      SrcPort		      1
      DstBlock		      "Qr"
      DstPort		      1
    }
    Line {
      SrcBlock		      "IM"
      SrcPort		      3
      Points		      [125, 0; 0, 60]
      Branch {
	Points			[0, 60]
	DstBlock		"M1"
	DstPort			1
      }
      Branch {
	DstBlock		"Dot Product2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Clock1"
      SrcPort		      1
      DstBlock		      "wmo"
      DstPort		      1
    }
    Line {
      Name		      "wmref"
      Labels		      [0, 0]
      SrcBlock		      "wmo"
      SrcPort		      1
      Points		      [0, 0; 105, 0]
      Branch {
	DstBlock		"IM"
	DstPort			3
      }
      Branch {
	Points			[0, 65]
	DstBlock		"Sum4"
	DstPort			2
      }
    }
    Line {
      Name		      "Te"
      Labels		      [-1, 1]
      SrcBlock		      "IM"
      SrcPort		      1
      DstBlock		      "torque"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Qs  controller"
      SrcPort		      1
      Points		      [20, 0; 0, -15]
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "Qs  controller"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "Ps  controller"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Ps  controller"
      SrcPort		      1
      Points		      [15, 0; 0, 20]
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      Name		      "wr"
      Labels		      [0, 0]
      SrcBlock		      "Sum4"
      SrcPort		      1
      Points		      [10, 0; 0, 50]
      Branch {
	Points			[-80, 0; 0, 45]
	DstBlock		"Product1"
	DstPort			1
      }
      Branch {
	DstBlock		"wo"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      DstBlock		      "Sum3"
      DstPort		      1
    }
    Line {
      Name		      "vr"
      Labels		      [0, 0]
      SrcBlock		      "Sum3"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	Points			[0, -140]
	DstBlock		"IM"
	DstPort			4
      }
      Branch {
	Points			[400, 0]
	Branch {
	  DstBlock		  "Dot Product3"
	  DstPort		  2
	}
	Branch {
	  Points		  [0, -65]
	  DstBlock		  "Dot Product2"
	  DstPort		  2
	}
      }
      Branch {
	Points			[0, 40]
	Branch {
	  DstBlock		  "vr"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 50]
	  Branch {
	    DstBlock		    "dq2ab "
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "To Workspace1"
	    DstPort		    1
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Clock4"
      SrcPort		      1
      DstBlock		      "Psref"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Psref"
      SrcPort		      1
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock2"
      SrcPort		      1
      DstBlock		      "Qsref"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Qsref"
      SrcPort		      1
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock3"
      SrcPort		      1
      DstBlock		      "gama\n[deg]"
      DstPort		      1
    }
    Line {
      SrcBlock		      "vso"
      SrcPort		      1
      DstBlock		      "shift"
      DstPort		      1
    }
    Line {
      SrcBlock		      "gama\n[deg]"
      SrcPort		      1
      DstBlock		      "shift"
      DstPort		      2
    }
    Line {
      SrcBlock		      "dq2ab "
      SrcPort		      1
      DstBlock		      "ab2ABC"
      DstPort		      1
    }
    Line {
      SrcBlock		      "ab2ABC"
      SrcPort		      1
      DstBlock		      "Vabc_r"
      DstPort		      1
    }
    Line {
      SrcBlock		      "wo"
      SrcPort		      1
      DstBlock		      "Integrator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Integrator"
      SrcPort		      1
      Points		      [15, 0; 0, 105]
      DstBlock		      "dq2ab "
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [125, 0]
      DstBlock		      "Sum3"
      DstPort		      2
    }
    Annotation {
      Name		      "DOUBLY-FED INDUCTION GENERATOR\nDRIVEN BY A WIN"
"D TURBINE"
      Position		      [526, 41]
      ForegroundColor	      "red"
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "SPEED"
      Position		      [233, 257]
    }
    Annotation {
      Name		      "Reactive power setting"
      Position		      [92, 470]
    }
    Annotation {
      Name		      "Activee power setting"
      Position		      [77, 385]
    }
    Annotation {
      Name		      "Stator voltage"
      Position		      [181, 96]
    }
  }
}

⌨️ 快捷键说明

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