Hi, there can be multiple reasons for this behavior. It is probably connected to the networking part of the TraCI interface. If you are willing to experiment a little you could use the embedded python version to work around that but this won't work with the GUI. Otherwise we would need a reproducable setup and some more information on your platform (OS / Python and SUMO version etc.) Are you using the Python client or which interface to TraCI?
Best regards, Michael Am 14.07.2018 um 16:36 schrieb Zhiqiang Hu: > Hi sumo-users, > I am running a program using Traci to optimize the traffic > light timing.In my program, I have to repeat the simulation for about > 600,000 times.But,when I use SUMO without GUI to run my program,I notice > that every few times later the duration of the simulation is so long may > be hundreds times than others. > Then, I use SUMO-GUI to run my program to see what > happened.And I notice that every few times later, Traci's running is not > smooth,it froze for several seconds.It is a short time,but when I use > SUMO without GUI, it is so long.I don't know why? > I would like to know two things: > 1. Is it possible that Traci's running is not smooth,if > yes,why is it in SUMO so long but in SUMO-GUI short?Or something wrong > in my code? > 2.If it is exist,how to fix it ? > > Thanks in advance! > Best regards, > zhiqiang > > > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user