From 36V DC to 120V AC: How an Pure Sine Wave Inverter Works