Optimizing energy cost via battery sizing in residential PV/battery systems | IEEE Conference Publication | IEEE Xplore