mirror of
https://rs-loy-gitlab.concordia.ca/PMAU/DynamicBuildingSimulation.git
synced 2024-11-14 15:00:29 -05:00
Initial development for shared wall implementation.
This commit is contained in:
parent
ce9f1a7c14
commit
4f57ff3ddf
7
init.py
7
init.py
|
@ -50,11 +50,4 @@ class Init:
|
|||
self._city = GeometryFactory('citygml', self._geometry_path).city
|
||||
PhysicsFactory(self.handler, self._city)
|
||||
UsageFactory(self.handler, self._city)
|
||||
# todo: not sure if this is the best way
|
||||
# todo: up to now, there is only one usage_zone, but this will change in the future
|
||||
# and this method must be revised
|
||||
for city_object in self._city.city_objects:
|
||||
usage_zones_list = [100, city_object.usage_zones[0]]
|
||||
for thermal_zone in city_object.thermal_zones:
|
||||
thermal_zone.set_usage_zones(usage_zones_list)
|
||||
return self._city
|
||||
|
|
Loading…
Reference in New Issue
Block a user