An innovative metaheuristic strategy for solar energy management through a neural networks framework