A Decentralized and Cooperative Architecture for Optimal Voltage Regulation in Smart Grids