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

Looks good. If you are unsure, take a  look at the vehicle in sumo-gui and check their spacing there visually and numerically. (right-clicking on a vehicle and selecting 'Show Parameter' will reveal among other things the position relative to the lane begin. You can use this to check the exact spacing).

regards,
Jakob

Am Mo., 17. Dez. 2018 um 09:11 Uhr schrieb Rishu Chhabra <rishuchh@xxxxxxxxx>:
Hi I have the road speed as 27.78 and specified the period as 4. Thus maximum distance between two vehicles =111m. I am attaching the new .rou.xml file and mobility.tcl file.

It is correct and can I proceed with this??

On Mon, Dec 17, 2018 at 12:19 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
The spacing can be computed from the time gap and the speed of the vehicle (timeGap * speed). With a road speed of 13.89m/s (50km/h) and a time gap of 8 (flow attribute period="8", setting attribute departSpeed="max"), you will get 111m of spacing.
If you want the spacing to remain constant, you also need to set speed deviation to 0
(either in the vType speedDev="0") or sumo option --default.speeddev 0

Am Sa., 15. Dez. 2018 um 06:08 Uhr schrieb Rishu Chhabra <rishuchh@xxxxxxxxx>:
Hi,

I used the above method and created flow of vehicles instead of using random trips. But not able to get that how I can set the period to have the desired distance between the vehicles i.e. 100-150m approximately. How I can calculate the distance between the nodes in .tcl file.
PFA, the route file, .net.xml file and mobility.tcl file.

I am using the below command to generate the mobility.tcl file
/usr/local/share/sumo-0.30.0/tools/traceExporter.py --fcd-input map2Trace_final.xml --ns2config-output map2_final.config.tcl --ns2activity-output map2_final.activity.tcl --ns2mobility-output map2_final.mobility.tcl --penetration 1 --begin 0 --end 100





On Sat, Dec 1, 2018 at 8:06 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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