The total solar eclipse that captivated the United States this week was more than just a celestial spectacle (and a reminder to take care of your eyes). It was also a valuable lesson in how to manage electricity grids when a crucial generation source – solar power, in this case – goes temporarily offline.