An automated energy management system in a smart grid context | IEEE Conference Publication | IEEE Xplore