Resource-optimised generation dispatch strategy for district heating systems using dynamic hierarchical optimisation. (1st January 2022)