final_energy_system_model #60

Merged
g_gutierrez merged 113 commits from final_energy_system_model into main 2024-03-14 09:13:21 -04:00
2 changed files with 4 additions and 5 deletions
Showing only changes of commit 43e5bb7310 - Show all commits

View File

@ -34,7 +34,6 @@ class MontrealCustomCatalog(Catalog):
self._catalog_emission_equipments = self._load_emission_equipments() self._catalog_emission_equipments = self._load_emission_equipments()
self._catalog_systems = self._load_systems() self._catalog_systems = self._load_systems()
self._catalog_archetypes = self._load_archetypes() self._catalog_archetypes = self._load_archetypes()
# store the full catalog data model in self._content # store the full catalog data model in self._content
self._content = Content(self._catalog_archetypes, self._content = Content(self._catalog_archetypes,
self._catalog_systems, self._catalog_systems,

View File

@ -35,8 +35,8 @@ class TestSystemsCatalog(TestCase):
with self.assertRaises(IndexError): with self.assertRaises(IndexError):
catalog.get_entry('unknown') catalog.get_entry('unknown')
def test_north_america_systems_catalog(self): # def test_north_america_systems_catalog(self):
catalog = EnergySystemsCatalogFactory('north_america').catalog # catalog = EnergySystemsCatalogFactory('north_america').catalog
# def test_montreal_catalog(self): def test_montreal_catalog(self):
# catalog = EnergySystemsCatalogFactory('montreal_custom').catalog catalog = EnergySystemsCatalogFactory('montreal_custom').catalog