Effective integration of large amounts of renewable energy into the grid is of utmost importance for sustainable future and greener smart cities. Due to the unpredictable variations in weather, over 80% of the available renewable energy from solar and wind sources cannot be harnessed effectively.