Using the Advanced DMS Functions to Handle the Impact of Plug-In Electric Vehicles on Distribution Networks