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

📄 c5mmot2try.mdl

📁 matlab的大量实例代码
💻 MDL
字号:
Model {
  Name			  "c5mmot2try"
  Version		  4.00
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  off
  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
  InitFcn		  "powericon('psbinitsys',bdroot);"
  Created		  "Fri Sep 14 02:06:54 2001"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Mon Sep 24 13:54:06 2001"
  ModelVersionFormat	  "1.%<AutoIncrement:39>"
  ConfigurationManager	  "None"
  SimParamPage		  "Solver"
  StartTime		  "0.0"
  StopTime		  "1"
  SolverMode		  "Auto"
  Solver		  "ode15s"
  RelTol		  "1e-7"
  AbsTol		  "1e-7"
  Refine		  "1"
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "auto"
  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_default_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	  on
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock on
  OptimizeBlockIOStorage  on
  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		    "c5mmot2try"
    Location		    [357, 163, 930, 503]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "automatic"
    PaperOrientation	    "portrait"
    PaperPositionMode	    "auto"
    PaperType		    "a4letter"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "AC Voltage Source"
      Tag		      "PoWeRsYsTeMbLoCk"
      Description	      "source block"
      Ports		      [1, 1]
      Position		      [70, 74, 105, 96]
      ShowName		      off
      SourceBlock	      "powerlib2/Electrical\nSources/AC Voltage Source"
      SourceType	      "AC Voltage Source"
      A			      "220"
      P			      "120"
      F			      "50"
      stime		      "0"
      mesure		      "None"
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "AC Voltage Source1"
      Tag		      "PoWeRsYsTeMbLoCk"
      Description	      "source block"
      Ports		      [1, 1]
      Position		      [70, 94, 105, 116]
      ShowName		      off
      SourceBlock	      "powerlib2/Electrical\nSources/AC Voltage Source"
      SourceType	      "AC Voltage Source"
      A			      "220"
      P			      "0"
      F			      "50"
      stime		      "0"
      mesure		      "None"
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "AC Voltage Source2"
      Tag		      "PoWeRsYsTeMbLoCk"
      Description	      "source block"
      Ports		      [1, 1]
      Position		      [70, 114, 105, 136]
      ShowName		      off
      SourceBlock	      "powerlib2/Electrical\nSources/AC Voltage Source"
      SourceType	      "AC Voltage Source"
      A			      "220"
      P			      "240"
      F			      "50"
      stime		      "0"
      mesure		      "None"
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Asynchronous Machine\nSI Units1"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [4, 1]
      Position		      [140, 77, 210, 153]
      SourceBlock	      "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
      SourceType	      "Asynchronous Machine"
      rotType		      "Squirrel-cage"
      ctrl		      "Stationary"
      x1		      "[1000, 220, 50 ]"
      x2		      "[0.0217 0.0329/(2*pi*50) ]"
      x3		      "[0.0329 0.0996/(2*pi*50)]"
      x4		      "3.6493/(2*pi*50)"
      x5		      "[11.4  0  2 ]"
      x6		      "[ 1,0   0,0,0   0,0,0 ]"
      PSBOutputType	      "1110"
      iounits		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Bus Bar 3"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [0, 3]
      Position		      [35, 71, 40, 139]
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Bus Bar (thin vert)"
      SourceType	      "Bus Bar"
      input		      "0"
      output		      "3"
      PSBOutputType	      "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
    }
    Block {
      BlockType		      Reference
      Name		      "Current \nMeasurement"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [1, 2]
      Position		      [80, 13, 105, 37]
      SourceBlock	      "powerlib2/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      PSBOutputType	      "01"
      PSBequivalent	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Machines\nMeasurement\nDemux"
      Ports		      [1, 4]
      Position		      [235, 24, 295, 201]
      SourceBlock	      "powerlib2/Machines/Machines\nMeasurement\nDemux"
      SourceType	      "Machine measurements"
      machType		      "Asynchronous"
      ssm1		      on
      ssm2		      on
      ssm3		      on
      ssm4		      on
      ssm5		      on
      ssm6		      on
      sm1		      on
      sm2		      on
      sm3		      on
      sm4		      on
      sm5		      on
      sm6		      on
      sm7		      on
      sm8		      on
      sm9		      on
      sm10		      on
      sm11		      on
      asm1		      on
      asm2		      off
      asm3		      off
      asm4		      off
      asm5		      on
      asm6		      off
      asm7		      off
      asm8		      off
      asm9		      on
      asm10		      on
      asm11		      off
      pmsm1		      on
      pmsm2		      on
      pmsm3		      on
      pmsm4		      on
      pmsm5		      on
      pmsm6		      on
      lastType		      "1"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [500, 29, 530, 61]
      Floating		      off
      Location		      [168, 269, 482, 750]
      Open		      on
      NumInputPorts	      "4"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-3000~-4000~-1750~-4000"
      YMax		      "4000~3000~0~8000"
      SaveToWorkspace	      on
      SaveName		      "yyy"
      DataFormat	      "Structure"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Selector
      Name		      "Select ir_a"
      Ports		      [1, 1]
      Position		      [375, 26, 415, 64]
      InputType		      "Vector"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "3"
    }
    Block {
      BlockType		      Selector
      Name		      "Select is_a"
      Ports		      [1, 1]
      Position		      [330, 71, 370, 109]
      InputType		      "Vector"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "3"
    }
    Block {
      BlockType		      Gain
      Name		      "rad/s to rpm"
      Position		      [385, 119, 445, 151]
      Gain		      "-30/pi"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Outport
      Name		      "Out1"
      Position		      [500, 113, 530, 127]
      Port		      "1"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Line {
      SrcBlock		      "AC Voltage Source"
      SrcPort		      1
      DstBlock		      "Asynchronous Machine\nSI Units1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AC Voltage Source1"
      SrcPort		      1
      DstBlock		      "Asynchronous Machine\nSI Units1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "AC Voltage Source2"
      SrcPort		      1
      DstBlock		      "Asynchronous Machine\nSI Units1"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Bus Bar 3"
      SrcPort		      1
      DstBlock		      "AC Voltage Source"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus Bar 3"
      SrcPort		      2
      DstBlock		      "AC Voltage Source1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus Bar 3"
      SrcPort		      3
      DstBlock		      "AC Voltage Source2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Asynchronous Machine\nSI Units1"
      SrcPort		      1
      DstBlock		      "Machines\nMeasurement\nDemux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Machines\nMeasurement\nDemux"
      SrcPort		      1
      DstBlock		      "Select ir_a"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Select ir_a"
      SrcPort		      1
      Points		      [15, 0; 0, -15; 35, 0]
      Branch {
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	Points			[0, 90]
	DstBlock		"Out1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Machines\nMeasurement\nDemux"
      SrcPort		      2
      DstBlock		      "Select is_a"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Select is_a"
      SrcPort		      1
      Points		      [70, 0; 0, -50]
      DstBlock		      "Scope"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Machines\nMeasurement\nDemux"
      SrcPort		      3
      DstBlock		      "rad/s to rpm"
      DstPort		      1
    }
    Line {
      SrcBlock		      "rad/s to rpm"
      SrcPort		      1
      Points		      [5, 0; 0, -85]
      DstBlock		      "Scope"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Machines\nMeasurement\nDemux"
      SrcPort		      4
      Points		      [165, 0; 0, -120]
      DstBlock		      "Scope"
      DstPort		      4
    }
    Annotation {
      Position		      [95, 197]
      Text		      "c5mmot2s.mdl"
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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