modelSinglePhaseTwoLevel_RL

Single-phase DC to AC converter with R-L 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 directly show the switch pattern of the inverter. The current shows a particular ripple determined by the input voltage and the switching frequency. The average voltage is basically in phase with the command sine.y. The average current has a phase shift due to the R-L load.

Parameters

TypeNameDefaultDescription
SI.Frequencyf (from SinglePhaseTwoLevel)1000Switching frequency
SI.ResistanceR100Resistance
SI.InductanceL1Inductance
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
Modelica.Electrical.Analog.Basic.Inductorinductor