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

📄 power_sixpulses.mdl

📁 how to simulation Power control systems in matlap Simulink SimPower
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      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		      HitCross
      HitCrossingOffset	      "0"
      HitCrossingDirection    "either"
      ShowOutputPort	      on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Inport
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      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		      Memory
      X0		      "0"
      InheritSampleTime	      off
      LinearizeMemory	      off
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
    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		      PMComponent
      SubClassName	      "unknown"
    }
    Block {
      BlockType		      PMIOPort
    }
    Block {
      BlockType		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      Floating		      off
      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	      "0"
    }
    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		      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		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    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
    }
  }
  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		    "power_sixpulses"
    Location		    [203, 127, 934, 645]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [255, 134, 285, 156]
      ShowName		      off
      Value		      "30"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant1"
      Position		      [280, 214, 310, 236]
      ShowName		      off
      Value		      "0"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 7]
      Position		      [265, 370, 270, 480]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "7"
      Port {
	PortNumber		1
	Name			"Usw1"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		2
	Name			"Usw2"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		3
	Name			"Usw3"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		4
	Name			"Usw4"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		5
	Name			"Usw5"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		6
	Name			"Usw6"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		7
	Name			"Udc"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Multimeter"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [0, 1]
      Position		      [185, 402, 245, 448]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Measurements/Multimeter"
      SourceType	      "MultimeterPSB"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      sel		      "[1 2 3 4 5 6 10]"
      L			      "16"
      Gain		      "[-1 -1 -1 -1 -1 -1 1]"
      yselected		      "{'Usw1: Thyristor Converter','Usw2: Thyristor C"
"onverter','Usw3: Thyristor Converter','Usw4: Thyristor Converter','Usw5: Thyr"
"istor Converter','Usw6: Thyristor Converter','Udc: Thyristor Converter'};"
      PSBOutputType	      "1"
      PSBequivalent	      "0"
      AxesSetting	      "[0,0.1,-100,100]"
      Display		      "0"
      SavedBlockNames	      "-11"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1]
      Position		      [520, 185, 525, 275]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "Pulses"
      Ports		      [7]
      Position		      [630, 346, 680, 414]
      BackgroundColor	      "green"
      Location		      [75, 34, 738, 752]
      Open		      off
      NumInputPorts	      "7"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
	axes6			"%<SignalLabel>"
	axes7			"%<SignalLabel>"
      }
      TimeRange		      "0.035"
      YMin		      "-400~-1~-1~-1~0~0~0"
      YMax		      "400~1~1~1~1~1~1"
      SaveToWorkspace	      on
      SaveName		      "VI_scope"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleInput	      on
      SampleTime	      "1/60/512"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector"
      Ports		      [1, 1]
      Position		      [480, 295, 535, 325]
      ShowName		      off
      InputPortWidth	      "6"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector1"
      Ports		      [1, 1]
      Position		      [480, 330, 535, 360]
      ShowName		      off
      Elements		      "2"
      InputPortWidth	      "6"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector2"
      Ports		      [1, 1]
      Position		      [480, 365, 535, 395]
      ShowName		      off
      Elements		      "3"
      InputPortWidth	      "6"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector3"
      Ports		      [1, 1]
      Position		      [480, 400, 535, 430]
      ShowName		      off
      Elements		      "4"
      InputPortWidth	      "6"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector4"
      Ports		      [1, 1]
      Position		      [480, 435, 535, 465]
      ShowName		      off
      Elements		      "5"
      InputPortWidth	      "6"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector5"
      Ports		      [1, 1]
      Position		      [480, 470, 535, 500]
      ShowName		      off
      Elements		      "6"
      InputPortWidth	      "6"
    }
    Block {
      BlockType		      Reference
      Name		      "Series RLC Branch2"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [585, 47, 640, 73]
      ShowName		      off
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "2"
      Inductance	      "0"
      Capacitance	      "inf"
      Setx0		      off
      InitialVoltage	      "0"
      SetiL0		      off
      InitialCurrent	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Synchronized\n6-Pulse Generator"
      Ports		      [5, 1]
      Position		      [330, 140, 415, 230]
      SourceBlock	      "powerlib_extras/Control \nBlocks/Synchronized\n"
"6-Pulse Generator"
      SourceType	      "Synchronized 6-pulse generator"
      ShowPortLabels	      on
      freq		      "60"
      pwidth		      "10"
      Double_Pulse	      on
    }
    Block {
      BlockType		      Reference
      Name		      "Thyristor Converter"
      Ports		      [1, 0, 0, 0, 0, 3, 2]
      Position		      [480, 35, 550, 130]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Power\nElectronics/Universal Bridge"
      SourceType	      "Universal Bridge"
      ShowPortLabels	      on
      Arms		      "3"
      SnubberResistance	      "500"
      SnubberCapacitance      "1e-6"
      Device		      "Thyristors"
      Ron		      "1e-3"
      Lon		      "0"
      ForwardVoltages	      "[  0.8  0.8  ]"
      ForwardVoltage	      "0"
      GTOparameters	      "[ 10e-6 , 20e-6 ]"
      IGBTparameters	      "[ 1e-6 , 2e-6 ]"
      Measurements	      "All voltages and currents"
    }
    Block {
      BlockType		      Reference
      Name		      "Va"
      Description	      "source block"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [38, 345, 62, 380]
      Orientation	      "up"
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Electrical\nSources/AC Voltage Source"
      SourceType	      "AC Voltage Source"
      ShowPortLabels	      on
      Amplitude		      "200"
      Phase		      "0"
      Frequency		      "60"
      SampleTime	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Vab"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [205, 178, 230, 202]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"

⌨️ 快捷键说明

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