summer_course_2024/city_model_structure/attributes/lighting.py

31 lines
841 B
Python
Raw Normal View History

2020-10-28 13:42:58 -04:00
"""
Building module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
"""
from city_model_structure.attributes.facility import Facility
2020-10-28 13:42:58 -04:00
class Lighting(Facility):
2020-10-28 13:42:58 -04:00
"""
Lighting facilities class
"""
def __init__(self, electric_power, operation_schedules, convective_fraction, latent_fraction, radiant_fraction,
total_value_of_heat_dissipation):
super().__init__(operation_schedules, convective_fraction, latent_fraction, radiant_fraction,
total_value_of_heat_dissipation)
2020-10-28 13:42:58 -04:00
"""
Constructor
"""
self._electric_power = electric_power
@property
def electric_power(self):
"""
Get lighting electric power
:return: lighting electric power
"""
return self._electric_power