diff --git a/backend/app/db/functions/recommendations_functions.py b/backend/app/db/functions/recommendations_functions.py index b22ce92f..365829e4 100644 --- a/backend/app/db/functions/recommendations_functions.py +++ b/backend/app/db/functions/recommendations_functions.py @@ -80,8 +80,8 @@ def upload_recommendations(session: Session, recommendations_to_upload, property "starting_u_value": rec.get("starting_u_value"), "new_u_value": rec.get("new_u_value"), "sap_points": rec["sap_points"], - "heat_demand": rec["heat_demand"], - "adjusted_heat_demand": rec["adjusted_heat_demand"], + "energy_savings": rec["heat_demand"], + "kwh_savings": rec["kwh_savings"], "co2_equivalent_savings": rec["co2_equivalent_savings"], "total_work_hours": rec["labour_hours"], "energy_cost_savings": rec["energy_cost_savings"], diff --git a/backend/app/db/models/recommendations.py b/backend/app/db/models/recommendations.py index 186f87a8..8ab7908f 100644 --- a/backend/app/db/models/recommendations.py +++ b/backend/app/db/models/recommendations.py @@ -22,7 +22,7 @@ class Recommendation(Base): new_u_value = Column(Float) sap_points = Column(Float) heat_demand = Column(Float) - adjusted_heat_demand = Column(Float) + kwh_savings = Column(Float) co2_equivalent_savings = Column(Float) energy_savings = Column(Float) energy_cost_savings = Column(Float) diff --git a/backend/ml_models/Valuation.py b/backend/ml_models/Valuation.py index 1af38194..b87f156b 100644 --- a/backend/ml_models/Valuation.py +++ b/backend/ml_models/Valuation.py @@ -93,6 +93,13 @@ class PropertyValuation: # Northern Group Pilot - search by going to https://www.zoopla.co.uk/property/uprn/{uprn}/ 10070868263: 194_000, # Based on Zoopla 10070868244: 195_000, # Based on Zoopla + # Places For People Pilot + 200140644: 385_000, + 200140645: 481_000, + 200140646: 372_000, + 200140647: 481_000, + 200140648: 373_000, + 200140649: 373_000, } # We base our valuation uplifts on a number of sources