Optimal Charging Control for Electric Vehicles in Smart Microgrids with Renewable Energy Sources | Synapse