mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
missing fuel on gas boiler
This commit is contained in:
parent
ffc6f434d5
commit
eb48b408dc
2 changed files with 9 additions and 14 deletions
|
|
@ -341,20 +341,15 @@ class Funding:
|
|||
return 'Biomass Boiler'
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] == "lpg"):
|
||||
return 'Bottled LPG Boiler'
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] == "mains gas") and (
|
||||
mainheat_energy_eff in ["Good", "Very Good"]
|
||||
if mainheating["has_boiler"] and (
|
||||
(main_fuel["fuel_type"] == "mains gas") or (
|
||||
(main_fuel["fuel_type"] == "unknown") and (mainheating["has_mains_gas"]))
|
||||
):
|
||||
# Assume higher efficiency condensing boiler
|
||||
return 'Condensing Gas Boiler'
|
||||
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] == "mains gas") and (
|
||||
mainheat_energy_eff in ["Average", "Poor"]
|
||||
):
|
||||
return 'Non Condensing Gas Boiler'
|
||||
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] == "mains gas") and (
|
||||
mainheat_energy_eff in ["Very Poor"]
|
||||
) and mainheating["has_radiators"]:
|
||||
if mainheat_energy_eff in ["Good", "Very Good"]:
|
||||
# Assume higher efficiency condensing boiler
|
||||
return 'Condensing Gas Boiler'
|
||||
if mainheat_energy_eff in ["Average", "Poor"]:
|
||||
return 'Non Condensing Gas Boiler'
|
||||
return 'Gas Back Boiler to Radiators'
|
||||
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] == "mains gas") and (
|
||||
|
|
|
|||
|
|
@ -1076,7 +1076,7 @@ for _, x in tqdm(epc_df.iterrows(), total=len(epc_df)):
|
|||
|
||||
errored_epcs = epc_df[epc_df["LMK_KEY"].isin(errors)]
|
||||
unique_combs = errored_epcs[["MAINHEAT_ENERGY_EFF", "MAINHEAT_DESCRIPTION", "MAIN_FUEL"]].drop_duplicates()
|
||||
i = 1
|
||||
i = 2
|
||||
x = errored_epcs[
|
||||
(errored_epcs["MAINHEAT_ENERGY_EFF"] == unique_combs["MAINHEAT_ENERGY_EFF"].values[i]) &
|
||||
(errored_epcs["MAINHEAT_DESCRIPTION"] == unique_combs["MAINHEAT_DESCRIPTION"].values[i]) &
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue