mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
added labour hours and days to building level costing for solar
This commit is contained in:
parent
53bb74ac4f
commit
e12ff81aaa
2 changed files with 7 additions and 2 deletions
|
|
@ -1037,13 +1037,13 @@ class Costs:
|
||||||
vat = total_cost - subtotal_before_vat
|
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
|
# 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
|
# labour
|
||||||
return {
|
return {
|
||||||
"total": total_cost,
|
"total": total_cost,
|
||||||
"subtotal": subtotal_before_vat,
|
"subtotal": subtotal_before_vat,
|
||||||
"vat": vat,
|
"vat": vat,
|
||||||
"labour_hours": 72,
|
"labour_hours": 48,
|
||||||
"labour_days": 2,
|
"labour_days": 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,6 +116,9 @@ class SolarPvRecommendations:
|
||||||
# Spread the cost to the individual units - adding a 20% contingency
|
# Spread the cost to the individual units - adding a 20% contingency
|
||||||
total_cost = recommendation_config["total_cost"] / n_units
|
total_cost = recommendation_config["total_cost"] / n_units
|
||||||
kw = np.floor(recommendation_config["array_warrage"] / 100) / 10
|
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 "
|
description = (f"Install a {kw} kilowatt-peak (kWp) solar photovoltaic (PV) panel system on the roof "
|
||||||
"of the building")
|
"of the building")
|
||||||
|
|
@ -133,6 +136,8 @@ class SolarPvRecommendations:
|
||||||
"sap_points": None,
|
"sap_points": None,
|
||||||
"already_installed": False,
|
"already_installed": False,
|
||||||
"total": total_cost,
|
"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
|
# This is required for simulating the SAP impact. solar_pv_percentage is between 0 & 1 so we scale
|
||||||
# back up here
|
# back up here
|
||||||
"photo_supply": roof_coverage_percent,
|
"photo_supply": roof_coverage_percent,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue