Machine Learning Strategy for Solar Energy optimisation in Distributed systems. (November 2022)