An optimization model for the management of energy supply and demand in smart grids | IEEE Conference Publication | IEEE Xplore