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
|
|
|
|
"""
|
2020-12-15 09:59:07 -05:00
|
|
|
from city_model_structure.attributes.facility import Facility
|
2020-10-28 13:42:58 -04:00
|
|
|
|
|
|
|
|
2020-12-15 09:59:07 -05:00
|
|
|
class Lighting(Facility):
|
2020-10-28 13:42:58 -04:00
|
|
|
"""
|
|
|
|
Lighting facilities class
|
|
|
|
"""
|
|
|
|
|
2020-12-15 10:04:51 -05:00
|
|
|
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
|