summer_course_2024/city_model_structure/window.py

71 lines
2.0 KiB
Python

class Window:
def __init__(self):
# ToDo: construct this class
self._conductivity_wm_k = 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_wm_k(self):
return self._conductivity_wm_k
@conductivity_wm_k.setter
def conductivity_wm_k(self, value):
self._conductivity_wm_k = 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