District heating and cooling systems. State-of-Charge estimation of thermal energy storage units. Book Chapter