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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Frequency | f (from SinglePhaseTwoLevel) | 1000 | Switching frequency |
| SI.Resistance | R | 100 | Resistance |
| SI.Inductance | L | 1 | Inductance |
| SI.Frequency | f1 | 50 | AC frequency |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Sources.ConstantVoltage | constantVoltage_n (from SinglePhaseTwoLevel) | ||
| PowerConverters.DCAC.SinglePhase2Level | inverter (from SinglePhaseTwoLevel) | ||
| Modelica.Electrical.Analog.Sensors.CurrentSensor | currentSensor (from SinglePhaseTwoLevel) | ||
| Modelica.Electrical.Analog.Sensors.VoltageSensor | voltageSensor (from SinglePhaseTwoLevel) | ||
| Modelica.Electrical.Analog.Basic.Ground | ground (from SinglePhaseTwoLevel) | ||
| PowerConverters.DCDC.Control.SignalPWM | signalPWM (from SinglePhaseTwoLevel) | ||
| Modelica.Electrical.Analog.Sources.ConstantVoltage | constantVoltage_p (from SinglePhaseTwoLevel) | ||
| Modelica.Blocks.Sources.Sine | sine (from SinglePhaseTwoLevel) | ||
| Modelica.Blocks.Math.Harmonic | fundamentalWaveVoltage (from SinglePhaseTwoLevel) | ||
| Modelica.Blocks.Math.Harmonic | fundamentalWaveCurrent (from SinglePhaseTwoLevel) | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistor | ||
| Modelica.Electrical.Analog.Basic.Inductor | inductor |