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

📄 fengsu.mdl

📁 风力发电中的风力模型 在MATLAB中的模型 很有用哦
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      MATLABFcn
      MATLABFcn		      "sin"
      OutputDimensions	      "-1"
      OutputSignalType	      "auto"
      Output1D		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      RandomNumber
      Mean		      "0"
      Variance		      "1"
      Seed		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "fengsu"
    Location		    [2, 82, 1270, 723]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Sum
      Name		      "Add"
      Ports		      [4, 1]
      Position		      [475, 207, 510, 453]
      Inputs		      "++++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Reference
      Name		      "Band-Limited\nWhite Noise"
      Ports		      [0, 1]
      Position		      [345, 405, 375, 435]
      SourceBlock	      "simulink/Sources/Band-Limited\nWhite Noise"
      SourceType	      "Band-Limited White Noise."
      ShowPortLabels	      on
      Cov		      "[0.1]"
      Ts		      "0.05"
      seed		      "[23341]"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [65, 220, 85, 240]
      DisplayTime	      on
      Decimation	      "2"
    }
    Block {
      BlockType		      Clock
      Name		      "Clock1"
      Position		      [65, 430, 85, 450]
      DisplayTime	      on
      Decimation	      "2"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant6"
      Position		      [340, 160, 370, 190]
      Value		      "3"
      VectorParams1D	      off
    }
    Block {
      BlockType		      MATLABFcn
      Name		      "MATLAB Fcn1"
      Position		      [335, 325, 395, 355]
      MATLABFcn		      "jieyue(u(1),u(2),u(3),u(4))"
      OutputDimensions	      "1"
      SampleTime	      "0.05"
    }
    Block {
      BlockType		      MATLABFcn
      Name		      "MATLAB Fcn2"
      Position		      [330, 245, 390, 275]
      MATLABFcn		      "zhengfeng(u(1),u(2),u(3),u(4))"
      OutputDimensions	      "1"
      SampleTime	      "0.05"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [4, 1]
      Position		      [160, 276, 165, 444]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [4, 1]
      Position		      [160, 71, 165, 239]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [450, 579, 480, 611]
      Location		      [188, 390, 512, 629]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [580, 314, 610, 346]
      Location		      [462, 364, 786, 603]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-20"
      YMax		      "20"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [450, 504, 480, 536]
      Location		      [710, 289, 1034, 528]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [470, 118, 500, 152]
      Location		      [696, 254, 1020, 494]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-10"
      YMax		      "10"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [475, 59, 505, 91]
      Location		      [188, 390, 512, 629]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-30"
      YMax		      "30"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Constant
      Name		      "VGmax"
      Position		      [65, 165, 95, 195]
      Value		      "6"
    }
    Block {
      BlockType		      Constant
      Name		      "VRmax"
      Position		      [65, 375, 95, 405]
      Value		      "2"
    }
    Block {
      BlockType		      Constant
      Name		      "t1G"
      Position		      [65, 60, 95, 90]
    }
    Block {
      BlockType		      Constant
      Name		      "t1R"
      Position		      [65, 270, 95, 300]
      Value		      "3"
    }
    Block {
      BlockType		      Constant
      Name		      "t2R"
      Position		      [65, 325, 95, 355]
      Value		      "6"
    }
    Block {
      BlockType		      Constant
      Name		      "tG"
      Position		      [65, 115, 95, 145]
      Value		      "11"
    }
    Line {
      SrcBlock		      "t1G"
      SrcPort		      1
      Points		      [20, 0; 0, 20]
      DstBlock		      "Mux2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "tG"
      SrcPort		      1
      Points		      [20, 0; 0, 5]
      DstBlock		      "Mux2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux2"
      SrcPort		      1
      Points		      [75, 0; 0, 105]
      DstBlock		      "MATLAB Fcn2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [75, 0; 0, -20]
      DstBlock		      "MATLAB Fcn1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "t1R"
      SrcPort		      1
      Points		      [20, 0; 0, 15]
      DstBlock		      "Mux1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "t2R"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "VRmax"
      SrcPort		      1
      Points		      [20, 0; 0, -10]
      DstBlock		      "Mux1"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Clock1"
      SrcPort		      1
      Points		      [25, 0; 0, -20]
      DstBlock		      "Mux1"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Constant6"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, -100]
	DstBlock		"Scope4"
	DstPort			1
      }
      Branch {
	Points			[10, 0; 0, 65]
	DstBlock		"Add"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "MATLAB Fcn2"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	Points			[35, 0]
	DstBlock		"Scope3"
	DstPort			1
      }
      Branch {
	Points			[0, 40]
	DstBlock		"Add"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "MATLAB Fcn1"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	DstBlock		"Scope2"
	DstPort			1
      }
      Branch {
	Points			[0, 20]
	DstBlock		"Add"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Band-Limited\nWhite Noise"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, 175]
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	DstBlock		"Add"
	DstPort			4
      }
    }
    Line {
      SrcBlock		      "Add"
      SrcPort		      1
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "VGmax"
      SrcPort		      1
      Points		      [20, 0; 0, -5]
      DstBlock		      "Mux2"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      Points		      [25, 0; 0, -15]
      DstBlock		      "Mux2"
      DstPort		      4
    }
  }
}

⌨️ 快捷键说明

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