GRID CONNECTED INVERTER MODELING AND