Make sure to close both simulations explicitly:

traci.switch("sim1")
traci.close()
traci.switch("sim2")
traci.close()

Am Mo., 22. Feb. 2021 um 18:51 Uhr schrieb Bae, Jong In <[email protected]>:

> Hello,
>
> I'm following steps in this link (
> https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#controlling_parallel_simulations_from_the_same_traci_script)
> to run multiple simulations
> simultaneously (in parallel).
>
> Just for a test run, I am running 2 simulations simultaneously for 10 time
> steps. My first run (sim1) ends at 10s but my second run (sim2) keeps on
> running.
> These two runs are duplicate runs with the same settings. I would
> appreciate it if you could give me some suggestions on what I can try to
> make this work.
>
> Thanks!
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to