Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Toll Booth

Currently, the attribute jmAllwayStop only accepts constant numerical values (though this may change in the future: https://github.com/eclipse-sumo/sumo/issues/8492).
However, you can use a vTypeDistribution to vary the value among the vehicles of a flow: https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#vehicle_type_distributions

regards,
Jakob

Am Mi., 8. Apr. 2026 um 03:23 Uhr schrieb Pedro Oliveira <pedro.engenhariae@xxxxxxxxx>:
Good evening!

I'm going to use the example with allway_stop to simulate a gate at a security checkpoint. I believe the value declared in jmAllwayStopWait="10" means that all vehicles will stop for 10 seconds. Is there any option to have randomness in this time within some probability distribution?

If that's not possible, is it possible to create flows with different types of vehicles and their respective jmAllwayStopWait values and try to distribute them randomly among routes in some way?

I would like some alternative to try to vary the average times at the gate.

Sds,

Pedro Oliveira

Não contém vírus.www.avast.com

Em qua., 8 de out. de 2025 às 04:46, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> escreveu:
If your network happens to not have any junctions of type allway_stop (i.e. in a motorway network) you can exploit the allway_stop related vType parameter 'jmAllwayStopWait' to model a tool booth with custom stopping duration.

If you need allway_stops with normal stopping durations, an alternative is to work with traffic lights.
The easiest solution is to have program that defaults to red and only activates on approaching traffic. thereby forcing a stop for a duration encoded by the transition-to-green duration.

regards,
Jakob


Am Di., 7. Okt. 2025 um 06:26 Uhr schrieb Lorain Salufu via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello,

I am using SUMO to simulate a road network with a toll booth. How can I simulate a toll booth in SUMO?

Thank you,

Lorain.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top