Context
New residences get their heat demand per residence set equal to the heat demand of residences built 2005–present of the same building type.
Issue
If a dataset has 0 residences of a given residence type from 2005–present, this lookup will either error or return 0 heat demand for the new residences.
Currently not occurring: some datasets do have 0 semi-detached residences from 2005–present, but building new semi-detached residences isn't possible there. Some datasets come close, Rozendaal has only 3 terraced houses from 2005–present.
Steps to reproduce
Not currently reproducible, requires a dataset with 0 residences of a buildable residence type from 2005–present, which doesn't yet exist.
Version: production/2026-09
Proposed solution
Add a fallback for when the 2005–present value is 0 or missing. Possibly default to the nearest available construction period or add a hard coded back-up value.
Context
New residences get their heat demand per residence set equal to the heat demand of residences built 2005–present of the same building type.
Issue
If a dataset has 0 residences of a given residence type from 2005–present, this lookup will either error or return 0 heat demand for the new residences.
Currently not occurring: some datasets do have 0 semi-detached residences from 2005–present, but building new semi-detached residences isn't possible there. Some datasets come close, Rozendaal has only 3 terraced houses from 2005–present.
Steps to reproduce
Not currently reproducible, requires a dataset with 0 residences of a buildable residence type from 2005–present, which doesn't yet exist.
Version: production/2026-09
Proposed solution
Add a fallback for when the 2005–present value is 0 or missing. Possibly default to the nearest available construction period or add a hard coded back-up value.