modelSinglePhaseTwoLevel_R

Single-phase DC to AC converter with resistive load

Extends from ExampleTemplates.SinglePhaseTwoLevel (Single-phase two level inverter including control), Modelica.Icons.Example (Icon for runnable examples).

Information

Plot current currentSensor.i, average current meanCurrent.y, voltage voltageSensor.v and average voltage meanVoltage.v. The instantaneous voltage and current directly show the switch pattern of the inverter. The average voltage and average current reveal the fundamental wave of the voltage and current, each of them being basically in phase with the command sine.y.

Parameters

TypeNameDefaultDescription
SI.Frequencyf (from SinglePhaseTwoLevel)1000Switching frequency
SI.ResistanceR100Resistance
SI.Frequencyf150AC frequency

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltage_n (from SinglePhaseTwoLevel)
PowerConverters.DCAC.SinglePhase2Levelinverter (from SinglePhaseTwoLevel)
Modelica.Electrical.Analog.Sensors.CurrentSensorcurrentSensor (from SinglePhaseTwoLevel)
Modelica.Electrical.Analog.Sensors.VoltageSensorvoltageSensor (from SinglePhaseTwoLevel)
Modelica.Electrical.Analog.Basic.Groundground (from SinglePhaseTwoLevel)
PowerConverters.DCDC.Control.SignalPWMsignalPWM (from SinglePhaseTwoLevel)
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltage_p (from SinglePhaseTwoLevel)
Modelica.Blocks.Sources.Sinesine (from SinglePhaseTwoLevel)
Modelica.Blocks.Math.HarmonicfundamentalWaveVoltage (from SinglePhaseTwoLevel)
Modelica.Blocks.Math.HarmonicfundamentalWaveCurrent (from SinglePhaseTwoLevel)
Modelica.Electrical.Analog.Basic.Resistorresistor