mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Changing adjusted heat demand to kwh_savings in recommendations model
This commit is contained in:
parent
14450f2b79
commit
53bb74ac4f
3 changed files with 10 additions and 3 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue