hub/city_model_structure/energy_systems/hvac_system.py

34 lines
661 B
Python

"""
HvacSystem module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2022 Concordia CERC group
Project Coder Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
"""
from typing import Union
class HvacSystem:
"""
HvacSystem class
"""
def __init__(self):
self._type = None
@property
def type(self) -> Union[None, str]:
"""
Get hvac system type a thermal zone
:return: None or str
"""
return self._type
@type.setter
def type(self, value):
"""
Set heating set point defined for a thermal zone
:param value: str
"""
if value is not None:
self._type = str(value)