The challenge in integrating solar thermal energy into district heating systems is to do it in an economically and ecologically efficient way.