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

Reply via email to