change building constructor

This commit is contained in:
Guille 2020-10-21 09:53:07 -04:00
parent 8e8feb3e98
commit 7db28a9f09
3 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ class Building(CityObject):
Building(CityObject) class Building(CityObject) class
""" """
def __init__(self, name, lod, surfaces, terrains, year_of_construction, function, lower_corner, attic_heated=0, def __init__(self, name, lod, surfaces, terrains, year_of_construction, function, lower_corner, attic_heated=0,
basement_heated=0, week_day_schedule, saturday_schedule, sunday_schedule): basement_heated=0):
super().__init__(lod, surfaces, name) super().__init__(lod, surfaces, name)
self._basement_heated = basement_heated self._basement_heated = basement_heated
self._attic_heated = attic_heated self._attic_heated = attic_heated

View File

@ -25,13 +25,13 @@ class PhysicsFactory:
UsPhysicsParameters(self._city, self._base_path) UsPhysicsParameters(self._city, self._base_path)
def _ca(self): def _ca(self):
raise Exception('Not implemented') raise NotImplementedError
def _de(self): def _de(self):
raise Exception('Not implemented') raise NotImplementedError
def _es(self): def _es(self):
raise Exception('Not implemented') raise NotImplementedError
def factory(self): def factory(self):
""" """

View File

@ -7,7 +7,7 @@ pyny3d~=0.2
matplotlib~=3.2.1 matplotlib~=3.2.1
Shapely~=1.7.0 Shapely~=1.7.0
pandas~=1.0.4 pandas~=1.0.4
pip~=20.1.1 pip>=20.1.1
pyzmq~=19.0.1 pyzmq~=19.0.1
pexpect~=4.8.0 pexpect~=4.8.0
tornado~=6.0.4 tornado~=6.0.4