How a Grid Tie Inverter Works