Optimizing the Size of Second-Life Batteries for Grid Storage Applications Using a Residual Load Tool | IEEE Conference Publication | IEEE Xplore