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

📄 ctcurve.mdl

📁 it is based on wind system.wind turbine to calculate wind speed
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      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	      "-1"
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      "FromPortIcon"
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      TreatAsAtomicUnit	      off
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      CollapseMode	      "All dimensions"
      CollapseDim	      "1"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    UseDisplayTextAsClickCallback off
  }
  LineDefaults {
    FontName		    "Arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "Ctcurve"
    Location		    [484, 91, 1157, 673]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [225, 140, 255, 170]
      Value		      "-.0022"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant1"
      Position		      [225, 200, 255, 230]
      Value		      ".0052"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant2"
      Position		      [225, 380, 255, 410]
      Value		      ".0000046313"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant3"
      Position		      [230, 60, 260, 90]
      Value		      ".0510"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant4"
      Position		      [220, 315, 250, 345]
      Value		      "-.000027950"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant5"
      Position		      [225, 255, 255, 285]
      Value		      "-.00051425"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant6"
      Position		      [230, 450, 260, 480]
      Value		      "-.0000001331"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [330, 146, 360, 179]
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [3, 1]
      Position		      [335, 209, 365, 241]
      Inputs		      "3"
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product2"
      Ports		      [6, 1]
      Position		      [345, 391, 375, 424]
      Inputs		      "6"
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product3"
      Ports		      [5, 1]
      Position		      [340, 324, 370, 356]
      Inputs		      "5"
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product4"
      Ports		      [4, 1]
      Position		      [340, 269, 370, 301]
      Inputs		      "4"
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product5"
      Ports		      [7, 1]
      Position		      [355, 464, 385, 496]
      Inputs		      "7"
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Reference
      Name		      "Ramp"
      Ports		      [0, 1]
      Position		      [180, 110, 210, 140]
      SourceBlock	      "simulink/Sources/Ramp"
      SourceType	      "Ramp"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      slope		      "1"
      start		      "0"
      X0		      "0"
      VectorParams1D	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [545, 109, 575, 141]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [-7, -9, 1273, 777]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "6"
      YMin		      "5705000"
      YMax		      "11305000"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [7, 1]
      Position		      [405, 145, 445, 185]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+++++++"
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [535, 200, 595, 230]
      VariableName	      "simout"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Structure"
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      DstBlock		      "Product"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant2"
      SrcPort		      1
      DstBlock		      "Product2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant4"
      SrcPort		      1
      DstBlock		      "Product3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant5"
      SrcPort		      1
      DstBlock		      "Product4"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant6"
      SrcPort		      1
      DstBlock		      "Product5"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant1"
      SrcPort		      1
      DstBlock		      "Product1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant3"
      SrcPort		      1
      Points		      [146, 0]
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [33, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      Points		      [21, 0]
      DstBlock		      "Sum"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Product4"
      SrcPort		      1
      Points		      [16, 0]
      DstBlock		      "Sum"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Product3"
      SrcPort		      1
      Points		      [20, 0; 0, -154]
      DstBlock		      "Sum"
      DstPort		      5
    }
    Line {
      SrcBlock		      "Product2"
      SrcPort		      1
      Points		      [31, 0]
      DstBlock		      "Sum"
      DstPort		      6
    }
    Line {
      SrcBlock		      "Product5"
      SrcPort		      1
      Points		      [35, 0]
      DstBlock		      "Sum"
      DstPort		      7
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [30, 0; 0, 20]
      Branch {
	Points			[0, 30]
	DstBlock		"To Workspace"
	DstPort			1
      }
      Branch {
	Points			[0, -60]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Ramp"
      SrcPort		      1
      Points		      [80, 0]
      Branch {
	Points			[15, 0; 0, 45]
	DstBlock		"Product"
	DstPort			2
      }
      Branch {
	Points			[0, 100]
	Branch {
	  Points		  [0, 50]
	  Branch {
	    Points		    [30, 0]
	    DstBlock		    "Product4"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 5]
	    Branch {
	      Points		      [0, 55]
	      Branch {
		DstBlock		"Product3"
		DstPort			2
	      }
	      Branch {
		Points			[0, 5]
		Branch {
		  DstBlock		  "Product3"
		  DstPort		  3
		}
		Branch {
		  Points		  [0, 60]
		  Branch {
		    Points		    [5, 0]
		    Branch {
		    DstBlock		    "Product2"
		    DstPort		    2
		    }
		    Branch {
		    Points		    [0, 5; 10, 0]
		    Branch {
		    DstBlock		    "Product2"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 5; 10, 0]
		    Branch {
		    DstBlock		    "Product2"
		    DstPort		    4
		    }
		    Branch {
		    Points		    [0, 5; 5, 0]
		    Branch {
		    DstBlock		    "Product2"
		    DstPort		    5
		    }
		    Branch {
		    Points		    [0, 5]
		    DstBlock		    "Product2"
		    DstPort		    6
		    }
		    }
		    }
		    }
		  }
		  Branch {
		    Points		    [0, 70; 10, 0]
		    Branch {
		    DstBlock		    "Product5"
		    DstPort		    2
		    }
		    Branch {
		    Points		    [0, 5; 10, 0]
		    Branch {
		    DstBlock		    "Product5"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 5; 15, 0]
		    Branch {
		    DstBlock		    "Product5"
		    DstPort		    4
		    }
		    Branch {
		    Points		    [0, 5; 5, 0]
		    Branch {
		    DstBlock		    "Product5"
		    DstPort		    5
		    }
		    Branch {
		    Points		    [0, 5]
		    Branch {
		    DstBlock		    "Product5"
		    DstPort		    6
		    }
		    Branch {
		    Points		    [0, 5]
		    DstBlock		    "Product5"
		    DstPort		    7
		    }
		    }
		    }
		    }
		    }
		  }
		}
	      }
	      Branch {
		Points			[0, 10; 25, 0]
		Branch {
		  DstBlock		  "Product3"
		  DstPort		  4
		}
		Branch {
		  Points		  [0, 5]
		  DstBlock		  "Product3"
		  DstPort		  5
		}
	      }
	    }
	    Branch {
	      Points		      [10, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"Product4"
		DstPort			3
	      }
	      Branch {
		Points			[-5, 0; 0, 20]
		DstBlock		"Product4"
		DstPort			4
	      }
	    }
	  }
	}
	Branch {
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 10]
	    DstBlock		    "Product1"
	    DstPort		    3
	  }
	}
      }
    }
  }
}

⌨️ 快捷键说明

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