A system for controlling delivery of a heat stream from a heat generator to one or more sites to be heated (130, 132), comprising: a first controller configured for controlling an outlet flow of the heat stream at a location of a heat generator of a heat distribution network, configured to acquire measurement data indicative of a first heat storage capacity profile of the heat distribution network downstream from the location of the heat generator, to generate the first heat storage capacity profile on the basis of the measurement data and transmit the first heat storage capacity profile to a server computer, to acquire information on a first heat demand of the heat distribution network downstream from the location of the heat generator, and to employ the first heat storage capacity profile when controlling the outlet flow of the heat stream from the heat generator to meet the first heat demand; a second controller configured for controlling an outlet flow of the heat stream at a location of a regional substation of a heat distribution network, downstream of the location of the heat generator and the regional substation arranged to supply heat distribution centres (120, 122) of real estates, configured to acquire measurement data indicative of a second heat storage capacity profile of the heat distribution network downstream from the location of the regional substation, to generate the second heat storage capacity profile on the basis of the measurement data and transmit the second heat storage capacity profile to the server computer, to acquire information on a second heat demand of the heat distribution network downstream from the location of the regional substation, and to employ the second heat storage capacity profile when controlling the flow of the heat stream to meet the second heat demand; and a third controller (304, 306) configured for controlling flow of the heat stream at a further location, downstream of the location of the regional substation, configured to acquire measurement data indicative of a third heat storage capacity profile of the heat distribution network downstream from the further location, to generate the third heat storage capacity profile on the basis of the measurement data and transmit the third heat storage capacity profile to a server computer, to acquire information on a third heat demand of the heat distribution network downstream from the further location, and to employ the third heat storage capacity profile when controlling the flow of the heat stream to meet the third heat demand, wherein the third controller is configured to control heating of one or more rooms in a real estate that is a site to be heated. a first controller configured for controlling an outlet flow of the heat stream at a location of a heat generator of a heat distribution network, configured to acquire measurement data indicative of a first heat storage capacity profile of the heat distribution network downstream from the location of the heat generator, to generate the first heat storage capacity profile on the basis of the measurement data and transmit the first heat storage capacity profile to a server computer, to acquire information on a first heat demand of the heat distribution network downstream from the location of the heat generator, and to employ the first heat storage capacity profile when controlling the outlet flow of the heat stream from the heat generator to meet the first heat demand; a second controller configured for controlling an outlet flow of the heat stream at a location of a regional substation of a heat distribution network, downstream of the location of the heat generator and the regional substation arranged to supply heat distribution centres (120, 122) of real estates, configured to acquire measurement data indicative of a second heat storage capacity profile of the heat distribution network downstream from the location of the regional substation, to generate the second heat storage capacity profile on the basis of the measurement data and transmit the second heat storage capacity profile to the server computer, to acquire information on a second heat demand of the heat distribution network downstream from the location of the regional substation, and to employ the second heat storage capacity profile when controlling the flow of the heat stream to meet the second heat demand; and a third controller (304, 306) configured for controlling flow of the heat stream at a further location, downstream of the location of the regional substation, configured to acquire measurement data indicative of a third heat storage capacity profile of the heat distribution network downstream from the further location, to generate the third heat storage capacity profile on the basis of the measurement data and transmit the third heat storage capacity profile to a server computer, to acquire information on a third heat demand of the heat distribution network downstream from the further location, and to employ the third heat storage capacity profile when controlling the flow of the heat stream to meet the third heat demand, wherein the third controller is configured to control heating of one or more rooms in a real estate that is a site to be heated.