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

📄 inverter.mdl

📁 matlab simulink model for three phase inverter
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      Ground
    }
    Block {
      BlockType		      Inport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      LatchByDelayingOutsideSignal off
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      Integrator
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      IgnoreLimit	      off
      ZeroCross		      on
    }
    Block {
      BlockType		      Logic
      Operator		      "AND"
      Inputs		      "2"
      AllPortsSameDT	      on
      OutDataTypeMode	      "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      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		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Saturate
      UpperLimit	      "0.5"
      LowerLimit	      "-0.5"
      LinearizeAsGain	      on
      ZeroCross		      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		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    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"
    }
    Block {
      BlockType		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Terminator
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
    Block {
      BlockType		      TransportDelay
      DelayTime		      "1"
      InitialOutput	      "0"
      BufferSize	      "1024"
      FixedBuffer	      off
      TransDelayFeedthrough   off
      PadeOrder		      "0"
    }
  }
  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		    "bas"
    Location		    [51, 83, 1004, 487]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "3- Phase Series RLC "
      Ports		      [3, 3]
      Position		      [645, 96, 730, 274]
      ForegroundColor	      "gray"
      SourceBlock	      "powerlib2/Elements/3-Phase\nSeries RLC Branch "
      SourceType	      "3-phase RLC series element"
      ShowPortLabels	      on
      R			      ".001"
      L			      "0.003"
      C			      "inf"
    }
    Block {
      BlockType		      SubSystem
      Name		      "3phase AC/AC"
      Ports		      [3, 3]
      Position		      [295, 93, 395, 277]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskType		      "Tree phase inverter"
      MaskDescription	      "This Tree phase thyristor inverter model hase b"
"een designed by N.Abbasi.K.\nThe most interesting option in this model is fir"
"ing angle setting that can be very helpful for users."
      MaskHelp		      "E-mail:  n.abbasi.k@ee.kntu.ac.ir\nI'm waiting "
"for your improver purposals."
      MaskPromptString	      "Thyristor fiering angle (deg)"
      MaskStyleString	      "edit"
      MaskTunableValueString  "off"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "a=@1;"
      MaskDisplay	      "disp('3phase AC/AC')\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "100"
      System {
	Name			"3phase AC/AC"
	Location		[104, 179, 611, 667]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "r"
	  Position		  [30, 33, 60, 47]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "s"
	  Position		  [20, 173, 50, 187]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "t"
	  Position		  [20, 323, 50, 337]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  From
	  Name			  "From"
	  Position		  [170, 50, 200, 70]
	  ShowName		  off
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "p1"
	}
	Block {
	  BlockType		  From
	  Name			  "From1"
	  Position		  [175, 190, 205, 210]
	  ShowName		  off
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "p2"
	}
	Block {
	  BlockType		  From
	  Name			  "From2"
	  Position		  [175, 340, 205, 360]
	  ShowName		  off
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "p3"
	}
	Block {
	  BlockType		  From
	  Name			  "From3"
	  Position		  [305, 115, 335, 135]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "p11"
	}
	Block {
	  BlockType		  From
	  Name			  "From4"
	  Position		  [305, 260, 335, 280]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "p22"
	}
	Block {
	  BlockType		  From
	  Name			  "From5"
	  Position		  [310, 415, 340, 435]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "p33"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope3"
	  Ports			  [1]
	  Position		  [75, 110, 105, 140]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Floating		  off
	  Location		  [240, 50, 900, 457]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "0.04"
	  YMin			  "-175"
	  YMax			  "125"
	  SaveName		  "ScopeData5"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "T connector"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1, 1]
	  Position		  [150, 30, 170, 50]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/T connector"
	  SourceType		  "Bus Bar"
	  ShowPortLabels	  on
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "T connector1"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1, 1]
	  Position		  [150, 170, 170, 190]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/T connector"
	  SourceType		  "Bus Bar"
	  ShowPortLabels	  on
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "T connector2"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1, 1]
	  Position		  [155, 320, 175, 340]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/T connector"
	  SourceType		  "Bus Bar"
	  ShowPortLabels	  on
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [305, 50, 325, 70]
	  ShowName		  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator1"
	  Position		  [300, 190, 320, 210]
	  ShowName		  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator2"
	  Position		  [300, 340, 320, 360]
	  ShowName		  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator4"
	  Position		  [180, 260, 200, 280]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator5"
	  Position		  [185, 415, 205, 435]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Thyristor"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [2, 2]
	  Position		  [220, 30, 275, 70]
	  ShowName		  off
	  SourceBlock		  "powerlib2/Power\nElectronics/Thyristor"
	  SourceType		  "Thyristor"
	  ShowPortLabels	  on
	  Ron			  "1e-04"
	  Lon			  "0"
	  Vf			  ".8"
	  IC			  "0"
	  Rs			  "90"
	  Cs			  "1e-10"
	  PSBOutputType		  "10"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Thyristor1"
	  Tag			  "PoWeRsYsTeMbLoCk"

⌨️ 快捷键说明

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