city_retrofit/city_model_structure/attributes/lighting.py

31 lines
841 B
Python

"""
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
class Lighting(Facility):
"""
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)
"""
Constructor
"""
self._electric_power = electric_power
@property
def electric_power(self):
"""
Get lighting electric power
:return: lighting electric power
"""
return self._electric_power