Then you're better of calling traci.edge.getLastStepHaltingNumber() and
aggregating over the chosen time interval yourself.

2015-05-05 8:06 GMT+02:00 amir nasiri <[email protected]>:

> Hello Jakob, I used this command before and in the other hand, I have no
> problem by the interval time. I have problem in split the values.
>
> For example, the result of the sum values of it in a specific junction is
> like following:
> in the third phase the values is:
> 48, 50, 52, 54, 56, 58, 60, 62, 65 and the next phase (fourth phase) it is:
> 12, 0, 0, 0, 0, ...
>
> In the last phase 12 means that there are some vehicle that sum of waiting
> time becomes 12 from before, but I need that value this phase not before
> time.
>
> On Tue, May 5, 2015 at 10:09 AM, Jakob Erdmann <[email protected]
> > wrote:
>
>> Hello,
>> Use traci.trafficlights.getPhase(). The returned integer corresponds to
>> the order of the phases in the tlLogic definition (starting at 0).
>> regards,
>> Jakob
>>
>> 2015-05-05 7:26 GMT+02:00 amir nasiri <[email protected]>:
>>
>>> Hi everyone,
>>>
>>> I want to calculate the mean waiting time on the lanes related to a
>>> junction and obtain the value of it at each phase of traffic light. For
>>> example, If we have 4 phase, so I want to know in first phase, what is
>>> the
>>> value of the waiting time and the second one and to the last one. I did
>>> it
>>> by TraCI command (traci.lane.getWaitingTime(lane)) and aggregate it in
>>> that
>>> interval, but I have problem in separate it for each phase.
>>>
>>> Have you any suggestion that help me to solve this problem?
>>>
>>> Best regards,
>>> Amir
>>>
>>> --
>>> *Good luck to you.*
>>>
>>> ------------------------------------------------------------------------------
>>> One dashboard for servers and applications across Physical-Virtual-Cloud
>>> Widest out-of-the-box monitoring support with 50+ applications
>>> Performance metrics, stats and reports that give you Actionable Insights
>>> Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>
>>
>>
>
>
> --
> *Good luck to you.*
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to