A distributed algorithm for the cooperative prediction of power production in PV plants