23 lines
609 B
Python
23 lines
609 B
Python
|
"""
|
||
|
EnergySystem module
|
||
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
||
|
Copyright © 2020 Project Author Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
|
||
|
"""
|
||
|
|
||
|
from city_model_structure.city_object import CityObject
|
||
|
from city_model_structure.energy_systems.heat_pump import HeatPump
|
||
|
|
||
|
|
||
|
class EnergySystem(CityObject):
|
||
|
"""
|
||
|
EnergySystem(CityObject) class
|
||
|
"""
|
||
|
def __init__(self, name, lod, surfaces, city_lower_corner):
|
||
|
super().__init__(name, lod, surfaces, city_lower_corner)
|
||
|
self._heat_pump = None
|
||
|
|
||
|
@property
|
||
|
def heat_pump(self) -> HeatPump:
|
||
|
return self._heat_pump
|
||
|
|