We are looking at the EPC Wrapper for the Home Energy Model, the python reference code being available here:
Please be aware that the code we are looking at here (November 2026) should not be treated as a definitive representation of the final HEM/HEMIE methodology. This publicly available version is incomplete, remains under development and is subject to change. It should not be relied upon in any way.
The repository's README file makes this clear, stating:
“The EPC wrapper is currently in development and should not be used for any official purpose.”
The comments on this site are of the code at the time of anaylsis.
The comments on this site may be wrong.
Please use your own due diligence and look at the code yourself to confirm anything important.
In the EPC wrapper the Heating System metric is called heat.
The score is dimensionless. In the current implementation, values would typically fall between approximately −0.5 and 1.25, although the formula itself does not impose limits.
The code intends direct electric panels to score around zero, making them the reference point.
The wrapper does not currently assign an A–G band.
The rating is calculated from the main HEM run, using this formula, implemented in [`heat_metric` (line 895)]:
Here’s what those parts mean:
The calculation and intermediate values are in [metrics.py (line 895)].
The baseline emissions intensity provides a reference against which the property's actual heating arrangements are compared. Interestingly, the wrapper doesn't appear to run a second HEM simulation using direct electric panel heating. Instead, it uses the useful heat output calculated during the main assessment and estimates the emissions that would result if this same heat were supplied using direct electric heating.
The heat output includes space heating, hot water delivered at the taps, and estimated useful heat from cooking.
The electricity emissions factor varies by timestep, so heat produced when the grid is more emissions-intensive contributes more to the baseline. The result is an output-weighted average in kgCO₂e per kWh of useful heat.
The calculation is in [`_calculate_baseline_emissions_intensity` (line 690)]. Its timestep factors are loaded from [`emisPEfactors_elec.csv`].
In practice, you would expect the heat rating score to improve with:
|
|
|