diff --git a/lca_carbon_workflow.py b/lca_carbon_workflow.py index 35926a6..e5e2e80 100644 --- a/lca_carbon_workflow.py +++ b/lca_carbon_workflow.py @@ -69,9 +69,7 @@ class LCACarbonWorkflow: if boundary.window_ratio == 0: opening_surface = 0 opening_material_emission = 0 - # print('window = 0') else: - print('window != 0') opening_emission = self._calculate_opening_emission( building, surface, boundary, opaque_surface_code) if opening_emission: @@ -79,8 +77,8 @@ class LCACarbonWorkflow: print('boundary_opening_emission', boundary_opening_emission) if boundary_opening_emission: surface_opening_emission += boundary_opening_emission - building_opening_emission = sum(surface_opening_emission) - print(building_opening_emission) + building_opening_emission = sum(surface_opening_emission) + # print(building_opening_emission) def _calculate_opening_emission( self, building, surface, boundary, opaque_surface_code): @@ -97,7 +95,5 @@ class LCACarbonWorkflow: return opening_emission def calculate_emission(self): - emitted_carbon = [] - opening_emission = [] for building in self.city.buildings: self.calculate_building_component_emission(building)