diff --git a/.idea/lca_carbon_workflow.iml b/.idea/lca_carbon_workflow.iml index de1e4d0..4d6969b 100644 --- a/.idea/lca_carbon_workflow.iml +++ b/.idea/lca_carbon_workflow.iml @@ -1,7 +1,7 @@ - + diff --git a/building_component_surface.py b/building_component_surface.py deleted file mode 100644 index 7d648d3..0000000 --- a/building_component_surface.py +++ /dev/null @@ -1,48 +0,0 @@ -""" -building_component_surface module -Returns each individual surface values that are needed for -carbon emission calculation in building_component and eventually in -lca_carbon_workflow modules. -SPDX - License - Identifier: LGPL - 3.0 - or -later -Copyright © 2024 Concordia CERC group -Code contributors: Alireza Adli alireza.adli@concordia.ca -Mohammad Reza Seyedabadi mohammad.seyedabadi@mail.concordia.ca -""" - - -class BuildingComponentSurface: - def __init__(self): - self._opening_material_emission = None - self._opening_surface = None - self._envelope_material_emission = None - self._envelope_thickness = None - self._envelope_surface = None - - @property - def opening_material_emission(self): - return self._opening_material_emission - - @opening_material_emission.setter - def opening_material_emission(self, value): - pass - - @property - def opening_surface(self): - return self._opening_surface - - @opening_surface.setter - def opening_surface(self, value): - pass - - @property - def envelope_material_emission(self): - return self._envelope_material_emission - - @property - def envelope_thickness(self): - return self._envelope_thickness - - @property - def envelope_surface(self): - return self._envelope_surface - diff --git a/lca_carbon_workflow.py b/lca_carbon_workflow.py index 93dfb01..997d780 100644 --- a/lca_carbon_workflow.py +++ b/lca_carbon_workflow.py @@ -64,7 +64,4 @@ class LCACarbonWorkflow: def calculate_emission(self): emitted_carbon = [] for building in self.city.buildings: - # self.calculate_opening_emission(building) - for surface in building.surfaces: - for boundary in surface.associated_thermal_boundaries: - print(boundary.window_ratio) \ No newline at end of file + self.calculate_opening_emission(building) \ No newline at end of file