Could a Nimitz-class carrier's A4W reactors serve as a small power source for a city?
Short answerYes, through the carrier's electrical system and a suitable shore connection, especially during disaster relief.
NotesA nuclear-powered carrier can supply electricity ashore during disaster relief. The reactor remains part of the ship, while a shore connection carries power into the local grid. Carriers have used this wider emergency-power role when damaged infrastructure made it useful. The practical limit is the equipment needed to connect the ship safely to the affected area.