Title: Planning and Operation of Electric Vehicles in Smart Grids