Calculate opening emission

This commit is contained in:
Alireza Adli 2024-07-19 14:08:32 -04:00
parent 9723bb0e86
commit d79685123e

View File

@ -83,10 +83,12 @@ class LCACarbonWorkflow:
opening.area).calculate_opening_emission())
print('\t\t\t', opening_emission)
print('opening_emission', opening_emission)
boundary_opening_emission.append(opening_emission)
if opening_emission:
boundary_opening_emission += opening_emission
print('boundary_opening_emission', boundary_opening_emission)
surface_opening_emission.append(boundary_opening_emission)
print('surface_opening_emission', surface_opening_emission)
if boundary_opening_emission:
surface_opening_emission += boundary_opening_emission
print('surface_opening_emission', surface_opening_emission, '\n', sum(surface_opening_emission))
def calculate_emission(self):
emitted_carbon = []