Integrating Retired Electric Vehicle Batteries With Photovoltaics In Microgrids