Merge pull request 'added_new_functions_to_dictionaries' (#48) from added_new_functions_to_dictionaries into main

Reviewed-on: https://nextgenerations-cities.encs.concordia.ca/gitea/CERC/hub/pulls/48
This commit is contained in:
Guille Gutierrez 2023-10-05 04:40:19 -04:00
commit af32decf96
5 changed files with 12 additions and 5 deletions

View File

@ -16,7 +16,9 @@ class HubFunctionToEilatConstructionFunction:
self._dictionary = { self._dictionary = {
cte.RESIDENTIAL: 'Residential_building', cte.RESIDENTIAL: 'Residential_building',
cte.HOTEL: 'Residential_building', cte.HOTEL: 'Residential_building',
cte.DORMITORY: 'Residential_building' cte.DORMITORY: 'Residential_building',
cte.DATACENTER: 'n/a',
cte.FARM: 'n/a'
} }
@property @property

View File

@ -73,7 +73,9 @@ class HubFunctionToMontrealCustomCostsFunction:
cte.AUTOMOTIVE_FACILITY: 'non-residential', cte.AUTOMOTIVE_FACILITY: 'non-residential',
cte.PARKING_GARAGE: 'non-residential', cte.PARKING_GARAGE: 'non-residential',
cte.RELIGIOUS: 'non-residential', cte.RELIGIOUS: 'non-residential',
cte.NON_HEATED: 'non-residential' cte.NON_HEATED: 'non-residential',
cte.DATACENTER: 'n/a',
cte.FARM: 'n/a'
} }
@property @property

View File

@ -72,7 +72,9 @@ class HubFunctionToNrcanConstructionFunction:
cte.AUTOMOTIVE_FACILITY: 'n/a', cte.AUTOMOTIVE_FACILITY: 'n/a',
cte.PARKING_GARAGE: 'n/a', cte.PARKING_GARAGE: 'n/a',
cte.RELIGIOUS: 'n/a', cte.RELIGIOUS: 'n/a',
cte.NON_HEATED: 'n/a' cte.NON_HEATED: 'n/a',
cte.DATACENTER: 'n/a',
cte.FARM: 'n/a'
} }
@property @property

View File

@ -73,7 +73,9 @@ class HubFunctionToNrelConstructionFunction:
cte.AUTOMOTIVE_FACILITY: 'n/a', cte.AUTOMOTIVE_FACILITY: 'n/a',
cte.PARKING_GARAGE: 'n/a', cte.PARKING_GARAGE: 'n/a',
cte.RELIGIOUS: 'n/a', cte.RELIGIOUS: 'n/a',
cte.NON_HEATED: 'n/a' cte.NON_HEATED: 'n/a',
cte.DATACENTER: 'n/a',
cte.FARM: 'n/a'
} }
@property @property

View File

@ -76,7 +76,6 @@ class HubUsageToNrcanUsage:
cte.NON_HEATED: 'n/a', cte.NON_HEATED: 'n/a',
cte.DATACENTER: 'n/a', cte.DATACENTER: 'n/a',
cte.FARM: 'n/a' cte.FARM: 'n/a'
} }
@property @property