I’m operating my heat pump on Octopus Energy Agile tariff, which, for those unfamiliar, is linked to the wholesale price and varies every half hour. I started simply by putting my Ecodan heat pump into timed adaptive control with an off-period between 4pm and 7pm when the high prices occur – this involved no energy-nerdery. However, I’ve slowly made the controls more sophisticated since the beginning of the heating season…. I wrote some code to detect when the Agile tariff went above 30p/kWh and turn the heat setpoint down to 18°C, but then, horror of horrors, we had a Dunkelflaute event in a very cold November week and the Agile price was above 30p/kWh nearly all afternoon – my heat pump ended up running during the most expensive three hours of 2023 (Chart – Old Algorithm)! I wrote some more code to pull the Agile tariff in an hour’s time and boost the room temperature set point in steps of 0.5°C inversely proportional to ambient temperature, then when the actual peak kicks in, the temperature setpoint is dropped to 18°C. Finally, I refined the peak period so that it finds the 6 most expensive half hour periods in the morning and afternoon and pre-boosts before those periods and reduces the setpoint during them.
Linkedin 1st Jan 2024 read more »
