Data informed physical models for district heating grids with distributed heat sources to understand thermal and hydraulic aspects