The growing demand for energy storage in residential photovoltaic systems highlights the potential of second-life electric vehicle batteries. Their residual capacity offers economic and environmental benefits. However, their cells suffer from a significant capacity mismatch,…