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

📄 imss2.mdl

📁 关于电机的.m程序
💻 MDL
字号:
Model {
  Name			  "imss2"
  Version		  3.00
  SimParamPage		  "WorkspaceI/O"
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  on
  ShowPortDataTypes	  off
  StartTime		  "0.0"
  StopTime		  "0"
  SolverMode		  "Auto"
  Solver		  "ode45"
  RelTol		  "auto"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "3"
  InitialStep		  "3"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  off
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "speed,torque,current"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Matrix"
  LimitMaxRows		  off
  MaxRows		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  IntegerOverflowMsg	  "warning"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  SignalLabelMismatchMsg  "none"
  ConsistencyChecking	  "off"
  ZeroCross		  on
  SimulationMode	  "normal"
  BlockDataTips		  on
  BlockParametersDataTip  on
  BlockAttributesDataTip  off
  BlockPortWidthsDataTip  off
  BlockDescriptionStringDataTip	off
  BlockMaskParametersDataTip off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  OptimizeBlockIOStorage  on
  BufferReuse		  on
  BooleanDataType	  off
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  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
  Created		  "Tue Mar 21 16:28:22 2000"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat May 27 15:14:27 2000"
  ModelVersionFormat	  "1.%<AutoIncrement:20>"
  ConfigurationManager	  "none"
  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		    "imss2"
    Location		    [515, 440, 980, 682]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "automatic"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "119"
    AutoZoom		    on
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 3, 0, 0, 0]
      Position		      [245, 64, 250, 136]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "3"
      Port {
	PortNumber		1
	Name			"wm"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		2
	Name			"Te"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		3
	Name			"Is"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      "S-Function"
      Name		      "IM"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [130, 68, 195, 132]
      ForegroundColor	      "blue"
      DropShadow	      on
      ShowName		      off
      FunctionName	      "imssmod2"
      Parameters	      "Rs,Rr,Lsl,Lrl,Lm,wm"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskDisplay	      "disp('INDUCTION\\nMOTOR')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [80, 60, 85, 140]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Run"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [130, 146, 185, 197]
      BackgroundColor	      "yellow"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "imssrun2"
      ShowPortLabels	      off
      MaskDisplay	      "disp('RUN')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Run"
	Location		[517, 579, 889, 681]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Annotation {
	  Position		  [186, 29]
	  Text			  "This demo illustrates the steady-state char"
"acteristics\n of an induction motor in the form of\ntorque-speed and current-"
"speed curves"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Position		  [185, 64]
	  ForegroundColor	  "blue"
	  Text			  "Double click <RUN>"
	  FontSize		  12
	}
	Annotation {
	  Position		  [185, 86]
	  Text			  "Edit <imssrun2.m> to modify the parameters"
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "V"
      Position		      [15, 65, 45, 95]
      ForegroundColor	      "orange"
      NamePlacement	      "alternate"
      Value		      "V"
    }
    Block {
      BlockType		      Constant
      Name		      "ws"
      Position		      [15, 105, 45, 135]
      ForegroundColor	      "orange"
      Value		      "ws"
    }
    Block {
      BlockType		      Outport
      Name		      "wm"
      Position		      [310, 68, 340, 82]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      ShowName		      off
      Port		      "1"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "Out2"
      Position		      [310, 93, 340, 107]
      ForegroundColor	      "green"
      ShowName		      off
      Port		      "2"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "Out3"
      Position		      [310, 118, 340, 132]
      ForegroundColor	      "green"
      ShowName		      off
      Port		      "3"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Line {
      SrcBlock		      "ws"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "V"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "IM"
      DstPort		      1
    }
    Line {
      SrcBlock		      "IM"
      SrcPort		      1
      DstBlock		      "Demux"
      DstPort		      1
    }
    Line {
      Name		      "Is"
      Labels		      [-1, 1]
      SrcBlock		      "Demux"
      SrcPort		      3
      DstBlock		      "Out3"
      DstPort		      1
    }
    Line {
      Name		      "wm"
      Labels		      [-1, 1]
      SrcBlock		      "Demux"
      SrcPort		      1
      DstBlock		      "wm"
      DstPort		      1
    }
    Line {
      Name		      "Te"
      Labels		      [-1, 1]
      SrcBlock		      "Demux"
      SrcPort		      2
      DstBlock		      "Out2"
      DstPort		      1
    }
    Annotation {
      Position		      [170, 26]
      Text		      "STEADY-STATE CHARACTERISTICS"
      FontSize		      12
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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