debugging epc cleaning

This commit is contained in:
Khalim Conn-Kowlessar 2024-09-27 16:18:31 +01:00
parent 957d006cb8
commit 0e8136d445
4 changed files with 13 additions and 2 deletions

View file

@ -32,7 +32,8 @@ class FloorAttributes(Definitions):
"solet, wedigçöi inswleiddio": "solid, insulated",
"solet, wedi???i inswleiddio (rhagdybiaeth)": "solid, insulated (assumed)",
"i ofod heb ei wresogi, dim inswleiddio (rhagdybiaeth)": "to unheated space, no insulation (assumed)",
"i ofod heb ei wresogi, dim inswleiddio": "to unheated space, no insulation"
"i ofod heb ei wresogi, heb ei inswleiddio (rhagdybiaeth)": "to unheated space, no insulation (assumed)",
"i ofod heb ei wresogi, dim inswleiddio": "to unheated space, no insulation",
}
def __init__(self, description: str):

View file

@ -63,6 +63,13 @@ class MainHeatAttributes(Definitions):
"heaters",
"pwmp gwres sygçön tarddu yn yr awyr, awyr gynnes, trydan": "air source heat pump, warm air, electric",
"stor wresogyddion trydan": "electric storage heaters",
# Not 100% certain - the translation is "bottled gas"
"bwyler a rheiddiaduron, nwy potel": "boiler and radiators, lpg",
"gwresogyddion trydan cludadwy wedi i ragdybio ar gyfer y rhan fwyaf o r ystafelloedd": "portable electric "
"heaters assumed for "
"most rooms",
"st r wresogyddion trydan": "electric storage heaters",
"dim system ar gael, rhagdybir bod gwresogyddion trydan, trydan": "no system present, electric heaters assumed",
# Should be handled by edge cases
", trydan": ", electric",
}
@ -77,6 +84,7 @@ class MainHeatAttributes(Definitions):
"radiator heating, electric": "room heaters, electric",
"hot-water-only systems, gas": "no system present, electric heaters assumed",
"gas-fired heat pumps, electric": "air source heat pump, electric",
"radiator heating, heat from boilers - gas": "boiler and radiators, mains gas",
}
edge_case_result = {}

View file

@ -116,7 +116,8 @@ class MainheatControlAttributes(Definitions):
'trvs a falf osgoi': 'trvs and bypass',
'rheolaeth celect': 'celect-type control',
'rheoli r tal a llaw': 'manual charge control',
'tal un gyfradd, thermostat ystafell yn unig': 'flat rate charging, room thermostat only'
'tal un gyfradd, thermostat ystafell yn unig': 'flat rate charging, room thermostat only',
"rheoli'r t l llaw": "manual charge control",
}
def __init__(self, description: str):

View file

@ -27,6 +27,7 @@ class RoofAttributes(Definitions):
"yn wastad, dim inswleiddio (rhagdybiaeth)": "flat, no insulation (assumed)",
"yn wastad, dim inswleiddio": "flat, no insulation",
"yn wastad, wedigçöi inswleiddio (rhagdybiaeth)": "flat, insulated (assumed)",
"yn wastad, wedi?i hinswleiddio (rhagdybiaeth)": "flat, insulated (assumed)",
"yn wastad, wedigçöi inswleiddio": "flat, insulated",
"(eiddo arall uwchben)": "(another dwelling above)",
"(annedd arall uwchben)": "(another dwelling above)",