summer_course_2024/city_model_structure/usage_zone.py

79 lines
1.7 KiB
Python
Raw Normal View History

from city_model_structure.internal_gains import InternalGains
from typing import List
class UsageZone:
def __init__(self):
self._usage = None
self._internal_gains = None
self._heating_setpoint = None
self._heating_setback = None
self._cooling_setpoint = None
self._hours_day = None
self._days_year = None
self._mechanical_air_change = None
@property
def internal_gains(self) -> List[InternalGains]:
return self._internal_gains
@internal_gains.setter
def internal_gains(self, value):
self._internal_gains = value
@property
def heating_setpoint(self):
return self._heating_setpoint
@heating_setpoint.setter
def heating_setpoint(self, value):
self._heating_setpoint = value
@property
def heating_setback(self):
return self._heating_setback
@heating_setback.setter
def heating_setback(self, value):
self._heating_setback = value
@property
def cooling_setpoint(self):
return self._cooling_setpoint
@cooling_setpoint.setter
def cooling_setpoint(self, value):
self._cooling_setpoint = value
@property
def hours_day(self):
return self._hours_day
@hours_day.setter
def hours_day(self, value):
self._hours_day = value
@property
def days_year(self):
return self._days_year
@days_year.setter
def days_year(self, value):
self._days_year = value
@property
def mechanical_air_change(self):
return self._mechanical_air_change
@mechanical_air_change.setter
def mechanical_air_change(self, value):
self._mechanical_air_change = value
@property
def usage(self):
return self._usage
@usage.setter
def usage(self, value):
self._usage = value