Bidirectional optimal operation of smart building-to-grid systems | IEEE Conference Publication | IEEE Xplore