Integration of renewable energy sources, energy storage systems, and electrical vehicles with smart power distribution networks