The pump is located after the primary heat exchanger within the heating appliance and allows the heated water to be circulated within the closed heating system. In the design of most combination boilers , the pump is often located before the diverter valve to allow circulation through the domestic hot water and CH systems .