Optimizing and testing of batteries for a smart grid | IEEE Conference Publication | IEEE Xplore