A framework for a consumer-end energy management system in smart grid | IEEE Conference Publication | IEEE Xplore