Manuscript Offprint
arXiv:2611.26441Should Belgians Install an Advanced Energy Management System in Their Electrified Dwelling ?
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Conference: The 13th ACM International Conference on Systems for Energy-Efficient Buildings, Cities, and Transportation; June 22–25, 2026; Banff, AB, CanadaThe 13th ACM International Conference on Systems for Energy-Efficient Buildings, Cities, and Transportation (BuildSys ’26), June 22–25, 2026, Banff, AB, CanadaDOI: 10.1145/3744256.3812575ISBN: 979-8-4007-2012-3/2026/06CCS: Applied computing EngineeringCCS: Applied computing Command and control
© cc

Figure 1. 1 Rue de la Paix, Ville-Basse, Charleroi, Belgium (Jmh2o, 2020).A residential street in Charleroi, Belgium, showing a mix of dwellings.
Abstract.
As dwellings electrify and more complex electricity pricing spreads in Belgium, the question arises: What are the potential benefits of installing an advanced energy management systems in an electrified Belgian dwelling ?
To answer this question, we simulate 500 representative Belgian dwellings in which fossil systems are replaced by controllable electric technologies: space heating via air-to-air heat pumps, domestic hot water via electric boilers, and private transport via electric vehicles with home chargers. Photovoltaic systems are assigned according to current adoption rates.
We evaluate two advanced energy management systems (EMS): model predictive control (MPC) and TreeC, a machine learning method using decision trees to model the EMS strategy. These are compared to a rule-based controller (RBC) that mimics default operation and an MPC with perfect forecasts (MPC P) as an upper bound. Performance for these EMSs is assessed for 2023 under a real contract with hourly prices and a monthly peak tariff.
Average annual savings versus RBC are 82.5 €, 116.6 €, and 177.4 € for TreeC, MPC, and MPC P, respectively. All EMSs deliver similar thermal comfort (26–31 Kh). MPC saves more, while TreeC achieves higher EV charge completion (93.3% vs 88.8% for MPC, with a max charge of 95%) and a smoother aggregate load across the 500 dwellings. Savings remain modest relative to EMS purchase (280–680 €) and subscription (0–360 €/year) costs which is not favourable towards widespread adoption.
The data and code to reproduce this study are available at https://github.com/EVERGi/should_belgians_install_advanced_ems_paper.
Keywords:
energy management system, machine learning, decision tree, model predictive control, demand response
This study aims to answer this question by simulating a set of representative Belgian dwellings which have been electrified and are subject to dynamic pricing and grid peak tariffs. The electrification of the dwellings is achieved by replacing the traditional heating systems with air-to-air heat pumps, adding domestic electric vehicle (EV) chargers due to the replacement of petrol cars with EVs, and replacing gas water heaters with electric water heaters. Other dwelling characteristics such as the presence of photovoltaic (PV) panels, insulation level, and construction type are kept close to current Belgium situation according to the most recent statistics we could find. Real-world datasets are used for base electricity consumption, domestic water usage, EV charging sessions, PV production, weather data, and electricity tariffs. Two years of data (2022 for training, 2023 for evaluation) are used, reflecting a realistic scenario where a household adopts an energy management system (EMS) in January 2023 based on data from the previous year. Home batteries are excluded from the analysis, as their adoption remains limited in Belgium. According to available statistics, about 3% of dwellings had a home battery in 2024 (van Gastel, 2025). Replacing gas boilers with heat pumps and petrol cars with EVs when necessary is essential for reducing fossil fuel use, while the case for home batteries is less evident.
This study compares three distinct EMS strategies: rule-based control (RBC), which mimics the default operation of residential energy assets; model predictive control (MPC), a state-of-the-art optimization-based approach; and TreeC, a machine learning-based method that models EMS strategy as decision trees. In addition to these realistic EMSs, a model predictive control EMS with perfect forecast (MPC P) is also compared to show a maximum performance an EMS could technically achieve.
Buying a home EMS from a professional installer is advertised as costing between 280 € and 680 € with some additional subscription costs ranging between 0 € and 360 € per year (Maak Je Meter Slim, 2025). An EMS can be implemented cheaper using for example Home Assistant and the additional EMHASS module (Home assistant, 2025; davidusb-geek, 2025) for which the basic hardware costs close to 100 € but requires some technical knowledge to set up and configure. To these basic costs can be added the maintenance, expensive compatible equipment and additional necessary sensors.
This study addresses the following research questions for a representative set of electrified Belgian dwellings:
- What are the benefits of EMSs like TreeC and MPC compared to a simple RBC in terms of cost savings, thermal comfort and EV charging satisfaction ?
- How much can algorithmic improvements realistically improve these benefits ?
- What is the influence of different dwelling characteristics on cost savings ?
2. Case description: set of 500 representative electrified Belgian dwellings
This section resumes the important aspects of the 500 representative electrified Belgian dwellings which is further detailed in section A of the appendix . The electricity cost used in this study is extensively described in this section, as it is a key component to understand the results and can be complex for readers not familiar with the Belgian context.
2.1. Dwelling generation, data sources and simulation models
Each dwelling is first assigned a set of characteristics (such as region, number of rooms, and insulation level) based on the latest available Belgian statistics (see section A.1). Using these characteristics, a simulation model is created for each dwelling, incorporating real-world data sources (see sections A.2, A.6, A.4, A.5 and A.3). This process yields 500 unique simulation models, each reflecting its own set of characteristics and data inputs. The overall methodology is illustrated by the flow chart in fig. 2.
Of the 500 simulated electrified dwellings, 33.8% are apartments and 66.2% are houses. The average surface area is 89.4 m2 (standard deviation 35.7 m2) (Vanneste et al., 2007). In total, 20.6% have no insulation, 48.6% have partial insulation (roof, wall and/or ground), and 30.8% have full insulation (roof, wall and ground)(Recticel Insulation, 2020). Moreover, 68.9% are assigned an EV charger (Hubert and Toint, 2003), 25.8% have PV panels(Brugel, 2024; Vlaams Energie- en Klimaatagentschap, 2024; Lallemand, 2023), and 10.6% have no central heating so no heat pump and no electric water heater (Statbel, 2021a).
Most characteristics are region-specific. For example, among dwellings located in Brussels, a larger share are apartments than in the other regions. This applies to all characteristics except surface area and number of bedrooms, which depend on the number of rooms in the dwelling instead (Vanneste et al., 2007; Meireles et al., 2022). Hot water consumption is also correlated with the number of bedrooms (Meireles et al., 2022). Apart from this, the characteristics and real-world data are sampled independently, since no data on additional correlations was found in the used refferences.
The whole simulation methodology, including datasets used and building models, is described in detail in section A of the appendix1.
The authors acknowledge limitations of the methodology, including the use of EV charging behaviour data from Norway (Sørensen et al., 2024) and the dwelling surface area being independent of PV system size. These limitations arise because credible sources to quantify specific correlations between characteristics were not found, or because no openly accessible dataset was available for the Belgian context. Nevertheless, the methodology relies on the best available data to our knowledge and is designed to be transparent and reproducible, enabling future improvements as additional data become available.
Applied to all dwellingsRegion Table A.1 (Statbel, 2021a)PV Table A.7 (Brugel, 2024; Vlaams Energie- en Klimaatagentschap, 2024; Lallemand, 2023)Garage and car Table A.6 (Hubert and Toint, 2003)Central heating Table A.2 (Statbel, 2021a)Construction type Table A.8 (Vanneste et al., 2007)Insulation level Table A.9 (Recticel Insulation, 2020)Num. rooms Table A.3 (Statbel, 2021b)Surface area Table A.5 (Vanneste et al., 2007)Num. bedrooms Table A.4 (Meireles et al., 2022)Electric consumptionProfile data: Schlemminger et al. (2022)PV Profile data:
(PVOutput.org, 2025)EV and charger EV profile data: Sørensen et al. (2024) Battery model: Equation (A.3)Inputs into:
(Horowitz et al., 2024)Output: Thermal model (.idf)Building and heat pumpThermal model (.idf)+Brussels weather data (.epw) +
(Crawley et al., 2001) Average hot water use from num. bedrooms (Meireles et al., 2022) +Water consumption data:Athanasiou et al. (2014)Output: Hot water profileDomestic hot waterHot water profile+Water heater model:Equations (A.1) and (A.2)EV charger:Power setpointHeat pump: Heating and cooling temperature setpointsWater heater:Power setpointDwellingsimulation
Figure 2. Flow chart of this study’s methodology to simulate a dwelling. Blue nodes represent the sampled characteristics of the dwelling with associated tables and sources (section A.1), orange nodes represent the data and simulation models used for each part of the dwelling (sections A.2, A.6, A.4, A.5 and A.3), green nodes represent the possible control actions of the assets (section 3), and the red node is the dwelling simulation that combines everything together.Flow chart illustrating the methodology for simulating a dwelling. The chart is divided into four main sections: dwelling characteristics (blue nodes), data and simulation models (orange nodes), asset management (green nodes), and the dwelling simulation (red node). Each section contains specific components, such as region, PV, garage, central heating, construction type, insulation level, number of rooms, surface area, number of bedrooms, electric consumption profile, PV profile, EV and charger profile, thermal and heat pump model, domestic hot water model, and control actions for EV charger, heat pump, and water heater. Arrows indicate the flow of information and connections between these components, demonstrating how they interact to create a comprehensive dwelling simulation.
2.2. Electricity cost
The real-time pricing used in this study is based on a one-year dynamic contract of a major Belgian energy supplier, as if it were taken in January 2023. The total cost is composed of four costs with different pricing mechanisms: the day-ahead cost, the offtake extras cost, the peak cost and the fixed yearly cost.
The day-ahead cost depends on the prices of eqs. 1 and 2.
where:
| [€/kWh] | Offtake price at time step |
|---|---|
| [€/kWh] | Injection price at time step |
| [€/kWh] | Belgian day-ahead hourly price at time step |
A value-added tax of 6% is added to the offtake price when it is positive. Extra costs that occur for energy taken from the grid for transport, distribution and taxes are calculated together and labelled as offtake extras cost. The offtake price for all these additional offtake costs is 0.079 €/kWh.
The monthly peak offtake cost is calculated by eq. 3.
where:
| [€/kW] | Peak price (used: 3.66 €/kW) |
|---|---|
| [kWh] | Energy taken from the grid at time step |
| Set of time steps in month | |
| [h] | Length of time step |
This cost adds a penalty to the highest offtake power measured over any 15 minute time step within each month. The offtake energy is divided by the length of a time step to obtain the power in kW. A minimum monthly peak power of 2.5 kW is enforced in the cost, even if the measured peak power is lower.
The monthly peak offtake cost, otherwise called capacity tariff, is a pricing mechanism applied to all residential consumers equipped with a digital meter in the Belgian region of Flanders. The goal is to incentivize consumers to lower their peak offtake power from the grid.
Finally, part of the electric bill is a fixed yearly cost of 115.23 € per year.
The total electricity cost is calculated by eq. 4.
where:
| Set of all time steps | |
|---|---|
| Set of all months |
3. Asset management
The three controllable assets, when present in the dwelling, are the air-to-air heat pump, the water heater and the EV charger.
Every simulation is run for a period of one year with a time step of 15 minutes as this is the time period used to calculate the peak electricity cost in Belgium (see eq. 3). The EMS can change at each time step the cooling and heating temperature set points of the heat pump, the electric power of the water heater and the charge power of the EV charger.
3.1. Heat pump control
The heat pump operates within a default comfort range. If the indoor temperature is outside the comfort range, the heat pump will bring the indoor temperature back to the comfort range. The EMS can set a heating or cooling temperature set point within this comfort range.
Based on different studies, Peeters et al. (2009) established usable comfort ranges for the different rooms of a residential building.
The comfort range depends on the reference external temperature which is based on the minimum and maximum temperatures of the current and the last three days as shown in eq. 5.
where:
| Average of the maximum and minimum temperature on day |
|---|
To avoid relying on weather forecasts for , this study uses as a substitute in the calculation. The mean absolute difference in the resulting comfort range is only 0.18 °C (standard deviation 0.24 °C), showing that this simplification has minimal impact while reducing forecast dependency.
Based on , comfort ranges are defined using a width = 5 °C and asymmetry = 0.7, corresponding to 10% predicted percentage of dissatisfied users (Peeters et al., 2009). Two different comfort ranges are used: sleeping and at home. Figure 3 illustrates the comfort ranges for both profiles as a function of the reference external temperature . For an example of how the comfort range evolve throughout a weekend, check fig. 5.
Figure 3. Illustration of the comfort temperature ranges for sleeping and home occupancy profiles as a function of the reference external temperature . The plot covers values from C to C, representing the coldest and warmest reference temperatures observed in Belgium during the 21st century. A line graph showing the comfort temperature ranges for sleeping and home occupancy profiles as a function of the reference external temperature T {e,ref} d. The x-axis represents the reference external temperature ranging from -9°C to 28°C, while the y-axis represents the comfort temperature in °C. Two lines are plotted: one for sleeping comfort range and another for home occupancy comfort range. The sleeping comfort range is lower than the home occupancy comfort range across all reference external temperatures.
Aerts et al. (2013) defines a set of occupancy profiles out of 3 474 Belgian households. The paper finds 7 daily occupancy profiles representative of people’s behaviour which cover 79% of the evaluated households. The occurrence of each profile depends on whether the day is a weekday, Saturday, or Sunday. In these profiles, the household is either at home, absent or sleeping for each time step of the day.
Each dwelling is assigned one of the 7 representative occupancy profiles for the weekdays, Saturdays, and Sundays based on the distribution provided by Aerts et al. (2013). The occupancy profiles are used to determine the comfort range based on whether the household is at home, sleeping, or absent at each time step.
3.2. Water heater control
The hot water tank has a temperature range from 55 °C to 65 °C that it should maintain. These values are the minimum and maximum domestic hot water temperatures from the European, Australian, Canada, Japan and Unites States standards (Fuentes et al., 2018). If the water temperature goes below 55 °C, the water heater will heat the water at maximum power for one 15 minute time step. Whenever the water temperature is above 65 °C, the water heater will not heat the water. Otherwise, the water can be heated between 0 kW and the maximum power of the water heater.
3.3. Electric vehicle charger control
The EV charger is controlled by setting a power between 0 kW and 3.7 kW. Once the required departure state of charge is reached, charging stops. Currently, most EVs do not provide information about their battery’s state of charge (Sørensen et al., 2023). Therefore, in this work, the EMSs are assumed to operate without knowledge of the battery’s state of charge.
For dwellings with an EV charger, two types of simulations are run. In the first, the EMS fully controls EV charging, allowing to assess how well each EMS charges the EV (see fig. 6d). In the second, charging is enforced so the EV always reaches full charge before departure, ensuring a fair cost comparison across EMSs (see figs. 6a, 6b, 7 and 8).
In the enforced scenario, if the EV is not fully charged near departure, the charger switches to 3.7 kW to guarantee a full charge, simulating a driver’s request for a complete charge before leaving.
4. Energy management systems
4.1. Rule-based control
The rule-based control EMS uses simple, predefined strategies for each controllable asset, reflecting typical default operation modes of these assets:
- Heat pump: The heat pump setpoint is determined by obtaining the comfort range for the next 1 hour and 30 minutes. The controller gets the highest lower bound () and the lowest upper bound () during this period and sets the heating and cooling setpoints to these values.
- Domestic water heater: The water heater operates at maximum power for 15 minutes whenever the tank temperature drops below 55 °C.
- Electric vehicle charger: The EV is always charged at the maximum power.
The 1 hour and 30 minute time horizon was selected based on the final results to ensure that the rule-based controller achieves a thermal discomfort level similar to the other EMSs (see fig. 6c).
4.2. Model predictive control
Model predictive control (MPC) is a control strategy that optimizes the operation of controllable assets over a prediction horizon by solving an optimization problem at each time step. The MPC uses a mathematical model of the assets and predicts all necessary parameters such as weather, electricity prices, and energy consumption of non-controllable assets to define the set points for the controllable assets.
This study implements two MPC approaches: a realistic MPC (MPC) and a perfect forecast MPC (MPC P). The realistic MPC is a state-of-the-art control algorithm for EMSs. The perfect forecast MPC serves as an unrealistically performant EMS to indicate an upper EMS performance limit.
The realistic MPC uses realistic forecasts for most parameters and uses a prediction horizon that extends up to when day-ahead prices () are available, that is until midnight of the current day if before 14:00 Central European Time or until midnight of the following day if after 14:00, resulting in a horizon ranging from 10 hours and 15 minutes to 34 hours. MPC P uses a perfect forecast for all parameters and has a fixed prediction horizon of 48 hours.
Both MPC approaches are implemented using the Gurobi solver (Gurobi Optimization, LLC, 2024).
4.2.1. Mathematical model and objective function
The MPC’s model is formulated as a mixed-integer linear program (MILP). The thermal model of the dwellings is approximated using the resistor-capacitor analogy for thermal modelling (Madsen and Holst, 1995; Drgoňa et al., 2020). The water heater and EV charging are modelled using the same equations as the simulation. The constraints aim to not violate comfort ranges and to charge the EV before departure. The objective function minimizes the electricity cost over the prediction horizon. A full description of the MPC’s mathematical model is available in the appendix1 (see section B).
4.2.2. Forecast
The forecasted variables used by the MPC’s model are:
- The outdoor temperature ()
- The solar irradiance ()
- The hot water flow ()
- The arrival time of the EV
- The departure time of the EV
- The charged energy of the EV
- The PV production ()
- The base load consumption ()
MPC P uses the actual future values of all relevant variables over its 48-hour prediction horizon.
For the realistic MPC, all non EV related variables in the next hour are predicted using the most recent value, while subsequent time steps are predicted using values from the preceding 24 hours at the same time of the day.
Predicting the arrival time of an EV is particularly challenging due to the high variability in user behaviour. Therefore, the MPC only assumes that an EV arrives when a new charging session starts. For each new charging session, the departure time and charged energy are predicted using k-Nearest Neighbor (k-NN) (Cover and Hart, 1967) regression as it showed good performance in Genov et al. (2024) to predict departure time and charged energy of EVs. The forecasting features used are the arrival time and week day, the charged energy from the previous charging session, the total connection time of the previous charging session, and the time since the start of the previous charging session. The model is trained on the 2022 charging profile data of the dwelling the MPC is controlling and the k-NN model is retrained with one additional charging session data every time a new charging session is finished during simulation.
To account for prediction errors, if the MPC incorrectly predicts that the EV is fully charged but it remains connected and not fully charged, the MPC will schedule charging at 3.7 kW for the next 2 hours to ensure additional charging. Conversely, if the MPC overestimates the departure time and the enforced charging behaviour was triggered at the previous time step (see section 3.3), then the MPC assumes the EV will be charged at maximum power for the next 2 hours.
4.3. TreeC
TreeC is a machine learning based energy management system that uses a metaheuristic algorithm to generate decision trees that define a control strategy. It evaluates various decision tree strategies on the dwelling’s simulation and selects the best performing one. This yields a tailored and interpretable control policy for each dwelling (Ruddick et al., 2025).
4.3.1. Training process and objective function
The training evaluates different decision tree based EMSs on the 2022 simulation. A particle swarm optimization (PSO) algorithm (Kennedy and Eberhart, 1995) generates and optimizes these trees by selecting splitting features, thresholds, and setpoints for each asset. The trees are pruned to maintain interpretability and reduce overfitting.
The objective function minimizes electricity costs, maintains indoor comfort, and ensures sufficient EV charging.
A full description of the training and objective function is available in the appendix1 (see section C.2).
4.3.2. Decision tree model
The training can select from up to 23 different inputs to use as splitting features in the decision trees. The inputs related to specific assets are not used in the dwellings where the asset is not present.
The inputs are:
- The time of the day
- The day of the week
- The cosine of the day of the year, normalized so that corresponds to December 21st (winter solstice) and to June 21st (summer solstice)
- , the average power of each asset (heat pump, water heater, the EV charger, base load, PV) and total power for the previous time step (6 inputs)
- , the indoor temperature
- , the lower bound of the comfort range for the next time step, in 30 minutes and in 2 hours (3 inputs)
- , the water tank temperature
- , the outdoor temperature
- , the solar irradiance
- , the day-ahead price
- the difference between the maximum and the current price for the next 6, 12 and 24 hours with being the set of future time steps (3 inputs)
- , the difference between the current price and the minimum price for the next 6, 12 and 24 hours with being the set of future time steps (3 inputs)
The TreeC EMS can control the heat pump through three types of setpoints: comfort rule-based, temperature setpoint and adjustment to indoor temperature. The comfort rule-based setpoint in TreeC follows the same logic as in the rule-based controller: it sets the heat pump setpoints for cooling and heating to match the comfort range over a specified time window (see section 4.1). Unlike the rule-based controller, however, TreeC select the length of this time window anywhere from 0 to 12 hours. The temperature setpoint sets the heat pump setpoints for cooling and heating to a fixed temperature between 5, °C and 40 °C. The adjustment to indoor temperature setpoint sets the heat pump’s heating and cooling setpoints relative to the current indoor temperature . For heating, the setpoint is defined as plus a fixed offset; for cooling, as minus a fixed offset. This fixed offset can be selected within the range of C to C.
The TreeC EMS control the water heater and EV charger by setting directly the power of the asset.
4.3.3. Interpretable decision tree
As an example, the TreeC EMS obtained after training for dwelling 1 is presented in fig. 4 as it is the first dwelling with all possible assets present (PV, heat pump, water heater and EV charger).
(a) Heating setpoint
(b) Cooling setpoint
(c) EV charger setpoint
(d) Water heater setpoint
Figure 4. Decision trees for each controllable asset in the TreeC EMS for dwelling 1.Four decision trees showing the control strategies for each controllable asset in dwelling 1. Each tree has nodes representing conditions based on features such as outdoor temperature, day-ahead price, occupancy profile, and tank temperature. The leaves of the trees indicate the setpoints for heating, cooling, EV charger power, and water heater power.
Eight plots showing the operation of different EMSs over a weekend for dwelling 1. The top four plots display the power consumption and production of each asset, with the total grid connection power indicated in black. The four lower plots illustrate the day-ahead electricity prices, the state of charge of the connected EV, the water heater's tank temperature, and the indoor temperature for each EMS. The RBC EMS charges the EV at maximum power, while TreeC charges at a lower power to avoid peaks but still ensures full charge. MPC fails to fully charge the EV due to incorrect forecasting, while MPC P effectively utilizes excess PV production and low prices for charging. The water heater and heating strategies vary among EMSs based on electricity prices and PV production.
Figure 5. Illustration of the operation of the different EMSs over the weekend of 18-19 March 2023 for dwelling 1. The top four plots show the stacked power consumption and production of each asset, with the total grid connection power indicated in black. The four lower plots show the day-ahead electricity prices, the state of charge of the connected EV, the water heater’s tank temperature, and the indoor temperature for each EMS. Eight plots showing the operation of different EMSs over a weekend for dwelling 1. The top four plots display the power consumption and production of each asset, with the total grid connection power indicated in black. The four lower plots illustrate the day-ahead electricity prices, the state of charge of the connected EV, the water heater's tank temperature, and the indoor temperature for each EMS. The RBC EMS charges the EV at maximum power, while TreeC charges at a lower power to avoid peaks but still ensures full charge. MPC fails to fully charge the EV due to incorrect forecasting, while MPC P effectively utilizes excess PV production and low prices for charging. The water heater and heating strategies vary among EMSs based on electricity prices and PV production.
The decision tree is interpretable for each of the set points it controls. For the heating setpoint in fig. 4a, when the outdoor temperature is cold (below 4.8 °C), the EMS is precautious and matches the comfort range for the next 12 hours to not incur discomfort, otherwise it matches it for the next 30 minutes as this is more energy efficient. For the cooling setpoint in fig. 4b, when the day-ahead price is considered low enough (below 0.16 €/kWh), the EMS matches the comfort range 7h30 minutes ahead, otherwise it just avoids that the indoor temperature increases too fast. For the EV charger in fig. 4c, the EMS charges between 1.96 kW and 2.27 kW when the occupancy profile is marked as home or sleeping in 30 minutes and at a lower power of 1.19 kW then occupancy profile is absent. The EV charger never charges at full power to avoid peaks. For the water heater in fig. 4d, the EMS heats the water more when the day-ahead price is considered low enough and doesn’t heat at all when the occupancy profile is marked as home or sleeping in 30 minutes.
The figures and explanation highlight the interpretability of the TreeC EMS and also illustrate how it can coordinate the operation of different assets. For example, the EV charger tends to charge more when the water heater is not heating, helping to avoid simultaneous power peaks. This is achieved by both controllers using the same occupancy profile feature.
5. Results
Figure 5 shows how the different EMSs operate during the last weekend of winter for dwelling 1. This dwelling is a detached house in Flanders with all assets present: heat pump, water heater, EV charger, and PV system. The water heater has a 171 litre tank, the house is partially insulated (roof only), and the PV system has a capacity of 5 kWp. This dwelling was chosen because it is the first with all assets present, and the selected weekend highlights an unsuccessful EV charging session under the MPC EMS.
For the EV charging, RBC charges to the maximum power, TreeC charges at a lower power to avoid peaks but still high enough to ensure the EV is fully charged and MPC P charges the EV using all excess PV production and cheap day ahead prices. MPC however didn’t fully charge the EV before departure. This is because it incorrectly forecasted that the EV would remain connected until 12:30 on the 19th of March, whereas in reality, the EV departed at 18:00 on the 18th of March. Because the day-ahead prices, and therefore injection prices, before 18:00 on the 18th of March were higher than those before 12:30 on the 19th of March, MPC planned to inject excess PV generation on the 18th March and use the excess PV on 19 March to charge the EV. Mathematically this all makes sense, but since the prediction was incorrect, the EV was not fully charged by the time of departure contrary to the other EMSs.
For the domestic hot water, TreeC heats the water tank over almost the entire weekend because the price of electricity is mostly below 0.16 €/kWh (see fig. 4d), MPC and MPC P make more use of the excess PV production to heat the water tank, and RBC keeps the water tank around the lower 55 °C bound.
For heating, all EMSs generally maintain the indoor temperature near the lower bound of the comfort range except for moments where the sun and outdoor temperatures heat the house naturally. MPC and MPC P take advantage of excess PV production to provide additional heating at certain times. RBC starts heating earlier in the morning than the other EMSs, which results in slightly lower energy efficiency.
(a) Yearly cost
(b) Difference with RBC
(c) Thermal discomfort
(d) EV charge completion
Figure 6. Comparison of key performance metrics for the different EMSs: (a) total yearly cost, (b) difference in electricity cost with the RBC EMS, (c) thermal discomfort, and (d) mean departure state of charge for EV charging sessions. For each EMS, violin plots (a) and (b) include 500 dwellings, (c) includes the 447 dwellings with a heat pump, and (d) includes the 344 dwellings with an EV charger. Each violin plot shows the distribution of results across all dwellings. The width of the violin at each value reflects the relative frequency of dwellings with that result. The horizontal dashes within each violin indicate the minimum, mean, and maximum values for each EMS. Four violin plots comparing key performance metrics for different EMSs across multiple dwellings. The first plot shows the total yearly cost, indicating a hierarchy in performance with RBC having the highest costs and MPC P the lowest. The second plot illustrates the difference in electricity cost compared to RBC, showing significant cost reductions for TreeC, MPC, and MPC P. The third plot presents thermal discomfort levels, with all EMSs achieving similar mean discomfort levels but TreeC maintaining lower maximum discomfort. The fourth plot displays the mean departure state of charge for EV charging sessions, highlighting that TreeC outperforms MPC in ensuring higher charge levels at departure. Each plot includes horizontal dashes indicating minimum, mean, and maximum values for each EMS.
(a) PV
(b) EV charger
(c) Insulation
(d) Tank volume
Figure 7. Comparison of EMS performance for different dwelling features: (a) PV presence, (b) EV charger presence, (c) insulation level, and (d) water heater’s tank volume Five subplots comparing EMS performance based on different dwelling features. Each subplot presents violin plots showing the distribution of cost savings relative to the RBC EMS for each feature category. The features analyzed include the presence of PV systems, EV chargers, insulation levels, water heater tank volumes, and the number of assets in the dwelling. Each violin plot illustrates the variability in EMS performance across dwellings with the specified feature, with horizontal dashes indicating minimum, mean, and maximum values for each EMS.
Results in fig. 6 show different metrics to compare EMSs across the 500 dwellings. Figure 6a shows the total yearly cost for each dwelling. The results indicate a hierarchy in performance: the RBC EMS has the highest costs, followed by TreeC, then MPC, with MPC P achieving the lowest costs overall. There is considerable variation in total costs across dwellings, reflecting the impact of factors such as insulation quality, and the presence of EV chargers or PV systems on overall energy consumption.
To provide a clearer comparison of the EMS performance relative to RBC, fig. 6b presents the reduction in total yearly cost for each EMS compared to the RBC EMS. The results show that TreeC achieves a mean cost reduction of 82.5 €, MPC achieves 116.6 €, and the upper bound MPC P achieves 177.4 €. TreeC and MPC rarely achieve a worse cost than RBC, which is likely counteracted by an increase in thermal comfort.
Figure 6(c) shows the thermal discomfort for each EMS with all EMSs achieving similar mean discomfort levels between 26 and 31 Kh. TreeC manages to keep all dwellings below 55 Kh discomfort while the other EMSs have some dwellings with discomforts up to 111 Kh. Overall even 111 Kh can be considered acceptable especially since some dwellings are not insulated at all and this only represents 111 hours in the year when the indoor temperature is 1 °C above or below the comfort range with the rest of the year being within the comfort range.
Figure 6(d) shows the mean departure SOC for the EV charging sessions across all dwellings with an EV charger. The original dataset assumed the departure charging SOC to be 95% for all sessions so it is normal that RBC and MPC P always achieve this value. For this particular metric TreeC performs better than MPC achieving a mean of 93.3% departure SOC compared to 88.8% for MPC. This shows that TreeC is able to charge the EV more effectively than MPC but the average departure SOC does not always give a complete representation of the charging performance.
Figure 7 shows the impact of different dwelling features on the EMS performance. Most results are as expected: fig. 7a shows that an EMS makes better improvements when the dwelling has a PV system, fig. 7b shows the same for EV chargers and figs. 7(c) and 7(d) shows the same for central heating.
Interestingly fig. 7c shows that more insulation has negative impact on the EMSs improvement compared to RBC. This is certainly because dwellings with more insulation have a lower energy consumption and therefore the EMSs have less opportunity to reduce costs. For the water tank size, fig. 7d shows a positive correlation between the tank size and the EMS performance.
To understand better how the EMSs achieve cost reductions, fig. 8 breaks down the savings by cost component.
Only minimal savings are achieved in the offtake extras costs related to energy efficiency. This is expected, as the RBC is already quite energy efficient for water and space heating. Efficiency gains can be realized by directly consuming electricity from PV, but 74.2% of dwellings do not have a PV system.
MPC and MPC P achieve significant cost saving in the day-ahead costs, this is the main cost component that gives these methods their edge over TreeC. This can be explained by MPC based techniques having perfect hourly knowledge of the future day-ahead prices and being able to schedule assets based on these prices more effectively than TreeC which relies on incomplete knowledge of the future prices and a less sophisticated decision tree control model.
Box plots breaking down cost savings relative to the RBC EMS for each cost component: offtake extras costs, day-ahead costs, and peak costs. Each box plot summarizes the distribution of cost savings across 500 dwellings for each EMS. The offtake extras costs improvement shows minimal savings, indicating limited gains in energy efficiency. The day-ahead costs improvement highlights significant savings achieved by MPC and MPC P, reflecting their superior hourly price optimization capabilities. The peak costs improvement indicates that TreeC slightly outperforms MPC in reducing peak grid power consumption. Each box plot includes horizontal lines representing the median, interquartile range, and potential outliers for each EMS.
Figure 8. Breakdown of cost savings relative to the RBC EMS for each cost component defined in eq. 4. Offtake extras costs improvement reflects better energy efficiency, day-ahead costs improvement reflects better hourly price optimization, and peak costs improvement reflects reductions in peak grid power. Each box plot summarizes the results across the 500 dwellings.Box plots breaking down cost savings relative to the RBC EMS for each cost component: offtake extras costs, day-ahead costs, and peak costs. Each box plot summarizes the distribution of cost savings across 500 dwellings for each EMS. The offtake extras costs improvement shows minimal savings, indicating limited gains in energy efficiency. The day-ahead costs improvement highlights significant savings achieved by MPC and MPC P, reflecting their superior hourly price optimization capabilities. The peak costs improvement indicates that TreeC slightly outperforms MPC in reducing peak grid power consumption. Each box plot includes horizontal lines representing the median, interquartile range, and potential outliers for each EMS.
For the peak cost component, TreeC slightly outperforms MPC. During training, TreeC learns to minimize peak costs by coordinating asset operation and selecting lower power setpoints, thereby avoiding large simultaneous peaks. While MPC also attempts to coordinate assets to reduce peaks, prediction errors can occur due to forecast or model inaccuracies and result in unexpected peaks, which may explain its lower performance compared to TreeC in this area.
Line plot showing the yearly mean of total grid power consumption for 500 dwellings across different EMSs for each time step of the day. The plot includes lines for each EMS (RBC, TreeC, MPC, MPC P) and a line representing the mean day-ahead electricity prices for 2023. The x-axis represents the time of day in hours, while the y-axis indicates the total grid power consumption in kW. The plot illustrates how each EMS manages grid power consumption throughout the day in relation to electricity pricing.
Figure 9. Yearly mean of the total grid power consumption of the 500 dwellings for each time step of the day. Each EMS is represented as well as the mean day-ahead electricity prices () for the year 2023. Line plot showing the yearly mean of total grid power consumption for 500 dwellings across different EMSs for each time step of the day. The plot includes lines for each EMS (RBC, TreeC, MPC, MPC P) and a line representing the mean day-ahead electricity prices for 2023. The x-axis represents the time of day in hours, while the y-axis indicates the total grid power consumption in kW. The plot illustrates how each EMS manages grid power consumption throughout the day in relation to electricity pricing.
Another relevant aspect to consider is how the peak and hourly day-ahead costs influence the total grid power consumption of the 500 dwellings. Figure 9 shows on 24 hours the mean total grid power for each EMS. The MPC and MPC P EMSs show almost identical average behaviour. Overall TreeC and the MPC EMSs consume more than RBC during hours with lower day ahead prices, and all manage reduce the evening RBC total peak. However, the MPC EMSs show a clear peak for the last time step of the hours between 04:00 and 08:00 and between 14:00 and 18:00 which are the times the dwelling heat up to reach a higher comfort temperature. This is because the MPC EMSs calculates that it is better to heat the dwelling at the last time step of the hour to gain advantage of the low day-ahead price of that hour and at the same time loose as little as possible of the heat bought at that price. Buying at an earlier time step of that hour would result in more of the bought heat being lost to the exterior. The TreeC EMSs didn’t learn this behaviour and therefore has a much smoother total grid power consumption profile.
The peaks caused by the MPC EMSs are problematic for the grid because: 1) they can cause local congestion, requiring costly grid reinforcement, and 2) the sharp, short-lived spikes in aggregate demand increase intra-hour variability, making grid balancing more challenging for operators. This undermines the intent of hourly pricing signals, which are designed to encourage demand shifting across entire hours rather than concentrating consumption at specific moments within those hours.
6. Discussion
When analysing all the results, TreeC and MPC have their strengths and weaknesses. TreeC is more interpretable (see fig. 4), achieves higher EV charge completion rates, and results in a smoother total grid power consumption profile when all dwellings are equipped with the same EMS. However, MPC obtains more cost reductions, which is arguably the most important metric for evaluating EMS performance.
To improve the cost reduction of TreeC, future work should focus on improving its ability to reduce the day-ahead costs. This can be done by retraining every month the EMS to adapt to the changing day-ahead prices, adding more price related inputs that can be selected by the decision trees, or using more sophisticated action on the leaf nodes of the decision trees. Improving the training time of TreeC through reduced simulation speed, improved training methodology, or transfer learning is also necessary to make it more practical for real-world applications.
Table 1. Mean absolute error (MAE) of two forecasts for the EV charging sessions. Values show the mean and standard deviation of MAE across all dwellings with an EV charger for 2023.
| Forecast method | Predicted value | MAE (Mean Std. dev.) |
|---|---|---|
| K-NN regression | Connection time | 7h14min 4h33min |
| Repeat last | Connection time | 9h14min 5h7min |
| K-NN regression | SOC demand | 12.8% 3.4% |
| Repeat last | SOC demand | 16.4% 5.4% |
The results for MPC P indicate that improved forecasting can enhance both cost savings and EV charge completion. However, accurately predicting EV charging sessions remains challenging due to the high variability observed in table A.11 and the substantial mean absolute errors (MAE) for both k-NN regression and "repeat last" forecasts in table 1 exceeding 7 hours for connection time and 12% for SOC demand. To address this, future work should consider multi-scenario or stochastic MPC approaches that explicitly account for the uncertainty in EV charging behaviour, as conventional forecasting methods struggle with this aspect.
The mean annual savings compared to the RBC EMS are 82.5 € for TreeC, 116.6 € for MPC, and 177.4 € for MPC P. These savings are relatively modest compared to the cost of buying, installing, maintaining, and subscription fees of current home EMS solutions on the market (between 280 € and 680 € to buy and 0 € and 360 € per year for subscription fees (Maak Je Meter Slim, 2025)). Specific cases can justify an EMS implementation as the results do show some cost reduction going up to 464 € are possible, but these are not the norm.
The results of MPC P also suggest that algorithmic improvements alone are unlikely to yield significantly greater benefits than the 177.4 € mean cost reduction.
The code and data for this study are open-source, enabling other researchers to benchmark their EMS solutions in the same context. All materials are available at: https://github.com/EVERGi/should_belgians_install_advanced_ems_paper.
In addition to algorithmic advances, several external factors could improve the commercial attractiveness of advanced EMSs:
- More volatility in electricity prices. Having more extreme low and high prices would increase the potential savings of shifting consumption towards low price periods.
- Allowing participation in balancing markets. This would create additional revenue streams for households providing flexibility to the grid.
- A wider adoption of home batteries. The additional flexibility provided by batteries could increase the potential savings from advanced EMSs.
- Wider adoption of standardized protocols in large electrical appliances. Standardization would lower EMS integration costs by making it easier to connect and control devices, potentially allowing simple plug-and-play EMS installation.
7. Conclusion
This study presented a comparison of three EMSs for electrified residential buildings in Belgium: a rule-based controller, a model predictive control EMS, and a decision tree-based EMS called TreeC. The study evaluated the performance across one year simulations of 500 dwellings with characteristics representative of current Belgian dwellings but where the fossil fuel based assets for heating, hot water and car transportation are replaced by electric equivalents.
On average, TreeC and MPC achieved cost reductions of 82.5 € and 116.6 €, respectively, compared to the RBC EMS, which had a mean total cost of 2021 €. MPC obtained better cost reduction but worse EV charge completion with an average of 88.8% SOC at departure compared to 93.3% for TreeC with a full charge set at 95% SOC. The total power consumption of the 500 dwellings together obtained large volatility from one time step to the next when all dwellings use MPC, while TreeC obtained a smoother total power consumption profile.
The main recommended improvement for TreeC is to enhance its ability to reduce hourly day-ahead costs. This could be achieved by retraining the EMS more frequently to adapt to changing electricity over time or by making the decision tree model more responsive to hourly price signals. For MPC, future work should focus on addressing the uncertainty in EV charging sessions, for example by adopting stochastic or multi-scenario MPC approaches.
The results show that TreeC and MPC performed better than RBC in terms of cost for dwellings with PV systems, with EV chargers, and with larger water tanks, which is expected, it also worked better for dwellings with less insulation which is a less intuitive result. Nonetheless, compared to the default rule-based operation of assets (RBC), advanced EMSs offer modest cost savings on average (82.5 € and 116.6 €) that generally do not justify the investment (280–680 €) and maintenance costs (0–360 € subscription costs per year) of the current available commercial options (Maak Je Meter Slim, 2025). Further algorithmic improvements are unlikely to deliver significantly greater benefits than a mean cost reduction of 177.4 € achieved by the MPC with perfect forecast (MPC P) EMS. Increasing the potential cost savings, and thus the attractiveness of advanced EMSs, could be achieved by modifying electricity pricing structures, enabling participation in flexibility markets, reducing EMS investment and maintenance costs, or integrating home batteries.
Acknowledgements.
This work has been supported by the ECOFLEX project funded by the FPS economy, S.M.E.s, Self-employed and Energy, Belgium and by the Flemish Government and Flanders Innovation & Entrepreneurship (VLAIO) through the Flux50 project LEVEL (HBC.2025.0421).
References
Dorien Aerts, Joeri Minnen, Ignace Glorieux, Ine Wouters, and Filip Descamps. 2013. Discrete Occupancy Profiles From Time-use Data For User Behaviour Modelling In Homes. In Building Simulation 2013 (Building Simulation, Vol. 13). IBPSA, 2421–2427. doi:10.26868/25222708.2013.1273
S. Athanasiou, T. Staake, T. Stiefmeier, C. Sartorius, J. Tompkins, and E. Lytras. 2014. DAIAD: Open Water Monitoring. Procedia Engineering 89 (Jan. 2014), 1044–1049. doi:10.1016/j.proeng.2014.11.223
Francesco Biscani and Dario Izzo. 2020. A Parallel Global Multiobjective Framework for Optimization: Pagmo. Journal of Open Source Software 5, 53 (Sept. 2020), 2338. doi:10.21105/joss.02338
Brugel. 2024. Énergies Renouvelables En Région de Bruxelles-Capitale. https://liens.brugel.brussels/PackSER
Car Pass. 2025. Rapport annuel 2024. Technical Report. https://www.car-pass.be/fr/blog/car-pass-jaarverslag-2024
Thomas Cover and Peter Hart. 1967. Nearest Neighbor Pattern Classification. IEEE Transactions on Information Theory 13, 1 (Jan. 1967), 21–27. doi:10.1109/TIT.1967.1053964
Drury B. Crawley, Linda K. Lawrie, Frederick C. Winkelmann, Walter F. Buhl, Yu Joe Huang, Curtis O. Pedersen, Richard K. Strand, Richard J. Liesen, Daniel E. Fisher, Michael J. Witte, and Jason Glazer. 2001. EnergyPlus: Creating a New-Generation Building Energy Simulation Program. Energy and Buildings 33, 4 (April 2001), 319–331. doi:10.1016/S0378-7788(00)00114-6
davidusb-geek. 2025. Energy Management for Home Assistant. https://github.com/davidusb-geek/emhass
P. S. Dolan, Mohammad Hashem Nehrir, and Victor Gerez. 1996. Development of a Monte Carlo Based Aggregate Model for Residential Electric Water Heater Loads. Electric Power Systems Research 36, 1 (Jan. 1996), 29–35. doi:10.1016/0378-7796(95)01011-4
Ján Drgoňa, Javier Arroyo, Iago Cupeiro Figueroa, David Blum, Krzysztof Arendt, Donghun Kim, Enric Perarnau Ollé, Juraj Oravec, Michael Wetter, Draguna L. Vrabie, and Lieve Helsen. 2020. All You Need to Know about Model Predictive Control for Buildings. Annual Reviews in Control 50 (Jan. 2020), 190–232. doi:10.1016/j.arcontrol.2020.09.001
Énergie+. 2007. Coefficient de transmission thermique de parois types peu ou non isolées. https://energieplus-lesite.be/theories/enveloppe9/coefficient-de-transmission-thermique/valeurs-de-coefficients-de-transmission-thermique-u-de-parois-types/
Energuide.be. 2025. Double Glazing, Triple Glazing or Super-Insulating Glazing – Which Should You Choose? https://www.energuide.be/en/questions-answers/double-glazing-triple-glazing-or-super-insulating-glazing-which-should-you-choose/215/
ENTSO-E. 2025. ENTSO-E Transparency Platform. https://transparency.entsoe.eu/dashboard/show
EurObserv’ER. 2023. 22nd Report on The State of Renewable Energies in Europe. Technical Report. https://www.eurobserv-er.org/22nd-annual-overview-barometer/
EV Database. 2025. Energy Consumption of Full Electric Vehicles. https://ev-database.org/cheatsheet/energy-consumption-electric-car
Elena Fuentes, L. Arce, and Jaume Salom. 2018. A Review of Domestic Hot Water Consumption Profiles for Application in Systems and Buildings Energy Performance Analysis. Renewable and Sustainable Energy Reviews 81 (Jan. 2018), 1530–1547. doi:10.1016/j.rser.2017.05.229
Evgenii Genov, Cedric De Cauwer, Gilles Van Kriekinge, Thierry Coosemans, and Maarten Messagie. 2024. Forecasting Flexibility of Charging of Electric Vehicles: Tree and Cluster-Based Methods. Applied Energy 353 (Jan. 2024), 121969. doi:10.1016/j.apenergy.2023.121969
Gurobi Optimization, LLC. 2024. Gurobi Optimizer Reference Manual. https://www.gurobi.com
Home assistant. 2025. Home Assistant. Home Assistant. https://github.com/home-assistant/core
Scott Horowitz, Joseph Robertson, Yueyue Zhou, Benjamin Park, Noel Merket, and Andrew Speake. 2024. OpenStudio® HPXML Workflow [SWR-25-13]. National Renewable Energy Laboratory (NREL), Golden, CO (United States). doi:10.11578/DC.20241125.4
Jean-Paul Hubert and Philippe Toint. 2003. La Mobilité quotidienne des Belges. Presses universitaires de Namur.
Jmh2o. 2020. Français : Charleroi (Belgique) - Maisons de La Rue de La Paix (Gauche) et Du Boulevard Pierre Mayence (Droite). https://commons.wikimedia.org/wiki/File:Charleroi_-_boulevard_Mayence-rue_de_la_Paix_-_01.jpg
James Kennedy and Russell Eberhart. 1995. Particle Swarm Optimization. In Proceedings of ICNN’95 - International Conference on Neural Networks, Vol. 4. 1942–1948 vol.4. doi:10.1109/ICNN.1995.488968
Caroline Lallemand. 2023. "16% des ménages wallons sont équipés de panneaux solaires, mais les autres technologies vertes sont désespérément à la traîne". Trends-Tendances (Nov. 2023). https://trends.levif.be/a-la-une/developpement-durable/16-des-menages-wallons-sont-equipes-de-panneaux-solaires-mais-les-autres-technologies-vertes-sont-desesperement-a-la-traine/
Jelle Laverge, Marc Delghust, Nathan Van Den Bossche, and Arnold Janssens. 2014. Airtightness Assessment of Single Family Houses in Belgium. International Journal of Ventilation 12, 4 (March 2014), 379–390. doi:10.1080/14733315.2014.11684031
Maak Je Meter Slim. 2025. Alle EMS- Producten. https://maakjemeterslim.be/ems-producten
Henrik Madsen and Jan Holst. 1995. Estimation of Continuous-Time Models for the Heat Dynamics of a Building. Energy and Buildings 22, 1 (March 1995), 67–79. doi:10.1016/0378-7788(94)00904-X
Inês Meireles, Vitor Sousa, B. Bleys, and B. Poncelet. 2022. Domestic Hot Water Consumption Pattern: Relation with Total Water Consumption and Air Temperature. Renewable and Sustainable Energy Reviews 157 (April 2022), 112035. doi:10.1016/j.rser.2021.112035
Oikolab. 2025. Weather Data Downloader. https://weatherdownloader.oikolab.com/app
Leen Peeters, Richard de Dear, Jan Hensen, and William D’haeseleer. 2009. Thermal Comfort in Residential Buildings: Comfort Values and Scales for Building Energy Simulation. Applied Energy 86, 5 (May 2009), 772–780. doi:10.1016/j.apenergy.2008.07.011
Adam P. Piotrowski, Jaroslaw Jan Napiorkowski, and Agnieszka Ewa Piotrowska. 2020. Population Size in Particle Swarm Optimization. Swarm and Evolutionary Computation 58 (Nov. 2020), 100718. doi:10.1016/j.swevo.2020.100718
Riccardo Poli, James Kennedy, and Tim Blackwell. 2007. Particle Swarm Optimization. Swarm Intelligence 1, 1 (June 2007), 33–57. doi:10.1007/s11721-007-0002-0
PVOutput.org. 2025. PVOutput.Org. https://pvoutput.org/
Recticel Insulation. 2020. Baromètre de l’isolation 2020. Technical Report. https://www.recticelinsulation.com/be-fr/barometre-de-lisolation-2020
Julian Ruddick. 2026. How to Effectively Manage the Energy in Residential Systems: Development and Comparison of Methods. Ph. D. Dissertation. doi:10.13140/RG.2.2.13155.41763
Julian Ruddick, Glenn Ceusters, Gilles Van Kriekinge, Evgenii Genov, Cedric De Cauwer, Thierry Coosemans, and Maarten Messagie. 2024. Real-World Validation of Safe Reinforcement Learning, Model Predictive Control and Decision Tree-Based Home Energy Management Systems. Energy and AI 18 (Dec. 2024), 100448. doi:10.1016/j.egyai.2024.100448
Julian Ruddick, Luis Ramirez Camargo, Muhammad Andy Putratama, Maarten Messagie, and Thierry Coosemans. 2025. TreeC: A Method to Generate Interpretable Energy Management Systems Using a Metaheuristic Algorithm. Knowledge-Based Systems 309 (Jan. 2025), 112756. doi:10.1016/j.knosys.2024.112756
Marlon Schlemminger, Tobias Ohrdes, Elisabeth Schneider, and Michael Knoop. 2022. Dataset on Electrical Single-Family House and Heat Pump Load Profiles in Germany. Scientific Data 9, 1 (Feb. 2022), 56. doi:10.1038/s41597-022-01156-1
Åse Lekang Sørensen, Igor Sartori, Karen Byskov Lindberg, and Inger Andresen. 2023. A Method for Generating Complete EV Charging Datasets and Analysis of Residential Charging Behaviour in a Large Norwegian Case Study. Sustainable Energy, Grids and Networks 36 (Dec. 2023), 101195. doi:10.1016/j.segan.2023.101195
Åse Lekang Sørensen, Igor Sartori, Karen Byskov Lindberg, and Inger Andresen. 2024. Electric Vehicle Charging Dataset with 35,000 Charging Sessions from 12 Residential Locations in Norway. Data in Brief 57 (Dec. 2024), 110883. doi:10.1016/j.dib.2024.110883
Statbel. 2021a. Census 2021 - Nombre de Logements Classiques Occupés Selon Le Type de Bâtiment. https://statbel.fgov.be/fr/themes/census/logement/type-de-logement#panel-12
Statbel. 2021b. Census 2021 - Nombre de Logements Selon Le Nombre de Pièces. https://statbel.fgov.be/sites/default/files/files/documents/Census2021/T04_NOR_BE_FR.XLSX
Statbel. 2021c. Census 2021 - Nombre de Logements Selon Le Type de Chauffage. https://statbel.fgov.be/sites/default/files/files/documents/Census2021/T04_TOH_BE_FR.XLSX
V., Sébastien. 2020. Les machines à laver consomment-elles plus l’hiver que l’été ? https://www.engie.be/fr/blog/conseils-energie/impact-temperature-eau-sur-consommation-machine-laver/
Edwin van Gastel. 2025. De harde cijfers | Vorig jaar ruim 19.000 thuisbatterijen geïnstalleerd in Vlaanderen. Solar Magazine (2025). https://solarmagazine.nl/nieuws-zonne-energie/i40059/de-harde-cijfers-vorig-jaar-ruim-19-000-thuisbatterijen-geinstalleerd-in-vlaanderen
Dominique Vanneste, Isabelle Thomas, and Luc Goossens. 2007. Le Logement En Belgique. SPF Economie, Bruxelles. https://dial.uclouvain.be/pr/boreal/object/boreal:107561
VBO FEB and Febiac. 2025. Belgian Mobility Dashboard. https://www.mobilitydashboard.be/
Vlaams Energie- en Klimaatagentschap. 2024. Zonnepanelen in Vlaanderen. https://apps.energiesparen.be/energiekaart/vlaanderen/zonnepanelen
Vlaamse Nutsregulator. 2024. Energieverbruik. https://www.vlaamsenutsregulator.be/nl/energieverbruik
Vlaamse Nutsregulator. 2025. Capaciteitstarief. https://www.vlaamsenutsregulator.be/elektriciteit-en-aardgas/nettarieven/capaciteitstarief
Appendix A Justification for representative set of Belgian dwellings
A.1. Dwelling characteristics
Different statistics were collected to build the set of 500 representative Belgian dwellings. This section goes through each of them giving the source and explanation when necessary. In the following tables, each cell shows the percentage of all dwellings that have both the characteristic specified by the row and the characteristic specified by the column.
To assign characteristics to the 500 representative dwellings, the number of dwellings with each characteristic is calculated by multiplying the relevant percentage by 500. For example, according to table A.1, 10.6% of dwellings are in Brussels, 57.4% in Flanders, and 32.0% in Wallonia, resulting in 53 dwellings in Brussels, 287 in Flanders, and 160 in Wallonia. This establishes the initial pool of unassigned characteristics.
Assignment proceeds sequentially, starting with the most independent characteristic (region), and moving towards the most dependent (number of bedrooms and surface area) as illustrated by fig. 2. For each dwelling, characteristics are sampled randomly from the remaining pool, using any already assigned characteristics as conditional constraints. This process continues until all dwellings have a complete set of characteristics, and the overall distribution matches the target statistics.
The percentage for the number of dwellings per region (table A.1), the presence of central heating (table A.2) and the number of rooms (table A.3) are all obtained from the 2021 Belgian Census which gives the total number of dwellings fitting each characteristic without need for extrapolation (Statbel, 2021a).
The number of bedrooms data from table A.4 comes from an extrapolation of Meireles et al. (2022). The source gives the number of bedrooms of 9 206 Belgian apartments. To fit better to the global Belgian situation with 66% houses (see table A.8), the total proportion of 0 and 1 bedroom dwellings was reduced by 25% and the total proportion of 3 to 6 bedroom dwellings was increased by 47.3% to match the reduction of the 0 and 1 bedroom dwellings. The correlation between the number of bedrooms and the number of rooms is established using common sense with the total bedroom and total room proportions as a constraint (see table A.3). Meireles et al. (2022) indicates that the number of bedrooms in a dwelling is a good indicator of average water consumption. The number of bedrooms is used solely to determine the appropriate hot water consumption profile to assign to the dwelling, as detailed in section A.3.
The surface area data from table A.5 comes from tables IV.24 and IV.28 of Vanneste et al. (2007). Table IV.24 gives the number of dwellings with a certain surface area per region. Table IV.28 gives the number of dwellings with a certain number of rooms per region. The correlation between the number of rooms and the surface area is determined to ensure that the final proportions per region closely match those presented in tables IV.24 and IV.28 of Vanneste et al. (2007).
The garage and car ownership data from table A.6 comes from page 68 of Hubert and Toint (2003). The source gives the proportion of dwellings that have a garage in each region and the proportion of people with a garage that have at least one car. Table A.6 shows the combination of these two proportions, it is used to determine the proportion of dwellings that would have a EV charger in each region.
The PV data from table A.7 comes from different sources for the different regions. The number of photovoltaic installations in Brussels and Flanders comes from Brugel (2024) and Vlaams Energie- en Klimaatagentschap (2024) respectively. For Wallonia, the proportion of dwellings with a PV installation is given by Lallemand (2023).
The construction type data in table A.8 combines two sources: Statbel (2021c), which provides the proportion of houses and apartments in each region, and Figure IV.13 from Vanneste et al. (2007), which details the breakdown of terraced, semi-detached, and detached constructions by region.
The insulation data in table A.9 is based on Recticel Insulation (2020), which reports the proportions of dwellings with roof, wall, and ground insulation in each region. However, the source does not specify the exact overlap between these insulation levels (e.g., how many dwellings have both wall and roof insulation, or all three types). To construct the final table, the following assumptions were made: dwellings with ground insulation also have wall and roof insulation, and dwellings with wall insulation also have roof insulation. This approach ensures that the total proportions match the source data while providing a reasonable estimate of the distribution of combined insulation levels.
Table A.1. Distribution of dwellings per region (Statbel, 2021a)
| Brussels | Flanders | Wallonia |
|---|---|---|
| 10.6% | 57.4% | 32.0% |
Table A.2. Distribution of dwellings with central heating (Statbel, 2021a)
| Brussels | Flanders | Wallonia | Total | |
|---|---|---|---|---|
| With central heating | 10.1% | 51.9% | 27.4% | 89.4% |
| Without central heating | 0.5% | 5.5% | 4.6% | 10.6% |
Table A.3. Distribution of dwellings per number of rooms (Statbel, 2021b)
| Brussels | Flanders | Wallonia | Total | |
|---|---|---|---|---|
| 1 room | 0.3% | 0.5% | 0.4% | 1.2% |
| 2 rooms | 0.8% | 1.6% | 1.0% | 3.4% |
| 3 rooms | 2.1% | 4.6% | 2.5% | 9.2% |
| 4 rooms | 3.2% | 10.0% | 5.1% | 18.3% |
| 5 rooms | 1.8% | 14.0% | 7.4% | 23.2% |
| 6 rooms | 0.9% | 12.6% | 7.1% | 20.6% |
| 7 rooms | 0.5% | 7.3% | 4.1% | 11.9% |
| 8 rooms | 0.4% | 3.6% | 2.3% | 6.3% |
| 9+ rooms | 0.6% | 3.2% | 2.1% | 5.9% |
Table A.4. Distribution of dwellings per number of bedrooms (Meireles et al., 2022)
| Number of rooms | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9+ | Total |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 bedroom | 0.4% | 1.2% | 2.5% | 2.5% | 2.0% | 0.3% | - | - | - | 8.9% |
| 1 bedroom | 0.8% | 2.2% | 5.6% | 5.6% | 4.6% | 1.2% | - | - | - | 20.0% |
| 2 bedrooms | - | - | 1.1% | 8.2% | 12.3% | 10.3% | 5.1% | 2.1% | 2.0% | 41.1% |
| 3 bedrooms | - | - | - | 2.0% | 4.0% | 6.5% | 5.1% | 2.2% | 2.1% | 21.9% |
| 4 bedrooms | - | - | - | - | 0.3% | 2.2% | 1.4% | 1.3% | 1.0% | 6.2% |
| 5 bedrooms | - | - | - | - | - | 0.1% | 0.3% | 0.6% | 0.5% | 1.5% |
| 6 bedrooms | - | - | - | - | - | - | - | 0.1% | 0.3% | 0.4% |
Table A.5. Distribution of dwellings per surface area (Vanneste et al., 2007)
| Number of rooms | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9+ | Total |
|---|---|---|---|---|---|---|---|---|---|---|
| <35m² | 1.1% | 1.7% | 0.9% | - | - | - | - | - | - | 3.7% |
| 35-54m² | 0.1% | 1.0% | 2.8% | 5.5% | 4.6% | 3.1% | - | - | - | 17.1% |
| 55-84m² | - | 0.7% | 3.7% | 7.3% | 7.0% | 5.1% | 1.2% | - | - | 25.0% |
| 85-104m² | - | - | 1.8% | 3.7% | 7.0% | 6.2% | 3.6% | 0.5% | 0.5% | 23.3% |
| 105-124m² | - | - | - | 1.8% | 2.3% | 4.1% | 3.6% | 1.6% | 1.5% | 14.9% |
| >124m² | - | - | - | - | 2.3% | 2.1% | 3.5% | 4.2% | 3.9% | 16.0% |
Table A.6. Distribution of dwellings with a garage and a car (Hubert and Toint, 2003)
| Brussels | Flanders | Wallonia | Total | |
|---|---|---|---|---|
| With garage and car | 3.8% | 42.7% | 22.4% | 68.9% |
| Without garage or car | 6.8% | 14.7% | 9.6% | 31.1% |
Table A.7. Distribution of dwellings with PV installation (Brugel, 2024; Vlaams Energie- en Klimaatagentschap, 2024; Lallemand, 2023)
| Brussels | Flanders | Wallonia | Total | |
|---|---|---|---|---|
| With PV | 0.2% | 19.2% | 6.4% | 25.8% |
| Without PV | 10.4% | 38.2% | 25.6% | 74.2% |
Table A.8. Distribution of dwellings per construction type (Vanneste et al., 2007)
| Brussels | Flanders | Wallonia | Total | |
|---|---|---|---|---|
| Terraced house | 1.3% | 11.7% | 8.4% | 21.4% |
| Semi-detached house | 0.2% | 10.6% | 5.2% | 16.0% |
| Detached house | 0.1% | 18.6% | 10.1% | 28.8% |
| Apartment unit | 9.0% | 16.5% | 8.3% | 33.8% |
Table A.9. Distribution of dwellings by insulation level (Recticel Insulation, 2020)
| Brussels | Flanders | Wallonia | Total | |
|---|---|---|---|---|
| No insulation | 1.3% | 7.8% | 11.5% | 20.6% |
| Roof | 5.6% | 16.5% | 15.5% | 37.6% |
| Wall and roof | - | 10.7% | 0.2% | 10.9% |
| Ground and roof | 0.1% | - | - | 0.1% |
| Ground, wall and roof | 3.6% | 22.4% | 4.8% | 30.8% |
A.2. Dwelling thermal and heat pump models
The thermal models are created using the Openstudio-HPXML workflow (Horowitz et al., 2024). This workflow takes as inputs the various characteristics of the dwelling, in this case construction type, insulation level and surface area, and returns and .idf file containing a detailed thermal model of the dwelling with a properly sized heat pump that can then be used for Energyplus (Crawley et al., 2001) simulations (see fig. 2).
The roof and ground are insulated with an R-value of 6.4 m²K/W and the walls with a value of 7.3 m²K/W following the values from Recticel Insulation (2020). The uninsulated R-values are averages of typical Belgian building constructions: 0.5 m²K/W for the walls, 0.3 m²K/W for the roof and 0.4 m²K/W for the ground, as reported by Énergie+ (2007).
The windows U-values correspond to single glazing (5.8 W/m²K), double glazing (2.8 W/m²K) and triple glazing (0.6 W/m²K) values from Energuide.be (2025).
The air tightness values are taken from Laverge et al. (2014) and correspond to the median air tightness values for Belgian houses:
- Constructed between 1990 and 1995 (9.3 ACH50)
- Constructed between 2007 and 2010 and randomly sampled (5.5 ACH50)
- Constructed between 2006 and 2013 and sampled from engaged owners that reported their air tightness levels (2.9 ACH50)
- With high energy performance (1.4 ACH50)
The link between the insulation level, the window U-values and the air tightness is shown in table A.10.
Table A.10. Window U-values and air tightness values
| Insulation level | Window U-value | Air tightness |
|---|---|---|
| No insulation | 5.8 W/m²K | 9.3 ACH50 |
| Roof | 2.8 W/m²K | 5.5 ACH50 |
| Double insulation | 2.8 W/m²K | 2.9 ACH50 |
| Ground, wall and roof | 0.6 W/m²K | 1.4 ACH50 |
Since only ranges of surface areas are given in the statistics from table A.5, each range is assigned a specific value as input to the Openstudio-HPXML workflow. The surface area is set to 25m2 for the dwellings of <35m2, 150m2 for the dwellings of >124m2 and the average of the upper and lower bounds for the other surface area categories (e.g. 70m2 for the 55-84m2 range).
The dwelling’s heating and cooling are managed by an air-to-air heat pump. This type of heat pump was selected due to its higher sales volume compared to air-to-water and geothermal heat pumps in Belgium (EurObserv’ER, 2023). The heat pump is modelled with a primary heating coil and a primary cooling coil, both operating via a compressor. Additionally, it includes a backup electric resistance heating coil that activates only when the primary heating coil cannot meet the heating demand. The heat pump is also modelled with a resistive defrost heater to prevent ice formation. The heat pump is controllable by setting a heating and cooling set point temperature.
The historical weather data for Brussels is used in all simulations and was downloaded using the Weather Data Downloader from Oikolab (2025). The obtained weather data file is in .epw format.
The simulation is conducted in EnergyPlus using the generated .idf thermal model file and the .epw Brussels weather data file as inputs. Section 3.1 details how the heat pump is controlled during the simulation.
A.3. Domestic hot water
The domestic hot water system is modelled as a storage tank following the equations from Dolan et al. (1996) with a hot water consumption profile extrapolated from the Athanasiou et al. (2014) dataset.
The hot water tank is modelled using the equations presented in eqs. A.1 and A.2:
where:
| [J/K] | tank heat capacity |
|---|---|
| [kg/m3] | water density (1000 kg/m3) |
| [J/kg/K] | specific heat capacity of water (4186 J/kg/K) |
| [m3] | tank volume |
| , , , | intermediate parameters and variables |
| [m2] | tank surface area |
| [m2K/W] | tank insulation -value (used: 10 m2K/W) |
| [m3/s] | water flow rate at time |
| [s] | time step duration |
where:
| [∘C] | mean tank temperature at time |
|---|---|
| [∘C] | ambient room temperature (used: 15 ∘C) |
| [∘C] | inlet (mains) water temperature at time |
| [–] | heater efficiency (used: 1) |
| [W] | heater power at time |
The Athanasiou et al. (2014) dataset comprises two and a half years of hourly water consumption data from 1 007 households in Alicante. Meireles et al. (2022) studied the water consumption of 9 206 Belgian apartments and gave a month dependant ratio between total water consumption and hot water consumption. The mean of the monthly ratios is 32.3% with a standard deviation of 2.5% between the months. The water consumption profiles from the Athanasiou et al. (2014) dataset are converted to hot water consumption profiles by multiplying each month’s data by the corresponding monthly hot-to-total water ratio.
The study also gives statistical links between water consumption and the number of bedrooms in the apartments. A probability distribution is created linking the number of bedrooms to an estimated average hot water consumption in order to link a dwelling with a hot water consumption profile.
To sample the daily hot water consumption given a number of bedrooms in a dwelling, we use an inverse Gaussian distribution. An inverse Gaussian distribution is defined by its mean, shape and location parameters. Each bedroom count gets its own distribution, with the mean value taken directly from Meireles et al. (2022). The study also provides overall statistics (median, standard deviation, skewness, kurtosis) for hot water use across all apartments.
We assume the same shape and location parameters for all distributions. These parameters are fitted so the combination of distributions matches the median value reported in the original dataset. The obtained shape and location parameters are 67.68 and 0 respectively. The resulting probability density functions for each bedroom count are shown in fig. A.1.
The mean and median of the combination of distributions is therefore the same as the original dataset but the standard deviation (77.2 for dataset vs 65.5 for distribution), skewness (61.3 for dataset vs 5.4 for distribution) and kurtosis (11.3 for dataset vs 66.6 for distribution) are still different. Knowing the exact distribution for each bedroom count would require the original data which is not available.
Probability density function of the estimated average daily hot water consumption per number of bedrooms in a dwelling. The mean value of the distribution is indicated by the vertical dashed line.
Figure A.1. Probability density function of the estimated average daily hot water consumption per number of bedrooms in a dwelling. The mean value of the distribution is indicated by the vertical dashed line.Probability density function of the estimated average daily hot water consumption per number of bedrooms in a dwelling. The mean value of the distribution is indicated by the vertical dashed line.
The hot water consumption profile for a dwelling is determined by sampling from the inverse Gaussian distribution that matches the number of bedrooms in the dwelling. The profile selected is the one with the average daily hot water consumption closest to the sampled value.
In addition to the hot water consumption profile, the model from Dolan et al. (1996) need a temperature for the incoming cold water from the mains. Fuentes et al. (2018) established that a sinusoidal function, which provides the mains water temperature as a function of the month is a good approximation. The upper and lower bounds of the sinusoidal function are set to 11 °C and 16 °C respectively (V., Sébastien, 2020).
The water heater is modelled as an electric resistance heater with a heater efficiency () of 1. The volume of the storage tank is three times the expected average daily hot water consumption determined by the number of bedrooms to account for peak consumption periods (so 146 litres for a dwelling with 1 bedroom and 363 litres for a dwelling with 6 bedrooms).
A.4. Electric vehicle charger
The dwellings sampled to have a garage and a car (see table A.6) are equipped with an EV charger. Each simulation uses a real user charging profile, which is a record of every home charging session information that occurred over the year. These profiles are sourced from Sørensen et al. (2024). This dataset includes the arrival time, departure time and charged energy of each charging session of EVs from 267 users charging at 12 residential locations in Norway. The dataset also provides assumed arrival and departure state of charge, battery sizes and maximum charging powers for each charging session (Sørensen et al., 2023). All charging profiles containing more than 600 days of data were included in this study, resulting in a total of 16 profiles. Each dwelling with an EV charger is randomly assigned one of these 16 charging profiles.
Table A.11. Summary statistics of the 16 EV charging profiles used in this study.
| Statistic | Mean | Std. dev. |
|---|---|---|
| Total energy charged per profile per year | 2 414 kWh | 1 464 kWh |
| Number of sessions in a year per profile | 193.6 | 131.2 |
| Session duration across all profiles | 12h16min | 11h12min |
| Session SOC charged across all profiles | 31.7% | 20.0% |
| Std. dev. of session duration per profile | 9h46min | 5h32min |
| Std. dev. of session SOC charged per profile | 17.3% | 2.6% |
Table A.11 summarizes the variability in the EV charging profiles.
On average, each EV charges by 2 414 kWh per year at home. Assuming an EV efficiency of 0.191 kWh/km (EV Database, 2025), this equates to an annual driving distance of 12 638 km. This figure is close to the average yearly travelled distance by Belgian cars of 14 420 km (Car Pass, 2025), especially considering that not all users charge their EV exclusively at home.
On average, each profile has about 194 charging sessions per year, but this number varies widely between users (standard deviation: 131). The typical charging session lasts 12 hours and 16 minutes, with a standard deviation of 11 hours and 12 minutes, showing that some sessions are much shorter or longer than others. The average state of charge (SOC) charged per session is 31.7%, but again, this varies a lot (standard deviation: 20%). Even when looking at individual profiles, the average standard deviation within a user’s sessions remains high at 9 hours and 46 minutes for session duration, and at 17.3% for charged SOC.
In summary, the average charged energy per year across the users is typical for Belgian drivers, and EV charging behaviour is highly variable both between users and from session to session for the same user. This highlights potential challenges in predicting this behaviour for energy management systems.
The model of the charged EV is defined by eq. A.3:
where:
| [–] | State of charge of the EV battery at time |
|---|---|
| [kW] | Power of the charger at time |
| [h] | Time step duration |
| [kWh] | Energy capacity of the battery |
| [–] | Charging efficiency |
The maximum charging power provided in the dataset for the 16 charging profiles is 3.7 kW. We are aware that home chargers in Belgium generally have a higher maximum power (7.4 kW or 11 kW) but we chose to keep the dataset’s maximum charging power because the maximum power of the charger could influence the user’s charging profile unpredictably (e.g. shorter connection times).
The charging efficiency is set to 88% and the departure SOC is always 95% which are the assumptions made by Sørensen et al. (2023) for the dataset.
A.5. Photovoltaic panels
The PV panels are simulated using real Belgian PV production data available on a 5-minute granularity from the PVoutput.org website (PVOutput.org, 2025). A total of 380 PV profiles were downloaded from the website, representing all installations with a capacity below 10 kW that recorded measurements for at least 95% of the days in both 2022 and 2023. Each dwelling with PV panels is randomly assigned a PV profiles from its corresponding region out of the 380 profiles.
A.6. Electricity consumption
The electricity consumptions are simulated using real house electricity consumption profiles available on a 2-minute granularity for houses located in Hamelin, Germany (Schlemminger et al., 2022). The heating and cooling electricity consumption is measured separately from the rest of the electricity consumption, this study only uses the rest of the electricity consumption.
Out of the 38 profiles available in the dataset, this study used the 22 profiles with data available for at least 98% of the time steps for the years 2019 and 2020. Since all missing data must be imputed for the simulation, this threshold ensures that only a minimal amount of data requires imputation.
The 22 consumption profiles have an average annual electricity consumption of 2 833 kWh, with a standard deviation of 862 kWh. For comparison, the average Flemish household consumed 2 534 kWh according to Vlaamse Nutsregulator, while the European average reported by Eurostat is 3 500 kWh (Vlaamse Nutsregulator, 2024). These profiles are therefore reasonably representative of typical household yearly consumption, with the added benefit of being based on real, high-resolution measurements.
A.7. Day-ahead electricity prices
Table A.12 summarizes the electricity prices for the Belgian day-ahead market () from 2020 to 2025. The table highlights significant year-to-year variation. Notably, 2022 stands out as an exceptional year with unusually high prices, whereas 2023 falls within a more typical range observed over recent years.
Table A.12. Electricity prices for the Belgian day-ahead market for years 2020 to 2025. All values are in €/kWh (ENTSO-E, 2025).
| Year | Mean | Std. dev. | Min | Max |
|---|---|---|---|---|
| 2020 | 0.032 | 0.017 | -0.115 | 0.200 |
| 2021 | 0.104 | 0.079 | -0.070 | 0.620 |
| 2022 | 0.245 | 0.135 | -0.100 | 0.871 |
| 2023 | 0.097 | 0.046 | -0.120 | 0.330 |
| 2024 | 0.070 | 0.0430 | -0.140 | 0.566 |
| 2025 | 0.085 | 0.0482 | -0.462 | 0.518 |
Appendix B MPC model
B.1. MPC mathematical formulation
The MPC model is formulated as a mixed-integer linear programming problem.
The dwelling’s thermal model is approximated using the resistor-capacitor analogy for thermal modelling (Madsen and Holst, 1995; Drgoňa et al., 2020). Equation B.1 shows the implementation of this model in the MPC. EnergyPlus does not allow to control the power of the heat pump directly so the control setpoint used is the temperature of the model at the next time step ().
where:
| [J/K] | Thermal capacitance of the dwelling |
|---|---|
| [K] | Indoor temperature at time step |
| [K] | Outdoor temperature at time step |
| [K/W] | Thermal resistance of the dwelling |
| [W] | Thermal power of the heat pump at time step |
| [m²] | Solar aperture |
| [W/m] | Solar irradiance at time step |
The primary heating and cooling coils and the backup heating coil are modelled linearly using a fixed efficiency conversion between the electric power the thermal power as shown in eq. B.2.
where:
| [–] | Efficiency of the heat, cool or backup coil |
|---|---|
| [W] | Electric power of the heat, cool or backup coil at time step |
The total electric power of the heat pump is modelled as the sum of the electric power of the primary heating and cooling coils and the backup heating coil as shown in eq. B.3.
The parameters for the thermal capacitance (), thermal resistance (), solar aperture (), and coil efficiencies (, , ) are calibrated by fitting the MPC model to the detailed simulation results for each dwelling over the year 2022.
When using the accurate simulation values for , , and , the calibrated model from eq. B.1 predicts the indoor temperature for the next time step with a mean absolute error of 0.12 °C (standard deviation 0.14 °C) across all dwellings. This outperforms a naive baseline that assumes the indoor temperature remains constant, which yields a mean absolute error of 0.16 °C (standard deviation 0.31 °C). These results indicate that the simulation’s thermal dynamics are more complex than those captured by the simplified RC model used in the MPC.
The maximum electric power of each heat pump coil is constrained by the maximum capacities defined by the Openstudio-HPXML workflow for the respective dwelling. The MPC model does not include the ventilation consumption and the defrosting coil consumption present in the simulation model.
The indoor temperature is constrained to be within the comfort range defined in section 3.1 for the predicted horizon.
The water heater’s MPC model closely mirrors the simulation model by implementing eq. A.2 and enforcing heating at maximum power for 15 minutes whenever the tank temperature falls below 55 °C. The main difference is that, in the MPC model, the tank temperature is strictly limited to a maximum of 65 °C, rather than allowing it to exceed this value and simply disabling heating in the following time step.
The EV charger is modelled using eq. A.3 for the EV charging and the charging session is constrained to charge a given amount of energy in a given time period. This exactly matches the simulation model of the charger.
The total electric power of the dwelling is the sum of the different assets as shown in eq. B.4.
Overall, the MPC model provides a close approximation of the simulation model.
B.2. Objective function
To calculate the objective function, the energy offtake and injection are calculated using the total electric power following eqs. B.5 and B.6.
Model predictive control uses an adapted version from eq. 4 as its objective function without the yearly cost, which cannot be optimized, and where the peak cost increase is directly reflected on the prediction horizon (see eq. B.7).
where:
| Set of time steps in the prediction horizon | |
|---|---|
| [kW] | Previous grid peak power for that month (minimum 2.5 kW) |
Appendix C TreeC training
C.1. Training process and pruning
The training of TreeC is performed by evaluating the performance of different decision tree based EMSs on the simulation of the year 2022. The enforced charging mechanism described in section 3.3 is not used during the TreeC training simulations to penalize EMSs that do not adequately charge the EV.
Two changes have been made to the original TreeC method described in Ruddick et al. (2025):
- The covariance matrix adaptation evolution strategy was replaced by the metaheuristic algorithm particle swarm optimization (Kennedy and Eberhart, 1995) as it performed better in Ruddick et al. (2024). This study used the canonical particle swarm optimization algorithm (Poli et al., 2007) implementation from pygmo (Biscani and Izzo, 2020).
- After training, the best decision tree is pruned by iteratively removing leaves whose removal does not degrade the objective value by more than 5 € compared to the unpruned tree. This threshold is selected to balance performance and interpretability: it is low enough to avoid sacrificing meaningful cost savings, yet high enough to eliminate leaves that contribute minimally to overall performance. The least used leaves are tested for removal first.
The TreeC EMS is trained in simulation with the particle swarm optimization algorithm over 300 generations and a population of 200 individuals. This means 60 000 decision tree based EMSs are evaluated in simulation on the 2022 training data and the best one is then selected. The population size of 200 was chosen as it obtained better results for the real-world and non-unimodal benchmarks of the IEEE Competitions in Evolutionary Computation compared to the more historically implemented population sizes of 20-50 individuals (Piotrowski et al., 2020). To reduce the risk of converging to a local optimum, five independent EMSs are trained and pruned for each dwelling. The EMS with the best performance among the five is then selected to be evaluated on the 2023 test data.
The TreeC training was performed on a high performance computer composed of Intel® Xeon® Gold, AMD EPYC™ 9384X and AMD EPYC™ 9535 processors. Each training used 100 cores and evaluated 300 000 EMSs (60 000 per metaheuristic optimization 5 to avoid local optimums). On average a training took 5 days and 20 hours to complete with each EMS evaluation taking on average 34 seconds on a single core corresponding to the simulation of the dwelling for one year.
C.2. Objective function
The total electricity cost is calculated using eq. 4.
Discomfort is measured in Kh (Kelvin-hours), which represents how long and by how much the indoor temperature deviates from the comfort range. For example, being 2 °C above the comfort range for 1 hour results in 2 Kh of discomfort.
The discomfort above the upper bound of the comfort range and below the lower bound are calculated using eqs. C.1 and C.2.
where:
| [K] | Indoor temperature at time step |
|---|---|
| [h] | Length of the time step |
| [K] | Upper bound of the comfort range at time step |
| [K] | Lower bound of the comfort range at time step |
The total discomfort cost is calculated by eq. C.3.
where:
| [€] | Discomfort cost |
|---|---|
| [€/Kh] | Penalty weight for discomfort cost (5 €/Kh) |
A discomfort penalty is only applied if the total annual discomfort exceeds 30 Kh, which corresponds to a low level of discomfort over the year. For any discomfort above this threshold, a penalty of 5 €/Kh is imposed, strongly incentivizing the EMS to maintain thermal comfort.
The cost for missed EV charging energy is calculated using eq. C.4.
where:
| [€] | Penalty cost for missed EV charging energy |
|---|---|
| Set of all charging sessions | |
| [kWh] | Missed energy in session |
| [kWh] | Energy corresponding to charging the EV by 5% SOC |
| [€/kWh] | Penalty weight for missed energy up to (0.5 €/kWh) |
| [€/kWh] | Penalty weight for missed energy exceeding (2 €/kWh) |
A missed energy event occurs when the simulated EMS charges less energy than what was originally delivered in the dataset for a given charging session. In other words, it is the shortfall between the original and the actually delivered energy by the EMS.
Missing up to 5% of the EV’s SOC in a charging session is undesirable but not critical, so a moderate penalty of 0.5 €/kWh is applied reflecting an exceptionally high price of electricity (see table A.12). However, missing more than 5% SOC is considered a significant problem, and a much higher penalty of 2 €/kWh is imposed to strongly discourage such outcomes.
The total objective function of the TreeC EMS is calculated by summing the different costs from eqs. 4, C.3 and C.4 as shown in eq. C.5.