Optimal charging of plug-in hybrid electric vehicles in smart grids | Synapse