Converting stored solar energy to electricity on demand