mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
adding new mainfuel community heating description
This commit is contained in:
parent
18dc0c109f
commit
9fe9586d06
2 changed files with 7 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue