system_assignation/city_model_structure/internal_gains.py

85 lines
1.8 KiB
Python
Raw Normal View History

2020-06-09 14:07:47 -04:00
"""
InternalGains module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
"""
class InternalGains:
2020-06-10 11:08:38 -04:00
"""
InternalGains class
"""
def __init__(self):
2020-06-10 11:08:38 -04:00
self._average_internal_gain = None
self._convective_fraction = None
self._radiative_fraction = None
self._latent_fraction = None
@property
2020-06-10 11:08:38 -04:00
def average_internal_gain(self):
"""
Get internal gains average internal gain in w/m2
:return: float
"""
return self._average_internal_gain
2020-06-10 11:08:38 -04:00
@average_internal_gain.setter
def average_internal_gain(self, value):
"""
Set internal gains average internal gain in w/m2
:param value: float
:return: None
"""
self._average_internal_gain = value
@property
def convective_fraction(self):
2020-06-10 11:08:38 -04:00
"""
Get internal gains convective fraction
:return: float
"""
return self._convective_fraction
@convective_fraction.setter
def convective_fraction(self, value):
2020-06-10 11:08:38 -04:00
"""
Set internal gains convective fraction
:param value: float
:return: None
"""
self._convective_fraction = value
@property
def radiative_fraction(self):
2020-06-10 11:08:38 -04:00
"""
Get internal gains radiative fraction
:return: float
"""
return self._radiative_fraction
@radiative_fraction.setter
def radiative_fraction(self, value):
2020-06-10 11:08:38 -04:00
"""
Set internal gains convective fraction
:param value: float
:return: None
"""
self._radiative_fraction = value
@property
def latent_fraction(self):
2020-06-10 11:08:38 -04:00
"""
Get internal gains latent fraction
:return: float
"""
return self._latent_fraction
@latent_fraction.setter
def latent_fraction(self, value):
2020-06-10 11:08:38 -04:00
"""
Set internal gains latent fraction
:param value: float
:return: None
"""
self._latent_fraction = value