Add search material to the access/rename to calculate_envelope_emission
This commit is contained in:
parent
7d19d8ab14
commit
9bc9ff25fc
@ -113,6 +113,9 @@ class AccessNrcanCatalog:
|
|||||||
elif opaque_surface[opaque_surface_key]['type'] == component_type:
|
elif opaque_surface[opaque_surface_key]['type'] == component_type:
|
||||||
return opaque_surface[opaque_surface_key]['layers']
|
return opaque_surface[opaque_surface_key]['layers']
|
||||||
|
|
||||||
|
def search_materials(self, material_name):
|
||||||
|
return self.materials[f'{material_name}']
|
||||||
|
|
||||||
def search_transparent_surfaces(
|
def search_transparent_surfaces(
|
||||||
self, surface_type, opaque_surface_code):
|
self, surface_type, opaque_surface_code):
|
||||||
return self.transparent_surfaces[
|
return self.transparent_surfaces[
|
||||||
|
@ -28,7 +28,7 @@ class EnvelopeEmission:
|
|||||||
def envelope_surface(self):
|
def envelope_surface(self):
|
||||||
return self._envelope_surface
|
return self._envelope_surface
|
||||||
|
|
||||||
def envelope_emission(self):
|
def calculate_envelope_emission(self):
|
||||||
return self._envelope_material_emission * \
|
return self._envelope_material_emission * \
|
||||||
self.envelope_thickness * \
|
self.envelope_thickness * \
|
||||||
self._envelope_surface
|
self._envelope_surface
|
||||||
|
Loading…
Reference in New Issue
Block a user