Hello,
sumo uses phase definitions that always apply to all controlled connections
of an intersection.
If you want to model a longer duration for one of the directions than you
need another phase (and possible new intermediate phases as well).
For the example in the picture the shown phase has state
"grgr"
the next phases would be
"gryr"
"grrr"
or
"yrgr"
"rrgr"
depending on which of the two green phases you wish to prolong.
If you want to make this switch situation dependent, you could put all 4
new phases into the signal plan and use traci to select the next phase.

regards,
Jakob

2018-07-30 16:00 GMT+02:00 Jose Monreal Bailey <[email protected]>:

> I am looking at http://sumo.dlr.de/wiki/Simulation/Traffic_Lights and I
> see the picture with the phase definition numbering in clockwise, where 0
> and 2 are green, but how is this defined?
> I have it both in the same phase for the same duration, but is it possible
> to have them separately starting at the same time?
>
> Best regards,
> José
>
> On Mon, 30 Jul 2018 at 14:31, Jose Monreal Bailey <[email protected]>
> wrote:
>
>> Hey everyone,
>>
>> I have a TrafficLight with defined phases for a intersection with 4 edges.
>> For traffic going north to south and viceversa I use the same phase
>> definition, but is it possible to have them independent and start at the
>> same time?
>> This is because I might one to have sometimes one of this directions last
>> longer or less than the other.
>>
>> 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

Reply via email to