- see
http://sumo.dlr.de/wiki/Simulation/Output/Traffic_Lights#Coupled_Lane_Area_Detectors
- at runtime you can only retrieve the un-aggregated value for the last
step. You will have to perform aggregation yourself.
- an alternative would be to implement a novel switching algorithm within
sumo. However, this is more difficult and the main advantage would be
execution speed for large scenarios.

regards,
Jakob


2018-07-23 12:03 GMT+02:00 Jose Monreal Bailey <[email protected]>:

> Hi Jakob,
>
> When you say "*E2 detectors can be coupled to the switching of the
> traffic light.*" does this means that the aggregation is made by the
> traffic phase at each cycle?
> What is the option for this?
> On the same question, is it possible to retrieve that value in run-time
> during the simulation?
> I want to take actions on this number that is changing at every step of
> the simulation.
> One idea I had was to retrieve this data at each phase, or for the
> trafficlights to retrieve it and process it, for the edges that is
> controlling.
>
> Best regards,
> José
>
> On Thu, 19 Jul 2018 at 21:12, Jakob Erdmann <[email protected]> wrote:
>
>> If the desired direction has a dedicate turning lane you can use any of
>> the detectors or even laneData output.
>> Otherwise you have to use an E3 detector that covers the relevant
>> incoming and outgoing lane.
>> All these options allow aggregation by a configuragable interval.
>> E2 detectors can be coupled to the switching of the traffic light.
>>
>> 2018-07-19 18:06 GMT+02:00 Jose Monreal Bailey <[email protected]>:
>>
>>> Hi Jakob,
>>>
>>> Regarding to retrieving the vehicle rate per unit of time(second,
>>> minutes) passing through a junction in a certain direction, what would be
>>> the best approach, if I need to retrieve it in run time every X unit of
>>> time, or under certain event.
>>>
>>> Best regards,
>>> José
>>>
>>> On Tue, 3 Jul 2018 at 14:43, Jakob Erdmann <[email protected]>
>>> wrote:
>>>
>>>> see http://sumo.dlr.de/wiki/Simulation/Output#values_for_junctions
>>>> If you want to separate the directions you can also use E3 detectors
>>>> but you have to define them manually rather than with the linked scripts.
>>>>
>>>> Another very basic approach is
>>>>   grep -c "edge1 edge2"' vehroutes.xml
>>>> To count the total number of vehicles taking a particular turn from
>>>> edge1 to edge2
>>>>
>>>> regards,
>>>> Jakob
>>>>
>>>>
>>>> 2018-07-03 13:28 GMT+02:00 Jose Monreal Bailey <[email protected]>:
>>>>
>>>>> Dear all,
>>>>>
>>>>> How can I get the vehicle rate per second passing trough a Traffic
>>>>> Light.
>>>>> And how can I get the number of vehicles going taking different
>>>>> directions in that junction?
>>>>>
>>>>> Best regards,
>>>>> José
>>>>>
>>>>> _______________________________________________
>>>>> sumo-user mailing list
>>>>> [email protected]
>>>>> To change your delivery options, retrieve your password, or
>>>>> unsubscribe from this list, visit
>>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>>>
>>>> _______________________________________________
>>>> sumo-user mailing list
>>>> [email protected]
>>>> To change your delivery options, retrieve your password, or unsubscribe
>>>> from this list, visit
>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to