22 lines
542 B
Python
22 lines
542 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 = {
|
|
'I1': 'C-2 Health',
|
|
'C1': 'C-12 Residential'
|
|
}
|
|
|
|
@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]
|