Method for automated configuration of an electronic power supply for supplying energy from a supply network to electricity consumers , wherein the power supply is configured using measurement data (M) and/or data of the supply network derived therefrom, wherein in order to configure the power supply , the measurement data (M) and/or the data of the supply network derived therefrom is analysed and errors in the supply network are determined therefrom, wherein the data is analysed for errors in the form of events, characterised in that the events are a mains and/or phase failure, wherein the power supply is embodied as a switching power supply, wherein the switching power supply is an electronic assembly which converts an unstabilised input voltage into a constant output voltage, and wherein the power supply is configured so that it compensates for the determined errors in such a way that the power supply to the electrical consumer is carried out in a failure-free manner, wherein the method comprises the following steps: - Receiving the measurement data (M) and/or data of the supply network derived therefrom, - Analysing the received data in order to determine the errors in the supply network , - Forming a number of characteristic values for the determined errors in the supply network, - Configuring the power supply as a function of the determined errors, wherein a database with different types and configurations of power supplies is reverted to, to which in each case characteristic values relating to errors in the supply network are assigned, - Outputting information (B) relating to the configured power supply . wherein in order to configure the power supply , the measurement data (M) and/or the data of the supply network derived therefrom is analysed and errors in the supply network are determined therefrom, wherein the data is analysed for errors in the form of events, characterised in that the events are a mains and/or phase failure, wherein the power supply is embodied as a switching power supply, wherein the switching power supply is an electronic assembly which converts an unstabilised input voltage into a constant output voltage, and wherein the power supply is configured so that it compensates for the determined errors in such a way that the power supply to the electrical consumer is carried out in a failure-free manner, wherein the method comprises the following steps: - Receiving the measurement data (M) and/or data of the supply network derived therefrom, - Analysing the received data in order to determine the errors in the supply network , - Forming a number of characteristic values for the determined errors in the supply network, - Configuring the power supply as a function of the determined errors, wherein a database with different types and configurations of power supplies is reverted to, to which in each case characteristic values relating to errors in the supply network are assigned, - Outputting information (B) relating to the configured power supply . - Receiving the measurement data (M) and/or data of the supply network derived therefrom, - Analysing the received data in order to determine the errors in the supply network , - Forming a number of characteristic values for the determined errors in the supply network, - Configuring the power supply as a function of the determined errors, wherein a database with different types and configurations of power supplies is reverted to, to which in each case characteristic values relating to errors in the supply network are assigned, - Outputting information (B) relating to the configured power supply . <EOS>