Basic principle of an analog pure sine wave inverter; in this simulator,however, you cannot change the simulation speed if it recognizes there are oscillators involved, so unless you wait a lot and use very close oscillator frequencies, the circuit takes too long to show any result. In real life you'd use a 10k or even 20k triangle wave to generate the PWM and instead of the lamp you'd connect a transformer.