Correct and add density to the workflow for envelope emission

This commit is contained in:
Alireza Adli 2024-08-01 13:45:26 -04:00
parent 7fa1ee27c1
commit 006b30dfb2

View File

@ -118,7 +118,8 @@ class LCACarbonWorkflow:
self.nrcan_catalogs.search_materials(layer.material_name) self.nrcan_catalogs.search_materials(layer.material_name)
layer_emission.append(EnvelopeEmission( layer_emission.append(EnvelopeEmission(
layer_material['embodied_carbon'], layer_material['embodied_carbon'],
boundary.opaque_area, layer.thickness).calculate_envelope_emission()) boundary.opaque_area,
layer.thickness, layer.density).calculate_envelope_emission())
boundary_workload.append( boundary_workload.append(
boundary.opaque_area * layer.thickness * layer.density) boundary.opaque_area * layer.thickness * layer.density)
return layer_emission, boundary_workload return layer_emission, boundary_workload