PV layout optimization