Correct the search_materials name based on the new name: material_embodied

This commit is contained in:
Alireza Adli 2024-10-13 12:17:51 -04:00
parent 1beadca2b9
commit 6e2c82e1a3

View File

@ -123,7 +123,7 @@ class LCACarbonWorkflow:
for layer in boundary.layers: for layer in boundary.layers:
if not layer.no_mass: if not layer.no_mass:
layer_material = \ layer_material = \
self.nrcan_catalogs.search_materials(layer.material_name) self.nrcan_catalogs.material_embodied(layer.material_name)
layer_emission.append(EnvelopeEmission( layer_emission.append(EnvelopeEmission(
layer_material['embodied_carbon'], layer_material['embodied_carbon'],
boundary.opaque_area, boundary.opaque_area,