Basic principles of the management of district heating networks