Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] SUMO traffic model generation

Instead of using randomTrips, define a single flow from the start to the end of the highway and configure the insertion period according to the desired vehicle distance.
See

Am Sa., 1. Dez. 2018 um 11:28 Uhr schrieb Rishu Chhabra <rishuchh@xxxxxxxxx>:
I am using randomTrips.py

On Sat, Dec 1, 2018 at 3:06 PM Rishu Chhabra <rishuchh@xxxxxxxxx> wrote:
Hi,

Thanks for the reply.

I am working on highway scenario and  I guess first option " For a single road, there is the trivial solution of inserting vehicles with a fixed spacing and keeping their speed constant." would work for me. (For the sake of simulation)

Please guide me how to proceed with that.


On Sat, Dec 1, 2018 at 2:41 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Hello,
this is somewhat difficult because the vehicle models are tailored to keeping a minimum distance rather than maximum distance.
For a single road, there is the trivial solution of inserting vehicles with a fixed spacing and keeping their speed constant.
For complex urban networks where vehicles interact at intersections and thus vary their speed all the time,
you could enforce the maximum distance limit by dynamically adding new vehicles wherever large gaps appear.
This can be done using TraCI (the 'context subscription' functionality makes it easy to find vehicles that have no other vehicles within a given radius).

regards,
Jakob

Am Sa., 1. Dez. 2018 um 02:27 Uhr schrieb Rishu Chhabra <rishuchh@xxxxxxxxx>:
Hi

I am trying to generate a traffic model in which I can specify the maximum distance between vehicles. How can I do that in SUMO?

--
Thanks and Regards
Rishu Chhabra
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


--
Thanks and Regards
Rishu Chhabra


--
Thanks and Regards
Rishu Chhabra
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top