Simulation and optimization of electric vehicles’charge profiles