Does anyone know a way of calculating the amount of heating I need to maintain an average temperature in terms of kWh of heating per 24 hours? Ideally one taking into account weather conditions.

I have a pretty big Home Assistant setup which includes switches for individually controlling all the (electric) heaters in my home. I’m also using an electricity supplier that changes the amount they charge every 30 minutes to reflect supply and demand. Given these rates are published at least 24 hours in advance I can currently choose a number of hours to run the heaters per day and have an automation automatically select the cheapest periods. I’m paying less per kWh for heating than I would if I was using a gas boiler. Plus, it’s all from renewables, so working out that number of hours is the next step.

  • Starfighter@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 months ago

    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.