lcodeca / SUMOActivityGen

An Activity-based Multi-modal Mobility Scenario Generator for SUMO. This project is available in the Eclipse SUMO contributed tools section (https://github.com/eclipse/sumo/tree/master/tools/contributed) under the name SAGA (SUMO Activity GenerAtion).
Eclipse Public License 2.0
39 stars 25 forks source link

Traci could not connect in activitygen.py #19

Closed Shiyunyang-seu closed 4 years ago

Shiyunyang-seu commented 4 years ago

Hi, I have completed 7 steps and obtained the file osm_activitygen.json (input of activitygen.py), but the error occurs as the figure shows: error Is Traci unable to connect due to the large road network (it takes about 10 seconds to load with SUMO GUI)? My sumo version is 1.6. Thanks in advance.

lcodeca commented 4 years ago

Hi, the best I can do is to try to reproduce the problem, and to do so, i need your OSM file and the command line you use. Unfortunately, I don’t have Windows, i use Linux and Mac OSX.

Aside from SAGA, have you tried to use TraCI with another SUMO simulation? It looks to me a networking error due to Windows, that has nothing o do with SUMO.. Additionally, have checked with the SUMO community?

Shiyunyang-seu commented 4 years ago

Thanks for your reply. I have tried to use Traci with other SUMO simulation, and there is no any errors. So, I'm not sure what the actual problem is. Additionally, I checked the SUMO community but do not find the solution. I used to generate the final merged_activity.rou.xml a long time ago and with no errors, whether it is due to the 1.6 version, or whether there are other alternative methods. Because of the large road network, the input file is too large to upload. Can you leave an E-mail address and I could send the input file to you.Thanks.

lcodeca commented 4 years ago

My e-mail address is in the README, lara.codeca@gmail.com