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

📄 threelevel.mdl

📁 三电平逆变器仿真
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      ShowAdditionalParam     off
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
    }
    Block {
      BlockType		      Terminator
    }
    Block {
      BlockType		      Trigonometry
      Operator		      "sin"
      OutputSignalType	      "auto"
    }
    Block {
      BlockType		      UnitDelay
      X0		      "0"
      SampleTime	      "1"
      RTWStateStorageClass    "Auto"
    }
  }
  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		    "threelevel"
    Location		    [313, 86, 1147, 812]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "3-Phase\nParallel RLC Load"
      Ports		      [3]
      Position		      [633, 490, 677, 550]
      Orientation	      "down"
      SourceBlock	      "powerlib2/Elements/3-Phase\nParallel RLC Load"
      SourceType	      "3-phase parallel RLC load "
      Vpp		      "208"
      fn		      "50"
      P3		      "1e3"
      QL3		      "0"
      QC3		      "500"
    }
    Block {
      BlockType		      Reference
      Name		      "3-Phase Transformer\n12-terminals"
      Ports		      [6, 6]
      Position		      [485, 357, 565, 458]
      SourceBlock	      "powerlib2/Elements/3-Phase Transformer\n12-term"
"inals"
      SourceType	      "Three-phase Linear Transformer 12-terminals"
      pf		      "[ 1000 50 ]"
      urx1		      "[ 240 0.002  0.04 ]"
      urx2		      " [ 208/sqrt(3) 0.002 0.04]  "
      rxm		      " [ 200 200 ] "
    }
    Block {
      BlockType		      Reference
      Name		      "Bus Bar (thin horiz)"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [3, 1]
      Position		      [538, 540, 642, 545]
      Orientation	      "down"
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Bus Bar (thin horiz)"
      SourceType	      "Bus Bar"
      input		      "3"
      output		      "1"
      PSBOutputType	      "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
    }
    Block {
      BlockType		      Reference
      Name		      "DC Voltage Source"
      Tag		      "PoWeRsYsTeMbLoCk"
      Description	      "source block"
      Ports		      [1, 1]
      Position		      [95, 150, 115, 185]
      Orientation	      "up"
      SourceBlock	      "powerlib2/Electrical\nSources/DC Voltage Source"
      SourceType	      "DC Voltage Source"
      V			      "200"
      mesure		      "None"
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "DC Voltage Source1"
      Tag		      "PoWeRsYsTeMbLoCk"
      Description	      "source block"
      Ports		      [1, 1]
      Position		      [95, 245, 115, 280]
      Orientation	      "up"
      SourceBlock	      "powerlib2/Electrical\nSources/DC Voltage Source"
      SourceType	      "DC Voltage Source"
      V			      "200"
      mesure		      "None"
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete\n3-phase \nProgrammable Source"
      Ports		      [0, 1]
      Position		      [50, 361, 100, 409]
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\n3-phase \nProgrammable Source"
      SourceType	      "Discrete 3-phase Programmable Source"
      Par_Vps		      "[1 0  50]"
      VariationEntity	      "Amplitude"
      VariationType	      "Step"
      VariationStep	      "-0.5 "
      VariationRate	      "10"
      VariationMag	      "0.3"
      VariationFreq	      "2"
      Par_Timing_Variation    "[0.1 1.2]"
      SinglePhase	      on
      Yampli		      "[1 0.8 1.2 1.0]"
      Xtime		      "[0 0.1 0.15 0.2]"
      HarmonicGeneration      off
      Par_HarmoA	      "[3 0.2 -25 0]"
      Par_HarmoB	      "[2 0.15 35 2]"
      Par_Timing_Harmo	      "[0.05  3]"
      Ts		      "50e-6"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete\nVirtual PLL"
      Ports		      [0, 3]
      Position		      [25, 464, 85, 536]
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nVirtual PLL"
      SourceType	      "Discrete Virtual PLL"
      Freq		      "60"
      Phase		      "30"
      Ts		      "50e-6"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete 3-phase\nPWM Generator"
      Ports		      [2, 2]
      Position		      [165, 489, 225, 551]
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete 3-phase\nPWM Generator"
      SourceType	      "Discrete 3-phase PWM Generator (2- or 3-level)"
      ModulatorType	      "3-level"
      ModulatorMode	      "Synchronized"
      nF		      "18"
      Fc		      "18*60"
      ModulatingSignals	      off
      m			      "0.2"
      Freq		      "60"
      Phase		      "0"
      Ts		      "5e-6"
    }
    Block {
      BlockType		      Reference
      Name		      "Ground (input)"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [1]
      Position		      [575, 575, 605, 605]
      Orientation	      "down"
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Ground (input)"
      SourceType	      "Ground"
    }
    Block {
      BlockType		      Reference
      Name		      "Neutral (output)"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [0, 1]
      Position		      [144, 340, 196, 380]
      Orientation	      "up"
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Neutral (output)"
      SourceType	      "Neutral"
      no		      "99"
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [650, 134, 680, 166]
      Location		      [188, 123, 548, 736]
      Open		      off
      NumInputPorts	      "4"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      YMin		      "-5~-5~-5~-5"
      YMax		      "5~5~5~5"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "5000000"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [180, 424, 210, 456]
      Location		      [154, 362, 478, 601]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-1"
      YMax		      "1"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "5000000"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [180, 614, 210, 646]
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-1"
      YMax		      "1"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "5000000"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [615, 619, 645, 651]
      Location		      [188, 123, 548, 736]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "5000000"
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator"
      Position		      [105, 455, 125, 475]
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator1"
      Position		      [125, 500, 145, 520]
    }
    Block {
      BlockType		      Reference
      Name		      "Three-Level Bridge"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [4, 3]
      Position		      [330, 327, 395, 403]
      SourceBlock	      "powerlib2/Power\nElectronics/Three-Level Bridge"
      SourceType	      "Three-Level Bridge"
      arms		      "3"
      confi		      "ABC as output terminals"
      Rs		      "1e6"
      Cs		      "inf"
      device		      "IGBT / Diodes"
      Ron		      "1e-4"
      PAr_vf		      "[  1  1 ]"
      mesure		      "None"
      PSBOutputType	      "111"
    }
    Block {
      BlockType		      Reference
      Name		      "Three-Level Bridge1"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [4, 3]
      Position		      [330, 467, 395, 543]
      SourceBlock	      "powerlib2/Power\nElectronics/Three-Level Bridge"
      SourceType	      "Three-Level Bridge"
      arms		      "3"
      confi		      "ABC as output terminals"
      Rs		      "1e6"
      Cs		      "inf"
      device		      "IGBT / Diodes"
      Ron		      "1e-4"
      PAr_vf		      "[  1  1 ]"
      mesure		      "None"
      PSBOutputType	      "111"
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [2, 1]
      Position		      [370, 83, 400, 112]
      SourceBlock	      "powerlib2/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "0"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement1"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [2, 1]
      Position		      [440, 183, 470, 212]
      SourceBlock	      "powerlib2/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "0"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement2"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [2, 1]
      Position		      [495, 258, 525, 287]
      SourceBlock	      "powerlib2/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      PhasorSimulation	      off

⌨️ 快捷键说明

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