The debacle highlights just how vulnerable even the most sophisticated energy systems are to the vagaries of climate change, and how close it all came to crashing down.