A thermodynamic analysis of a novel bidirectional district heating and cooling network