Follow the leader in a consensus network as a solution to manage an smart grid: The balearic islands case