Optimal design of the modelling parameters of photovoltaic modules and array through Metaheuristic with Secant Method