19
Does anyone know a way of calculating the energy needed to heat a home/room?
(self.homeassistant)
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
This is effectively what a thermostat does.
The problem is that the controller won't know how well insulated each room is, how cold it is outside (including wind speed), which doors and windows are open and when, what people or devices are doing in each room.
The way thermostats solve this is by creating a closed loop where they react to how the room reacts to their actions.
Depending on how your heaters work you'll likely need some dynamic component to react to these unforeseen changes unless you can live with the temperature being very unstable.
To get a rough idea of how long the heaters will have to run you can look at each room in for the last n days and see if the heater's runtime was long enough to (on average) hold your target temperature. Dividing the average temperature with the target temperature will give you an idea whether they were on for too long or too short. (If the heaters have thermostats you'll likely need to subtract a small amount from that value so that it will settle at the minimum required heating time)
If that value is close to 1.0 you know that on those days the heating time was just about perfect.
Once that is the case you can take the previous days heating time and divide it up over the cheapest hours. The smaller of a value n you choose the more reactive the system will be but it will also get a little more unstable. Depending on your house and climate this system described here might simply be unsuitable for you because it takes too long to react to changes.
There are many other ways to approach this very interesting problem. You could for example try to create a more accurate model incorporating weather and other data with machine learning. That way it could even do rudimentary forecasting.
What you're describing is similar to the approach I've already taken which is reassuring! The problem I've got is that it only really works if the weather's fairly consistent, but the problem I have is that the property I'm in is very old, with fairly naff insulation and huge, single-pane windows that get battered by wind from an open aspect. I think for most people your approach would work well, though.
And, yeah, I don't mind the temperature peaking and troughing for a couple of hours every now and then, but I appreciate that's not for everyone!
If you have such a system up and running already you could try to modify it before ripping it out and starting from scratch.
Borrowing an idea from the machine learning approach you could additionally take the difference in average outside temperature yesterday and the average forecasted outside temperature today. Then multiply that by a weight (the machine learning approach would find this value for you but a single weight can also be found by hand) and subtract it from the target temperature before the division step discussed previously. Effectively saying "you don't need to heat as much today since it will be a little warmer".
I fear that's about all you can do with this approach without massively overcomplicating things.
...you say? 🤔