diff --git a/backend/app/plan/router.py b/backend/app/plan/router.py index 0a29f67c..a4292265 100644 --- a/backend/app/plan/router.py +++ b/backend/app/plan/router.py @@ -620,7 +620,7 @@ async def trigger_plan(body: PlanTriggerRequest): p.set_solar_panel_configuration(unit_solar_panel_configuration) if individual_units: # Model the solar potential at the property level - for unit in individual_units: + for unit in tqdm(individual_units): property_instance = [p for p in input_properties if p.id == unit["property_id"]][0] # At this level, we check if the property is suitable for solar and if now, skip if not property_instance.is_solar_pv_valid(): diff --git a/recommendations/county_to_region.py b/recommendations/county_to_region.py index 7ca86715..f7d5193f 100644 --- a/recommendations/county_to_region.py +++ b/recommendations/county_to_region.py @@ -161,6 +161,9 @@ county_to_region_map = { # Additional mappings requried, based on what we find in the EPC database 'Greater London Authority': 'Inner London', + 'Herefordshire, County of': 'West Midlands', + "North Northamptonshire": 'East Midlands', + "West Northamptonshire": 'East Midlands', # We have a bunch of inner London local authority mappings, which can be used if the county is not found 'Barking and Dagenham': 'Inner London', 'Barnet': 'Inner London', 'Bexley': 'Inner London', 'Brent': 'Inner London', 'Bromley': 'Inner London', 'Camden': 'Inner London', 'City of London': 'Inner London',