HOW DOES A GRID TIE INVERTER WORK