summer_course_2024/city_model_structure/facilities.py

65 lines
1.5 KiB
Python
Raw Normal View History

2020-10-16 01:25:22 -04:00
"""
Building module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
"""
class facilities:
"""
facilities class
"""
def __init__(self, operation_schedules, convective_fraction, latent_fraction,
radiant_fraction, total_value_of_heat_dissipation):
2020-10-16 01:25:22 -04:00
"""
Constructor
"""
self._operation_schedules = operation_schedules
self._convective_fraction = convective_fraction
self._latent_fraction = latent_fraction
self._radiant_fraction = radiant_fraction
self._total_value_of_heat_dissipation = total_value_of_heat_dissipation
2020-10-16 01:25:22 -04:00
@property
def operation_schedules(self):
"""
Get operation schedules of the facilities
:return: operation schedules
"""
return self._operation_schedules
@property
def convective_fraction(self):
2020-10-16 01:25:22 -04:00
"""
Get convective fraction value
:return: convective fraction
"""
return self._convective_fraction
@property
def latent_fraction(self):
2020-10-16 01:25:22 -04:00
"""
Get latent fraction value
:return: latent fraction
"""
return self._latent_fraction
2020-10-16 01:25:22 -04:00
@property
def radiant_fraction(self):
2020-10-16 01:25:22 -04:00
"""
Get radiant fraction value
:return: radiant fraction
2020-10-16 01:25:22 -04:00
"""
return self._radiant_fraction
2020-10-16 01:25:22 -04:00
@property
def total_value_of_heat_dissipation(self):
"""
Get heat dissipation value
:return: heat dissipation
"""
return self._total_value_of_heat_dissipation