Add search material to the access/rename to calculate_envelope_emission

This commit is contained in:
Alireza Adli 2024-07-20 12:13:33 -04:00
parent 7d19d8ab14
commit 9bc9ff25fc
2 changed files with 4 additions and 1 deletions

View File

@ -113,6 +113,9 @@ class AccessNrcanCatalog:
elif opaque_surface[opaque_surface_key]['type'] == component_type:
return opaque_surface[opaque_surface_key]['layers']
def search_materials(self, material_name):
return self.materials[f'{material_name}']
def search_transparent_surfaces(
self, surface_type, opaque_surface_code):
return self.transparent_surfaces[

View File

@ -28,7 +28,7 @@ class EnvelopeEmission:
def envelope_surface(self):
return self._envelope_surface
def envelope_emission(self):
def calculate_envelope_emission(self):
return self._envelope_material_emission * \
self.envelope_thickness * \
self._envelope_surface