1. A method of managing energy supply in which an aggregator receives an energy demand from at least one operator of an energy distribution network and sends instructions to a plurality of energy facilities driven by said aggregator and capable of producing and/or storing energy in order to satisfy said demand, the method being characterized by the following steps: each energy facility transmits to the aggregator a description of instantaneous variations of the energy state and technical constraints linked to its operation in order to satisfy said demand; and the aggregator automatically defines for each energy facility a response profile for the demand as a function of said description by taking into account non-linear responses and energy state history data from each energy facility and by using a finite set of continuous curves, each describing the energy state of each energy facility, the present energy demand, the energy available in each energy facility, and the time of said demand and transmits said response profile of the energy distribution network to the operator, and transmits a set of control signals to each energy facility in order to satisfy said demand.