WOLFRAM SYSTEM MODELER
SinglePhaseTwoLevel_RLSingle-phase DC to AC converter with R-L load |
|

SystemModel["Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL"]

This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.
| f |
Value: 1000 Type: Frequency (Hz) Description: Switching frequency |
|---|---|
| R |
Value: 100 Type: Resistance (Ω) Description: Resistance |
| L |
Value: 1 Type: Inductance (H) Description: Inductance |
| f1 |
Value: 50 Type: Frequency (Hz) Description: AC frequency |
| constantVoltage_n |
Type: ConstantVoltage Description: Source for constant voltage |
|
|---|---|---|
| inverter |
Type: SinglePhase2Level Description: Single-phase DC to AC converter |
|
| currentSensor |
Type: CurrentSensor Description: Sensor to measure the current in a branch |
|
| voltageSensor |
Type: VoltageSensor Description: Sensor to measure the voltage between two pins |
|
| ground |
Type: Ground Description: Ground node |
|
| signalPWM |
Type: SignalPWM Description: Generates a pulse width modulated (PWM) boolean fire signal |
|
| constantVoltage_p |
Type: ConstantVoltage Description: Source for constant voltage |
|
| sine |
Type: Sine Description: Generate sine signal |
|
| fundamentalWaveVoltage |
Type: Harmonic Description: Calculate harmonic over period 1/f |
|
| fundamentalWaveCurrent |
Type: Harmonic Description: Calculate harmonic over period 1/f |
|
| resistor |
Type: Resistor Description: Ideal linear electrical resistor |
|
| inductor |
Type: Inductor Description: Ideal linear electrical inductor |