In the event of a failure of the mains supply, an automatic transfer switch is used to automatically switch the load to the standby supply, e.g. to a genset.