Understanding the role of buildings in a smart microgrid | IEEE Conference Publication | IEEE Xplore