28 lines
715 B
Python
28 lines
715 B
Python
"""
|
|
Geometry helper
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2020 Project Author Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
|
|
"""
|
|
|
|
|
|
class OccupancyHelper:
|
|
occupancy_function = {
|
|
'C1': 'C-12 Residential',
|
|
'D3': 'C-12 Residential',
|
|
'D6': 'C-12 Residential',
|
|
'I1': 'C-2 Health',
|
|
'RI': 'C-12 Residential',
|
|
'RM': 'C-12 Residential',
|
|
'U0': 'C-10 Warehouse',
|
|
'W4': 'C-9 School',
|
|
}
|
|
|
|
@staticmethod
|
|
def pluto_occupancy_function(building_pluto_function):
|
|
"""
|
|
Get nrel function from the given pluto function
|
|
:param building_pluto_function: str
|
|
:return: str
|
|
"""
|
|
return OccupancyHelper.occupancy_function[building_pluto_function]
|