diff --git a/backend/Property.py b/backend/Property.py index 49dc15d0..0df29405 100644 --- a/backend/Property.py +++ b/backend/Property.py @@ -805,7 +805,7 @@ class Property: :return: """ - current_sap_rating = self.data["current-energy-efficiency"] + current_sap_rating = float(self.data["current-energy-efficiency"]) if needs_rebaselining: current_sap_rating += rebaselining_sap diff --git a/backend/app/assumptions.py b/backend/app/assumptions.py index 97a1df76..19263bb3 100644 --- a/backend/app/assumptions.py +++ b/backend/app/assumptions.py @@ -93,6 +93,8 @@ DESCRIPTIONS_TO_FUEL_TYPES = { "Community scheme with CHP, mains gas": {"fuel": "Natural Gas", "cop": 0.85}, "Air source heat pump, radiators and underfloor, electric": {"fuel": "Electricity", "cop": AVERAGE_ASHP_EFFICIENCY / 100}, + "Electric ceiling heating, radiators, electric": {"fuel": "Electricity", "cop": 1}, + "Boiler and underfloor heating, mains gas, Boiler and radiators, mains gas": {"fuel": "Natural Gas", "cop": 0.85}, } # These are the measure types where if there is a ventilation recommendation, we force the inclusion of it diff --git a/etl/customers/peabody/Nov 2025 Consulting Project/h_reset_estimated_epcs.py b/etl/customers/peabody/Nov 2025 Consulting Project/h_reset_estimated_epcs.py index 9c7b3d2f..d22d0f9e 100644 --- a/etl/customers/peabody/Nov 2025 Consulting Project/h_reset_estimated_epcs.py +++ b/etl/customers/peabody/Nov 2025 Consulting Project/h_reset_estimated_epcs.py @@ -5,7 +5,7 @@ from backend.app.db.connection import db_read_session from backend.app.db.models.portfolio import PropertyModel, PropertyDetailsEpcModel from backend.app.db.models.recommendations import Plan -PORTFOLIO_ID = 431 +PORTFOLIO_ID = 433 with db_read_session() as session: # Get all properties from PropertyDetailsEpcModel, where estimated is True, for portfolio 419