Hi Michael and Anderson,
Thank you so much for your reply.
Anderson, I would definitely like to have a look at your code.. That would be
helpful. I really appreciate it.
Best regards,Tran
On Friday, July 24, 2015 7:18 AM, Anderson Rocha
<[email protected]> wrote:
Some time ago I developed a script that inserted a new vehicle when another
was removed by SUMO after finishing its trip.
It does not re-route as you asked, but still may be useful...
I don't have it right now, but if you would you like to take a look I can
search for it and send you.
Regards,
--
Anderson Rocha Tavares
http://dcc.ufmg.br/~anderson
2015-07-22 8:08 GMT-03:00 Michael Behrisch <[email protected]>:
Hi Tran,
sorry for the delay, sourceforge was down.
Am 2015-07-14 20:14, schrieb Nguyen Nguyen:
> Hello All,
> I want to maintain a constant number of vehicles in an imported map.
> Vehicles will pick a trip initially, stop at the destination, wait for
> an amount of time and then follows another trip. Can I do this with
> SUMO? Could you please give me some advice? Can I use TraCi to obtain
> this?
Yes you can of course let you notify via traCI whenever a vehicle ends
its route and insert a new one then. But since you mention a large
network you probably have a severe runtime overhead when using TraCI
with a lot of vehicles. But if you need TraCI anyway then go for it.
> The map is quite large so I don't know if using the rerouter is
> suitable.
Did you try the randomTrips approach mentioned here?
http://sumo.dlr.de/wiki/FAQ#How_do_I_maintain_the_same_number_of_vehicles_in_the_net.3F
Regards,
Michael
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user