Understanding Inverter Operation