erased saving in pickle

This commit is contained in:
Pilar Monsalvete 2023-05-18 10:26:21 -04:00
parent f08d332c5b
commit e4f22c29f2

View File

@ -67,7 +67,6 @@ class TestSystemsFactory(TestCase):
insel_path = (self._output_path / f'{building.name}.insel') insel_path = (self._output_path / f'{building.name}.insel')
subprocess.run(['insel', str(insel_path)]) subprocess.run(['insel', str(insel_path)])
ResultFactory('insel_monthly_energy_balance', self._city, self._output_path).enrich() ResultFactory('insel_monthly_energy_balance', self._city, self._output_path).enrich()
self._city.save(self._output_path / 'city.pickle')
for building in self._city.buildings: for building in self._city.buildings:
building.energy_systems_archetype_name = 'system 1 gas' building.energy_systems_archetype_name = 'system 1 gas'