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

📄 test.mdl

📁 一个“车辆用无极变速器”的典型工况仿真的算法
💻 MDL
📖 第 1 页 / 共 5 页
字号:
Model {
  Name			  "test"
  Version		  4.00
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  on
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  ShowStorageClass	  off
  ExecutionOrder	  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "dw"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  BlockNameDataTip	  off
  BlockParametersDataTip  off
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  CloseFcn		  ";slview('closediagram',bdroot);"
  Created		  "Mon Sep 22 15:42:40 2003"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "THINKPAD"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat May 13 12:10:35 2006"
  ModelVersionFormat	  "1.%<AutoIncrement:91>"
  ConfigurationManager	  "None"
  SimParamPage		  "Solver"
  StartTime		  "0"
  StopTime		  "205"
  SolverMode		  "SingleTasking"
  Solver		  "ode4"
  RelTol		  "1e-6"
  AbsTol		  "1e-7"
  Refine		  "1"
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "0.05"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  on
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Array"
  LimitDataPoints	  off
  MaxDataPoints		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  SingleTaskRateTransMsg  "none"
  MultiTaskRateTransMsg	  "error"
  IntegerOverflowMsg	  "warning"
  CheckForMatrixSingularity "none"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  InvalidFcnCallConnMsg	  "error"
  SignalLabelMismatchMsg  "none"
  LinearizationMsg	  "none"
  VectorMatrixConversionMsg "none"
  SfunCompatibilityCheckMsg "none"
  BlockPriorityViolationMsg "warning"
  ArrayBoundsChecking	  "none"
  ConsistencyChecking	  "none"
  ZeroCross		  on
  Profile		  off
  SimulationMode	  "normal"
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_vc.tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  TryForcingSFcnDF	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "normal"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock on
  OptimizeBlockIOStorage  off
  BufferReuse		  on
  ParameterPooling	  on
  BlockReductionOpt	  on
  RTWExpressionDepthLimit 5
  BooleanDataType	  off
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  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		    "test"
    Location		    [2, 82, 1014, 731]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Clutch simulation"
      Ports		      [2, 2]
      Position		      [240, 115, 350, 215]
      ShowName		      off
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskDisplay	      "disp('Clutch')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Clutch simulation"
	Location		[23, 82, 784, 561]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "engine torque in"
	  Position		  [30, 98, 70, 122]
	  Port			  "1"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "calculated \nenginespeed in"
	  Position		  [25, 348, 65, 372]
	  Port			  "2"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [25, 154, 55, 186]
	  ShowName		  off
	  Value			  "120"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [390, 250, 425, 270]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Value			  "0.001"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [290, 295, 320, 325]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [275, 110, 330, 140]
	  ShowName		  off
	  Gain			  "1/0.032"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [435, 110, 500, 140]
	  ShowName		  off
	  Gain			  "60/(2*pi)"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [210, 296, 270, 324]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "0.032"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [335, 295, 405, 325]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "2*pi/60"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [340, 107, 370, 143]
	  ShowName		  off
	  ExternalReset		  "none"
	  InitialConditionSource  "internal"
	  InitialCondition	  "83.8"
	  LimitOutput		  on
	  UpperSaturationLimit	  "85*2*pi"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [165, 137, 190, 173]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [620, 382, 645, 418]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [115, 147, 130, 238]
	  ShowName		  off
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ramp"
	  Ports			  [0, 1]
	  Position		  [25, 200, 55, 230]
	  ShowName		  off
	  SourceBlock		  "simulink3/Sources/Ramp"
	  SourceType		  "Ramp"
	  slope			  "1/3"
	  start			  "0"
	  X0			  "0"
	  VectorParams1D	  "on"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [70, 200, 100, 230]
	  ShowName		  off
	  UpperLimit		  "2"
	  LowerLimit		  "0"
	  LinearizeAsGain	  on
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation1"
	  Position		  [390, 110, 420, 140]
	  ShowName		  off
	  UpperLimit		  "1000"
	  LowerLimit		  "83.8"
	  LinearizeAsGain	  on
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope10"
	  Ports			  [1]
	  Position		  [650, 167, 685, 193]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Floating		  off
	  Location		  [46, 233, 314, 485]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "on"
	  ZoomMode		  "on"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  Grid			  "on"
	  TimeRange		  "auto"
	  YMin			  "5               "
	  YMax			  "80              "
	  SaveToWorkspace	  off
	  SaveName		  "ScopeData"
	  DataFormat		  "Array"
	  LimitDataPoints	  on
	  MaxDataPoints		  "500000"
	  Decimation		  "10"
	  SampleInput		  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope11"
	  Ports			  [1]
	  Position		  [450, 317, 485, 343]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Floating		  off
	  Location		  [384, 237, 756, 482]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "on"
	  ZoomMode		  "on"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  Grid			  "on"
	  TimeRange		  "auto"
	  YMin			  "0"
	  YMax			  "2000"
	  SaveToWorkspace	  off
	  SaveName		  "ScopeData"
	  DataFormat		  "Array"
	  LimitDataPoints	  off
	  MaxDataPoints		  "50000"
	  Decimation		  "10"
	  SampleInput		  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope6"
	  Ports			  [1]
	  Position		  [645, 112, 680, 138]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Floating		  off
	  Location		  [543, 202, 981, 500]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "on"
	  ZoomMode		  "on"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  Grid			  "on"
	  TimeRange		  "auto"
	  YMin			  "0"
	  YMax			  "2000"
	  SaveToWorkspace	  off
	  SaveName		  "ScopeData"
	  DataFormat		  "Array"
	  LimitDataPoints	  on
	  MaxDataPoints		  "50000"
	  Decimation		  "10"
	  SampleInput		  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope7"
	  Ports			  [1]
	  Position		  [205, 141, 220, 169]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Floating		  off
	  Location		  [286, 223, 617, 543]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "on"
	  ZoomMode		  "on"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  Grid			  "on"
	  TimeRange		  "auto"
	  YMin			  "10              "
	  YMax			  "52.5            "
	  SaveToWorkspace	  off
	  SaveName		  "ScopeData"
	  DataFormat		  "Array"
	  LimitDataPoints	  on
	  MaxDataPoints		  "50000"
	  Decimation		  "5"
	  SampleInput		  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope8"
	  Ports			  [1]
	  Position		  [675, 387, 710, 413]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Floating		  off
	  Location		  [343, 260, 608, 507]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "on"
	  ZoomMode		  "on"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  Grid			  "on"
	  TimeRange		  "auto"
	  YMin			  "800             "
	  YMax			  "1900            "
	  SaveToWorkspace	  off
	  SaveName		  "ScopeData"
	  DataFormat		  "Array"
	  LimitDataPoints	  on
	  MaxDataPoints		  "5000000"
	  Decimation		  "10"
	  SampleInput		  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope9"
	  Ports			  [1]
	  Position		  [625, 277, 660, 303]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Floating		  off
	  Location		  [122, 228, 533, 463]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "on"
	  ZoomMode		  "on"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  Grid			  "on"
	  TimeRange		  "auto"
	  YMin			  "750"
	  YMax			  "3000"
	  SaveToWorkspace	  off
	  SaveName		  "ScopeData"
	  DataFormat		  "Array"
	  LimitDataPoints	  on
	  MaxDataPoints		  "50000"
	  Decimation		  "10"
	  SampleInput		  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [240, 97, 255, 148]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "+-"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [520, 309, 535, 376]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "+-"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]

⌨️ 快捷键说明

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