mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
If a property is EPC D or above, and is private, it is NOT eligible for ECO4 funding
This commit is contained in:
parent
469a1483a5
commit
e13cc52c96
1 changed files with 3 additions and 0 deletions
|
|
@ -808,6 +808,9 @@ def _find_measure(input_measures, measure_type):
|
|||
def _make_solar_heating_funding_paths(
|
||||
p, input_measures, funding_paths, remaining_insulation_type, housing_type, funding: Funding
|
||||
):
|
||||
# If a property is private and EPC D or above, it's not eligible
|
||||
if housing_type == "Private" and p.data["current-energy-rating"] in ["D", "C", "B", "A"]:
|
||||
return funding_paths
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# Solar PV with existing eligible heating system
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue