A method for controlling an overall electrical system connected to a superordinate grid via a grid connection point to adhere to a specified power limit at the grid connection point, wherein the local overall electrical system comprises components which are at least partly controllable in terms of their contribution to the power transmitted over the grid connection point, and a local control unit, wherein to provide local control the control unit has a data connection to the controllable components, can connect the power connection of at least one of the components of the local overall electrical system to the grid connection point, and has at least a temporary data connection to a superordinate server for sending information and receiving a schedule data, having the steps of: - creating a forward-looking schedule extending over a period for controlling the components of the local overall electrical system by means of the superordinate server, wherein the schedule is created on the basis of the measured values received from the local control unit, forecast data concerning the energy consumption or energy production in the local overall electrical system or in the superordinate grid, historical energy consumption or energy production data and/or technical information relating to the components of the local overall electrical system, in such a way that upon the occurrence of the assumptions made for creating the schedule, the specified power limit value is adhered to at the grid connection point of the local overall electrical system; - transferring the created schedule from the superordinate server to the local control unit if a data connection exists; - if a current schedule is available on the local control unit, controlling the local components in accordance with the schedule using the local control unit, and, if no current schedule is available on the local control unit, controlling the local components in accordance with a specified and locally stored standard schedule using the local control unit; - monitoring the power transmitted via the grid connection point using the control unit and upon determining that the specified power limit has been exceeded, implementing a temporary modification to the current or standard schedule on which the control is based according to a pre-defined scheme stored in the control unit; and - upon determining that the temporary modification in the current or standard schedule does not cause the specified power limit to be undershot within a specified time limit, switching off the power connection to at least one component according to the predefined scheme. - creating a forward-looking schedule extending over a period for controlling the components of the local overall electrical system by means of the superordinate server, wherein the schedule is created on the basis of the measured values received from the local control unit, forecast data concerning the energy consumption or energy production in the local overall electrical system or in the superordinate grid, historical energy consumption or energy production data and/or technical information relating to the components of the local overall electrical system, in such a way that upon the occurrence of the assumptions made for creating the schedule, the specified power limit value is adhered to at the grid connection point of the local overall electrical system; - transferring the created schedule from the superordinate server to the local control unit if a data connection exists; - if a current schedule is available on the local control unit, controlling the local components in accordance with the schedule using the local control unit, and, if no current schedule is available on the local control unit, controlling the local components in accordance with a specified and locally stored standard schedule using the local control unit; - monitoring the power transmitted via the grid connection point using the control unit and upon determining that the specified power limit has been exceeded, implementing a temporary modification to the current or standard schedule on which the control is based according to a pre-defined scheme stored in the control unit; and - upon determining that the temporary modification in the current or standard schedule does not cause the specified power limit to be undershot within a specified time limit, switching off the power connection to at least one component according to the predefined scheme.