Method for controlling an energy swarm system comprising one or more energy clusters, wherein each energy cluster comprises one or more thermal, electrical and/or material energy generators and/or energy consumers and/or energy stores, wherein the method comprises the following steps, which can be iteratively passed through: a) Determining and updating the future-oriented energy flow schedules for each individual energy cluster by cluster control units, which map the individual energy flows in the energy cluster in a predetermined time grid; b) determining and updating future-oriented energy flexibility offers of the individual energy clusters by the cluster control units, which, taking into account the associated energy flow schedule and boundary conditions for the energy cluster, map energy potentials of the energy cluster that can be realised in the future in the predetermined time frame; c) Transmission of the energy flow schedules and the flexibility offers of the individual energy clusters to a central swarm control unit of the energy swarm system after a determination or update according to one of the steps a) or b); d) offering of flexibility offers, itemised in accordance with the predetermined time pattern, by the swarm control unit to energy network operators and/or energy suppliers at least one time unit of the time pattern before the energy can be physically provided; e) determination by the swarm control unit of a future energy exchange requirement in the prescribed time frame between the energy clusters from the energy flow schedules, the flexibility offers and external energy demands; f) determining flexibility calls on the basis of the future-oriented energy exchange requirement for the utilisation of the individual flexibility offers between the energy clusters or for the provision of flexibility offers to a further energy swarm system or to an energy network or an energy supplier; g) Transmitting flexibility calls to the cluster control units and updating the flexibility offer to other swarm control units and/or energy grid operators and/or energy suppliers; h) adjusting the energy flow schedules by the cluster control units according to the transmitted flexibility calls and controlling the energy flows in the energy clusters according to the adjusted energy flow schedules. a) Determining and updating the future-oriented energy flow schedules for each individual energy cluster by cluster control units, which map the individual energy flows in the energy cluster in a predetermined time grid; b) determining and updating future-oriented energy flexibility offers of the individual energy clusters by the cluster control units, which, taking into account the associated energy flow schedule and boundary conditions for the energy cluster, map energy potentials of the energy cluster that can be realised in the future in the predetermined time frame; c) Transmission of the energy flow schedules and the flexibility offers of the individual energy clusters to a central swarm control unit of the energy swarm system after a determination or update according to one of the steps a) or b); d) offering of flexibility offers, itemised in accordance with the predetermined time pattern, by the swarm control unit to energy network operators and/or energy suppliers at least one time unit of the time pattern before the energy can be physically provided; e) determination by the swarm control unit of a future energy exchange requirement in the prescribed time frame between the energy clusters from the energy flow schedules, the flexibility offers and external energy demands; f) determining flexibility calls on the basis of the future-oriented energy exchange requirement for the utilisation of the individual flexibility offers between the energy clusters or for the provision of flexibility offers to a further energy swarm system or to an energy network or an energy supplier; g) Transmitting flexibility calls to the cluster control units and updating the flexibility offer to other swarm control units and/or energy grid operators and/or energy suppliers; h) adjusting the energy flow schedules by the cluster control units according to the transmitted flexibility calls and controlling the energy flows in the energy clusters according to the adjusted energy flow schedules.