added labour hours and days to building level costing for solar

This commit is contained in:
Khalim Conn-Kowlessar 2024-07-09 23:24:40 +01:00
parent 53bb74ac4f
commit e12ff81aaa
2 changed files with 7 additions and 2 deletions

View file

@ -1037,13 +1037,13 @@ class Costs:
vat = total_cost - subtotal_before_vat
# Labour hours are based on estimates from online research but an average team seems to consist of 3 people
# and most jobs take around 2 days. Assuming an 8 hour day for 3 people across 2 days, gives us 72 hours of
# and most jobs take around 2 days. Assuming an 8 hour day for 3 people across 2 days, gives us 48 hours of
# labour
return {
"total": total_cost,
"subtotal": subtotal_before_vat,
"vat": vat,
"labour_hours": 72,
"labour_hours": 48,
"labour_days": 2,
}

View file

@ -116,6 +116,9 @@ class SolarPvRecommendations:
# Spread the cost to the individual units - adding a 20% contingency
total_cost = recommendation_config["total_cost"] / n_units
kw = np.floor(recommendation_config["array_warrage"] / 100) / 10
# Default to a weeks work for a team of 3 people doing 8 hour days
labour_days = 5
labour_hours = 3 * 8 * labour_days
description = (f"Install a {kw} kilowatt-peak (kWp) solar photovoltaic (PV) panel system on the roof "
"of the building")
@ -133,6 +136,8 @@ class SolarPvRecommendations:
"sap_points": None,
"already_installed": False,
"total": total_cost,
"labour_days": labour_days,
"labour_hours": labour_hours,
# This is required for simulating the SAP impact. solar_pv_percentage is between 0 & 1 so we scale
# back up here
"photo_supply": roof_coverage_percent,