Renewable energy-powered microgrids and energy storage meet future power needs