In order to protect the building heating pipe network, sudden increases and sudden drops in flow should be avoided as much as possible in the control process. Therefore, the objective function in the PSO algorithm was set as: J = Min [q(Tset − Ti)]2 + (r·dG)2 (8) Buildings ...