Energy measurement in buildings with local generation of energy | IEEE Conference Publication | IEEE Xplore