SinglePhaseTwoLevel_RSingle phase DC to AC converter with resistive load 
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 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
.
f 
Value: 1000 Type: Frequency (Hz) Description: Switching frequency 

R 
Value: 100 Type: Resistance (Ω) Description: Resistance 
f1 
Value: 50 Type: Frequency (Hz) Description: AC frequency 
constantVoltage_n 
Type: ConstantVoltage 


inverter 
Type: SinglePhase2Level 

currentSensor 
Type: CurrentSensor 

voltageSensor 
Type: VoltageSensor 

ground 
Type: Ground 

signalPWM 
Type: SignalPWM 

constantVoltage_p 
Type: ConstantVoltage 

sine 
Type: Sine 

fundamentalWaveVoltage 
Type: Harmonic 

fundamentalWaveCurrent 
Type: Harmonic 

resistor 
Type: Resistor 