If energy from renewables can be stored and dispatched to the grid during periods of peak demand, solar and wind would become more cost-effective and simpler to scale.