Hi sumo users,

I created a python script to generate and execute multimodal simulation
scenarios. For scenarios with a low number of taxis in the network, the
code runs successfully. For scenarios with a higher number of taxis (38,
for example) the configuration file cannot be run and times out. When this
same configuration file is run using the command line or the GUI, however,
it runs successfully.

Below is the problematic section of code. Attached is a photo of the
traceback


*cmd ='sumo -c'+file*

*process = subprocess.Popen(cmd, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, shell=True)try:*
*     process.wait(timeout=60)*


*except subprocess.TimeoutExpired:     process.terminate()
 traceback.print_exc()*

Note that the process timeout time of 60 was chosen to test the code. The
process still does not complete after multiple hours.

Thanks as always,
-- 
Griffin Hanekamp
Technical University of Munich | 2022
Georgia Institute of Technology | 2017
M. +4917632120070
Other. +16308095148
*https://www.linkedin.com/in/griffinhanekamp
<https://www.linkedin.com/in/griffinhanekamp>*
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to