A layered architecture for control functionality implementation in smart grids | IEEE Conference Publication | IEEE Xplore