The prices and the expected heating and hot water requirements are then used to automatically control the heat pump and optimise its operation, which contributes to lower energy costs and, in the longer term, to less environmental impact.