improve naming in occupancy catalog data model

This commit is contained in:
Guille Gutierrez 2022-05-19 21:38:48 -04:00
parent dd3fc42d10
commit abbc0d966d

View File

@ -18,12 +18,12 @@ class Occupancy:
sensible_convective_internal_gain,
sensible_radiative_internal_gain,
latent_internal_gain,
occupancy_schedules):
schedules):
self._occupancy_density = occupancy_density
self._sensible_convective_internal_gain = sensible_convective_internal_gain
self._sensible_radiative_internal_gain = sensible_radiative_internal_gain
self._latent_internal_gain = latent_internal_gain
self._occupancy_schedules = occupancy_schedules
self._schedules = schedules
@property
def occupancy_density(self) -> Union[None, float]:
@ -58,10 +58,10 @@ class Occupancy:
return self._latent_internal_gain
@property
def occupancy_schedules(self) -> Union[None, List[Schedule]]:
def schedules(self) -> Union[None, List[Schedule]]:
"""
Get occupancy schedules
dataType = fraction
:return: None or [Schedule]
"""
return self._occupancy_schedules
return self._schedules