This is my diagram of what I think happened and how I assume the airport is set up (master switch room may be in a different location though - just hypothesizing). I'd be very surprised if each concourse didn't have its own backup generator for life safety purposes.
Excuse my MS paint skills.