looking for a bug

This commit is contained in:
Pilar 2022-04-28 14:41:09 -04:00
parent 0e7acd89d1
commit 06ecae7e88
2 changed files with 0 additions and 5 deletions

View File

@ -28,13 +28,9 @@ class NrelCatalog(Catalog):
with open(archetypes_path) as xml:
self._archetypes = xmltodict.parse(xml.read(), force_list=('archetype', 'construction'))
self._catalog_windows = self._load_windows()
print('windows', self._catalog_windows)
self._catalog_materials = self._load_materials()
print('materials', self._catalog_materials)
self._catalog_constructions = self._load_constructions()
print('constructions', self._catalog_constructions)
self._catalog_archetypes = self._load_archetypes()
print('archetypes', self._catalog_archetypes)
# store the full catalog data model in self._content
self._content = Content(self._catalog_archetypes,

View File

@ -33,7 +33,6 @@ class UsPhysicsParameters(NrelPhysicsInterface):
city = self._city
for building in city.buildings:
try:
print(building.function, building.year_of_construction, self._climate_zone)
archetype = self._search_archetype(building.function, building.year_of_construction, self._climate_zone)
except KeyError:
sys.stderr.write(f'Building {building.name} has unknown archetype for building function: {building.function} '