The control system of the district heating system with the use of the heat pump for heating of the heating–system water arriving from combined heat power (CHP) plant is considered. Possibility of PID-controller with gain scheduling utilization with the coefficients changing depending on gas cooler mode of operation for temperature disturbances compensation of direct heating–system water is shown.