A grid connected photovoltaic system using a parallel multilevel inverter: Optimal number of inverter cells