I am designing a project to install an emergency generator, feeding emergency power to an entire building. The building has a fire pump, located in another building outside. The fire pump is currently fed from a connection ahead of the main service disconnect. My question is, where should I connect the new automatic transfer switch? I would like the generator to also supply emergency power to the fire pump, in case of a prolonged electrical outage. Would the NEC permit the new transfer switch to be connected ahead of the fire pump connection? Any help would be appreciated. Thank you!