mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
handle b30k boiler
This commit is contained in:
parent
b26071e8fc
commit
ffc6f434d5
2 changed files with 5 additions and 8 deletions
|
|
@ -363,13 +363,10 @@ class Funding:
|
|||
# Doesnt have radiators
|
||||
return 'Gas Fire with Back Boiler'
|
||||
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] == "oil") and (
|
||||
mainheat_energy_eff in ["Good", "Very Good"]
|
||||
):
|
||||
return 'Condensing Oil Boiler'
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] == "oil") and (
|
||||
mainheat_energy_eff in ["Average", "Very Poor", "Poor"]
|
||||
):
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] in ["oil", "b30k"]):
|
||||
# b30k - kerosene
|
||||
if mainheat_energy_eff in ["Good", "Very Good"]:
|
||||
return 'Condensing Oil Boiler'
|
||||
return 'Non Condensing Oil Boiler'
|
||||
|
||||
if mainheating["has_boiler"] and (main_fuel["fuel_type"] == "lpg") 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 = 0
|
||||
i = 1
|
||||
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