Finalize minor improvements

This commit is contained in:
Alireza Adli 2024-07-18 17:16:30 -04:00
parent 98723af190
commit d6677c7fdb
2 changed files with 3 additions and 3 deletions

View File

@ -103,9 +103,9 @@ class AccessNrcanCatalog:
return opaque_surface[opaque_surface_key]['layers']
def search_transparent_surfaces(
self, surface_type, opaque_surface_code, climate_zone):
self, surface_type, opaque_surface_code):
return self.transparent_surfaces[
f'{surface_type}_{opaque_surface_code}_{climate_zone}']
f'{surface_type}_{opaque_surface_code}']
def find_opaque_surface(self, function, period_of_construction, climate_zone):
"""Returns the opaque_surface_name corresponding to the given arguments."""

View File

@ -22,5 +22,5 @@ class OpeningEmission:
def opening_surface(self):
return self._opening_surface
def opening_emission(self):
def calculate_opening_emission(self):
return self._opening_material_emission * self._opening_surface