Numerical method for the extraction of photovoltaic module double-diode model parameters through cluster analysis