82 lines
1.9 KiB
Python
82 lines
1.9 KiB
Python
"""
|
|
Material module
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2020 Project Author Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
|
|
"""
|
|
|
|
|
|
class Material:
|
|
def __init__(self):
|
|
self._conductivity_wm_k = None
|
|
self._specific_heat_jkg_k = None
|
|
self._density_kg_m3 = None
|
|
self._solar_absorptance = None
|
|
self._thermal_absorptance = None
|
|
self._visible_absorptance = None
|
|
self._no_mass = False
|
|
self._thermal_resistance_m2k_w = 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 specific_heat_jkg_k(self):
|
|
return self._specific_heat_jkg_k
|
|
|
|
@specific_heat_jkg_k.setter
|
|
def specific_heat_jkg_k(self, value):
|
|
self._specific_heat_jkg_k = value
|
|
|
|
@property
|
|
def density_kg_m3(self):
|
|
return self._density_kg_m3
|
|
|
|
@density_kg_m3.setter
|
|
def density_kg_m3(self, value):
|
|
self._density_kg_m3 = value
|
|
|
|
@property
|
|
def solar_absorptance(self):
|
|
return self._solar_absorptance
|
|
|
|
@solar_absorptance.setter
|
|
def solar_absorptance(self, value):
|
|
self._solar_absorptance = value
|
|
|
|
@property
|
|
def thermal_absorptance(self):
|
|
return self._thermal_absorptance
|
|
|
|
@thermal_absorptance.setter
|
|
def thermal_absorptance(self, value):
|
|
self._thermal_absorptance = value
|
|
|
|
@property
|
|
def visible_absorptance(self):
|
|
return self._visible_absorptance
|
|
|
|
@visible_absorptance.setter
|
|
def visible_absorptance(self, value):
|
|
self._visible_absorptance = value
|
|
|
|
@property
|
|
def no_mass(self):
|
|
return self._no_mass
|
|
|
|
@no_mass.setter
|
|
def no_mass(self, value):
|
|
self._no_mass = value
|
|
|
|
@property
|
|
def thermal_resistance_m2k_w(self):
|
|
return self._thermal_resistance_m2k_w
|
|
|
|
@thermal_resistance_m2k_w.setter
|
|
def thermal_resistance_m2k_w(self, value):
|
|
self._thermal_resistance_m2k_w = value
|