forked from s_ranjbar/city_retrofit
58 lines
1.3 KiB
Python
58 lines
1.3 KiB
Python
"""
|
|
Constant module
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2020 Project Author Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
|
|
"""
|
|
|
|
|
|
# universal constants
|
|
KELVIN = 273.15
|
|
|
|
# time
|
|
MINUTE = 'minute'
|
|
HOUR = 'hour'
|
|
DAY = 'day'
|
|
WEEK = 'week'
|
|
MONTH = 'month'
|
|
YEAR = 'year'
|
|
|
|
# todo: modify code to use global constants instead of hard-coded values
|
|
# surface types
|
|
WALL = 'Wall'
|
|
GROUND_WALL = 'Ground wall'
|
|
GROUND = 'Ground'
|
|
ATTIC_FLOOR = 'Attic floor'
|
|
ROOF = 'Roof'
|
|
INTERIOR_SLAB = 'Interior slab'
|
|
INTERIOR_WALL = 'Interior wall'
|
|
VIRTUAL_INTERNAL = 'Virtual internal'
|
|
WINDOW = 'Window'
|
|
DOOR = 'Door'
|
|
SKYLIGHT = 'Skylight'
|
|
|
|
# todo: homogenize function and usage!!
|
|
# function
|
|
RESIDENTIAL = 'residential'
|
|
SFH = 'single family house'
|
|
MFH = 'multifamily house'
|
|
HOTEL = 'hotel'
|
|
HOSPITAL = 'hospital'
|
|
OUTPATIENT = 'outpatient'
|
|
COMMERCIAL = 'commercial'
|
|
STRIP_MALL = 'strip mall'
|
|
WAREHOUSE = 'warehouse'
|
|
PRIMARY_SCHOOL = 'primary school'
|
|
SECONDARY_SCHOOL = 'secondary school'
|
|
OFFICE = 'office'
|
|
LARGE_OFFICE = 'large office'
|
|
OFFICE_WORKSHOP = 'office/workshop'
|
|
|
|
# usage
|
|
INDUSTRY = 'industry'
|
|
OFFICE_ADMINISTRATION = 'office and administration'
|
|
HEALTH_CARE = 'health care'
|
|
RETAIL = 'retail'
|
|
HALL = 'hall'
|
|
RESTAURANT = 'restaurant'
|
|
EDUCATION = 'education'
|