Impact of Second-Life Batteries on Enhancing the Integration of Renewable Energy Resources