Energy management for buildings and microgrids | IEEE Conference Publication | IEEE Xplore