adding new mainfuel community heating description

This commit is contained in:
Khalim Conn-Kowlessar 2024-09-24 19:40:02 +01:00
parent 18dc0c109f
commit 9fe9586d06
2 changed files with 7 additions and 1 deletions

View file

@ -50,7 +50,8 @@ class MainFuelAttributes(Definitions):
NO_INDIVIDUAL_HEATING_OR_COMMUNITY_NETWORK = [
'to be used only when there is no heatinghotwater system or data is from a community network',
'to be used only when there is no heatinghotwater system'
'to be used only when there is no heatinghotwater system',
'community heating schemes waste heat from power stations',
]
def __init__(self, description: str):

View file

@ -67,6 +67,7 @@ class MainHeatAttributes(Definitions):
"solar-assisted heat pump": "solar assisted heat pump",
"portable electric heating": "portable electric heaters",
"portable electric heating assumed for most rooms": "portable electric heaters assumed for most rooms",
"electric storage, electric": "electric storage heaters",
}
edge_case_result = {}
@ -98,6 +99,10 @@ class MainHeatAttributes(Definitions):
self.description = remapped
backup_remap = self.REMAP.get(self.description)
if backup_remap:
self.description = backup_remap
self.process_edge_cases()
if not self.nodata: