The three-phase auto mains fail (AMF) unit allows automatic connection of a secondary electrical supply to a load upon failure of the primary.