Text this: Impact of electric vehicles and photovoltaic systems on power grids: a comprehensive survey