Minimization of building energy cost by optimally managing PV and battery energy storage systems | IEEE Conference Publication | IEEE Xplore