Hello, you have discovered a bug (http://sumo.dlr.de/trac.wsgi/ticket/3079). Thank you for providing the example scenario. As a quick workaround you can increase the space after each busstop (moving gneJ3 15m to the right is enough). regards, Jakob
2017-05-07 5:18 GMT+02:00 Juan David Paez Rivera <[email protected]>: > > > Hello all, > > > Currently I am working on a simulation for public transport involving > heavy loaded lines (with BRT type busses and exclussive lanes). When I run > the simulation sometimes I have a situation in which two buses cause a > deadlock, one wanting to reach bus stop and the other wanting to depart > from bus stop. When this happens, vehicles start waiting for long time > until one reaches the maximum waiting time and start teleporting to next > edge. > > The complete work I am doing involves Traci with Java programming in a > more complex scenario, however I made a simple scenario with just xml and > sumo config files to check if it was my code causing the deadlock but > there it still happens. > > > I send the files attached to this mail for better understandng. I am > running last Sumo (0.30.0) > > > For my simulation it is important vehicles do not teleport, and also must > not skip bus stops. I know I can prevent teleporting by using > "time-to-teleport" parameter, however deadlock would remain forever. I was > wondering if there is a way to detect the deadlock via Traci so I could run > code to resolve the deadlock (sending change lane, stop or resume > commands) or if there's a way to configure vehicletype parameters that > help avoid this kind of deadlocks, like some lane change priority or > something similar. > > It is important to resolve the deadlock as fast as possible before the > waiting busses queue increases, cuase this seems not realistic. > > > What I have try so far, is getting waiting time via Traci and other > vehicle info like lane index, wether has leader or not, etc. but I have > not succesfully detect deadlock with anticipation and without waiting too > long. > > > I would appreciate any kind of help or idea from you on how to resolve the > deadlock. > > > (This is a gif of the simulation if you dont want to open the sumo files. > https://1drv.ms/i/s!At2Rv5kxOW8CgS_iVStKOQmZPS-Q ) > > > Thanks in advance. > > Best Regards, > > > Juan David Páez > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
