Fast Dynamical Reconfiguration algorithm of PV Arrays