change building constructor
This commit is contained in:
parent
8e8feb3e98
commit
7db28a9f09
|
@ -25,7 +25,7 @@ class Building(CityObject):
|
|||
Building(CityObject) class
|
||||
"""
|
||||
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)
|
||||
self._basement_heated = basement_heated
|
||||
self._attic_heated = attic_heated
|
||||
|
|
|
@ -25,13 +25,13 @@ class PhysicsFactory:
|
|||
UsPhysicsParameters(self._city, self._base_path)
|
||||
|
||||
def _ca(self):
|
||||
raise Exception('Not implemented')
|
||||
raise NotImplementedError
|
||||
|
||||
def _de(self):
|
||||
raise Exception('Not implemented')
|
||||
raise NotImplementedError
|
||||
|
||||
def _es(self):
|
||||
raise Exception('Not implemented')
|
||||
raise NotImplementedError
|
||||
|
||||
def factory(self):
|
||||
"""
|
||||
|
|
|
@ -7,7 +7,7 @@ pyny3d~=0.2
|
|||
matplotlib~=3.2.1
|
||||
Shapely~=1.7.0
|
||||
pandas~=1.0.4
|
||||
pip~=20.1.1
|
||||
pip>=20.1.1
|
||||
pyzmq~=19.0.1
|
||||
pexpect~=4.8.0
|
||||
tornado~=6.0.4
|
||||
|
|
Loading…
Reference in New Issue
Block a user