Local and district heating