The HEM EPC Wrapper is a developing reference implementation and is not intended for use in producing official Energy Performance Certificates. The code remains subject to change, and some elements of the eventual EPC methodology, including recommendation logic and metric band thresholds, are not yet represented in the published version.
The explanations and examples on this page are based on examination of the publicly available repository at the time of writing. They are intended to explore how the current code works, rather than describe a completed or definitive version of the future EPC assessment process.
Energy assessors are familiar with how the basic geometry of a dwelling is represented using the existing methodology.
With RdSAP, each storey in each building part is represented by the following measurements:
HEMIE however does things a little differently, and constructs an individual geometric representation of the dwelling, including individual walls around its perimeter.
In fact, it goes further than simply taking the RdSAP heat loss perimeter and dividing it into external and party wall lengths.
It uses a series of coordinates to describe the building footprint, then derives the dimensions and orientation of individual walls from those coordinates.
This is a closer approach to SBEM (used for non-domestic energy assessments) than the geometry inputs we're accustomed to in RdSAP.
The main file responsible for this is:
hemie/src/hemie/models/storey.py
It defines a Storey class which includes two particularly important inputs:
floorplanceiling_height
The floorplan is defined as a closed ring of coordinates, outlining the footprint of the building part.
For example, the test data includes this example:
"storeys": [
{
"ceiling_height": 2.2,
"floorplan": [
[5, 10],
[0, 10],
[0, 0],
[5, 0]
]
}
]This describes a rectangular footprint measuring 5m × 10m.
The software uses the coordinates to calculate the floor area, rather than requiring the floor area to be supplied separately.
In this example:
5 x 10 = 50 m2
It also requires the coordinates to be arranged in an anticlockwise direction, because the order is used when determining wall orientation.
The next important file is:
hemie/src/hemie/models/building_part.py
This contains a BuildingPart class with two key inputs:
storeys: the footprint and ceiling height for each storey.walls: a list of the individual walls belonging to that building part.
The wall entries contain three particularly important fields:
| Field | Purpose |
|---|---|
floorplan_index |
Identifies which edge of the footprint represents the wall |
storey_index |
Identifies which storey the wall belongs to |
wall_type |
Identifies whether it is external, sheltered, party, etc. |
Rather than entering an external wall length of, say, 10 metres, HEMIE identifies a particular edge of the footprint and determines its length from the coordinates.
The code then calculates three things automatically:
Wall width
The distance between the two coordinates defining the edge.
Wall height
Taken from the ceiling height of the relevant storey.
Wall orientation
Calculated from the direction of the edge relative to the dwelling's reference orientation.
The relevant function is set_wall_dimensions() in building_part.py, around lines 370–388.
It calculates the wall width using edge_length() and its orientation using edge_orientation().
Let's take a look at the supplied test fixture:
hemie/test/fixtures/input_files/end_of_terrace.json
It describes a two-storey property with a 5m × 10m footprint.
The first storey has four edges, and HEMIE assigns the following wall types:
Illustrative ground-floor footprint
The test fixture actually specifies:
| Edge index | Wall type |
|---|---|
| 0 | External |
| 1 | Sheltered |
| 2 | External |
| 3 | Party |
Windows and doors are attached to individual walls.
For example, a wall entry can contain:
The wall's gross area is calculated from:
Area = height x width
The areas of the windows and doors are then deducted to establish the net wall area.
So HEMIE knows not just that the property has a certain amount of glazing, but which wall the glazing belongs to.
This also means that the orientation of the wall can be used when calculating solar gains.
Despite having individual walls around the building perimeter, the version of HEMIE we've examined does not appear to construct a separate geometric model for every room.
The geometry.py file defines a Zone class containing:
The dwelling's internal walls are treated differently from its external walls.
In dwelling.py, around lines 778–817, there is a calculation which estimates internal wall area using:
It then creates an aggregate internal wall element.
In other words, the model has individual external building elements but uses a simplified treatment of internal walls.
I searched the geometry code for how the familiar measurements are handled.
HEMIE calculates the following itself:
| Measurement | How HEMIE obtains it |
|---|---|
| Total floor area | Calculates the area of the storey polygons |
| Ground floor area | Calculates the area of the lowest storey polygons |
| Building length | Derived from the overall footprint |
| Building width | Derived from the overall footprint |
| Building volume | Storey floor area × ceiling height, with additional allowances |
| Floor perimeter | Calculated using qualifying external/sheltered wall edges |
| External wall area | Calculated individually for each wall |
There is a particularly interesting section in building_part.py, around lines 289–309.
It calculates the ground floor perimeter by adding the lengths of the relevant external and sheltered walls.
Party walls are excluded.
So HLP as we currently understand it isn't simply being carried forward as an input. The software derives relevant geometric measurements from the individual building elements.
HEMIE has a facility for multiple building parts.
Each building part can have its own:
This is important because a property doesn't have to be rectangular.
The geometry code uses the Python Shapely library to manipulate polygons and calculate their areas and dimensions.
It also checks for overlapping building parts and handles adjoining building sections.
How are the footprint coordinates obtained? Would the proposed assessment process provide a way of generating them from conventional measurements, or will assessors need to undertake more detailed measurements?
|
|
|