Thermo-fluid dynamic model of large district heating networks for the analysis of primary energy savings