A buffer tank stores heat or cold in the form of water so that it can be withdrawn later. This allows heat from solar collectors to be stored, a wood or pellet stove to complete its combustion and, in the case of a heat pump, to reduce the number of start/stops. With a buffer tank, an installation becomes more efficient and the components last longer.