quick fix for failed archetype search

This commit is contained in:
home-imac 2022-11-14 03:19:04 -05:00
parent 3568255c29
commit fae577deaa

View File

@ -74,7 +74,9 @@ class UsPhysicsParameters(NrelPhysicsInterface):
if (str(function) == str(building_archetype.function)) and \ if (str(function) == str(building_archetype.function)) and \
(climate_zone == str(building_archetype.climate_zone)): (climate_zone == str(building_archetype.climate_zone)):
return building_archetype return building_archetype
return None # Todo: line below is added by Milad as a quick fix for when archetypes search is not found
return building_archetype
# return None
@staticmethod @staticmethod
def _search_construction_in_archetype(archetype, construction_type): def _search_construction_in_archetype(archetype, construction_type):