How do I keep a constant number of vehicles?

I am able to generate N trips using randomTrips.py, and I can convert those
to routes.  However, when a vehicle reaches its destination, it is removed
from the simulation. I have tried using flows, but I can only start
additional vehicles on the same routes in a periodic fashion.  What I would
like is when a vehicle reaches its destination then a new instance is
started along the same route from the start position, thus keeping always N
vehicles in the simulation.

I do not think the rerouter will work in my case, because I have hundreds
of random routes in a small urban area, and multiple begin positions may
arrive at the same destination, so I cannot simply reroute *ALL* vehicles
back to one location, because they may have originated from different
places.

-- 

Best,
Scott Carpenter
Graduate student (PhD track), NCSU Department of Computer Science
[email protected]
919-413-5083
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to