Optimal Diode Count in a Solar Panel Setup