forked from s_ranjbar/city_retrofit
84 lines
2.2 KiB
Python
84 lines
2.2 KiB
Python
"""
|
|
Window module
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2020 Project Author Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
|
|
"""
|
|
|
|
|
|
class Window:
|
|
"""
|
|
Window class
|
|
"""
|
|
def __init__(self):
|
|
self._conductivity = None
|
|
self._solar_transmittance_at_normal_incidence = None
|
|
self._front_side_solar_reflectance_at_normal_incidence = None
|
|
self._back_side_solar_reflectance_at_normal_incidence = None
|
|
self._frame_ratio = None
|
|
self._thickness_m = None
|
|
self._shgc = None
|
|
|
|
@property
|
|
def conductivity(self):
|
|
"""
|
|
Get window conductivity in W/mK
|
|
:return: float
|
|
"""
|
|
return self._conductivity
|
|
|
|
@conductivity.setter
|
|
def conductivity(self, value):
|
|
self._conductivity = value
|
|
|
|
@property
|
|
def solar_transmittance_at_normal_incidence(self):
|
|
return self._solar_transmittance_at_normal_incidence
|
|
|
|
@solar_transmittance_at_normal_incidence.setter
|
|
def solar_transmittance_at_normal_incidence(self, value):
|
|
self._solar_transmittance_at_normal_incidence = value
|
|
|
|
@property
|
|
def front_side_solar_reflectance_at_normal_incidence(self):
|
|
return self._front_side_solar_reflectance_at_normal_incidence
|
|
|
|
@front_side_solar_reflectance_at_normal_incidence.setter
|
|
def front_side_solar_reflectance_at_normal_incidence(self, value):
|
|
self._front_side_solar_reflectance_at_normal_incidence = value
|
|
|
|
@property
|
|
def back_side_solar_reflectance_at_normal_incidence(self):
|
|
return self._back_side_solar_reflectance_at_normal_incidence
|
|
|
|
@back_side_solar_reflectance_at_normal_incidence.setter
|
|
def back_side_solar_reflectance_at_normal_incidence(self, value):
|
|
self._back_side_solar_reflectance_at_normal_incidence = value
|
|
|
|
@property
|
|
def frame_ratio(self):
|
|
return self._frame_ratio
|
|
|
|
@frame_ratio.setter
|
|
def frame_ratio(self, value):
|
|
self._frame_ratio = value
|
|
|
|
@frame_ratio.setter
|
|
def frame_ratio(self, value):
|
|
self._frame_ratio = value
|
|
|
|
@property
|
|
def thickness_m(self):
|
|
return self._thickness_m
|
|
|
|
@thickness_m.setter
|
|
def thickness_m(self, value):
|
|
self._thickness_m = value
|
|
|
|
@property
|
|
def shgc(self):
|
|
return self._shgc
|
|
|
|
@shgc.setter
|
|
def shgc(self, value):
|
|
self._shgc = value
|