On Apr 14, 2015, at 9:58 AM, SHREYAS JAYANNA (RIT Student) <[email protected]>
wrote:
> Thanks Jacob.
>
> One more follow-up question on this - Is there an option to turn off the
> teleporting feature of sumo while initiating it?
> I'm trying to measure the travel time with traffic congestions and with an
> algorithm which tries to reduce traffic congestions. If I can turn off the
> teleporting feature, I could get accurate results.
>From “sumo —help”:
—time-to-teleport TIME
Specify how long a vehicle may wait
until being teleported, defaults to
300, non-positive values disable
teleporting
It looks like “—time-to-teleport -1” should do what you want.
hth
- Tom
> Regards,
> Shreyas
>
> On Tue, Apr 14, 2015 at 2:28 AM, Jakob Erdmann <[email protected]>
> wrote:
>
>> Hello,
>> there is currently no simpler method for detecting small jams. You could
>> use subscriptions (sumo.dlr.de/wiki/TraCI/Object_Variable_Subscription)
>> to reduce the communication overhead. If you want to detect large jams
>> (vehicles get blocked for 300 seconds and start teleporting) you can use
>> traci.simulation.getStartingTeleportNumber()
>> regards,
>> Jakob
>>
>> 2015-04-14 3:24 GMT+02:00 SHREYAS JAYANNA (RIT Student) <[email protected]>:
>>
>>> Hello,
>>>
>>> Is there a way to find out if a traffic jam occurred in a timestep through
>>> traci?
>>>
>>> Currently I'm calling getLastStepHaltingNumber() on an edge from traci4j
>>> to
>>> find out how many vehicles halted on an edge in a timestep and if this
>>> number is about 80% of the maximum number of vehicles an edge can have on
>>> it, I'm considering it as a congestion.
>>>
>>> The problem is that I have to check this for every edge from the 50 routes
>>> that will be active in the simulation and this takes a lot of time since
>>> sumo has to be queried for this information for 500+ edges. Any better way
>>> to do it would be really awesome!
>>>
>>> Please let me know if any of you know a method to do this which would take
>>> lesser time.
>>>
>>> Thanks & Regards,
>>> Shreyas
>>>
>>> ------------------------------------------------------------------------------
>>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>>> Develop your own process in accordance with the BPMN 2 standard
>>> Learn Process modeling best practices with Bonita BPM through live
>>> exercises
>>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>>> event?utm_
>>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>
>>
>>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user