Buildings are becoming revenue-generating energy assets