A genetic algorithm for identifying the single diode model parameters of a photovoltaic panel