Found in 2 comments on Hacker News
A good read on the topic of electricity production and distribution in the age of renewable, distributed sources: https://www.amazon.com/Grid-Fraying-Between-Americans-Energy...
austinl · 2017-06-09 · Original thread
I'd recommend the book The Grid as a primer on how stuff like this can happen. Energy is strange, in the sense that everything produced needs to be used more or less immediately. Maintaining the energy grid is a careful balancing act between preventing surges and blackouts.

There are a lot of grid-related engineering problems that come from increasing decentralization (e.g. wind, solar, hydro) because it increases unpredictability in supply.

https://www.amazon.com/Grid-Fraying-Between-Americans-Energy...

Fresh book recommendations delivered straight to your inbox every Thursday.