Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Actuated, Time Gap based Traffic Lights (was Re: Customerized defined and modified partners of the SUMO)

Harald,

So thanks for your detail explanation.

   I read your explanation referring to the wiki document
   You have almost explained all the parameters which are important to the actued function of TLS 

   Appreciate for the all things!

Best!

Jane




On Fri, Sep 14, 2018 at 10:24 AM Harald Schaefer <haraldschaefer@xxxxxxxxxxx> wrote:
Hi Jane,

see below:

Greetings Harald

Am 14.09.2018 um 16:47 schrieb Jane Cheung:

Harald,

Thanks for your explanation .
1) May I have an understanding that all you explain is  based on the circumstance red light (current state) to green light, not switch from green to red?

First: actuated traffic lights can operate on Time Gaps or Time Loss (delay based)

For time gaps the situation is as follows:

We have a stop line, where the cars have to stop. We have detectors in a distance of detector-gap  (dg) (seconds) before the stop line. If the speed limit is 10 m/s (= 36 km/h), the detectors are 20 m away, if the value of dg is 2.
Now the detector detects the headway between two cars (say C5 and C6 or C6 and C7). If C7 arrives 4 seconds later at the detector than C6 (and map-gap is say 3), the traffic light for this flow goes from green to red (if the green light was at least minDur seconds active).
In other words: as long as the headway between two cars at the detector is less or equal 3, the green light will be extended, until the maxDur value for this phase is reached.
The reason for putting the detectors away from the stop line is to give the drivers the chance to react on the red light
 
    Stop line         Detector
     |<-- dg seconds ->|
————————————————————————
TLS: |  C1 C2  C3 C4 C5 C6 C7    <——( flow direction)
———————————————————————_

>     actuated: if (timeHeadWayInApproach > criticalHeadway) ... switch
For delay based someone else should explain it.
>     delay_based: if (delayInApproach < threshold) ... switch 

2) For example, there are four cars waiting at one intersection.

————————————————————————
TLS: C1 C2  C3 C4     <——( flow direction)
———————————————————————

Just the " the time distance between two adjacent cars C1 and C2" is taken into the consideration?  What does time, distance mean?


Thanks in advance!

Appreciate!





On Thu, Sep 13, 2018 at 2:02 PM Harald Schaefer <haraldschaefer@xxxxxxxxxxx> wrote:
Hi Jane,

the first question was already answered in this group in June

Am 22.06.2018 um 00:44 schrieb Jane Cheung:
> As a reply, the "Switch'means that the traffic lights will change the phase?
> What do  the "timeHeadWayInApproach" and "delayInApproach " mean"? How to get the two parameters?
>
> Regards!
> Jane
>
> On Thu, Jun 21, 2018 at 1:06 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
>
>     Both controllers have a trivial formula that only consists of one inequality each:
>
>     actuated: if (timeHeadWayInApproach > criticalHeadway) ... switch
>     delay_based: if (delayInApproach < threshold) ... switch
>
timeHeadWayInApproach is measured by SUMO using (automatically inserted) E2 detectors, it means the time distance between two adjacent cars c1 and c2.
So the switch is triggered as soon as the gap (or headway) between two cars is greater than a value edited for the TLS.

Similar for delay in approach. If a car in the traffic flow is less delayed by the traffic situation, the switch occurs. Again: this value is computed by SUMO.


To your second question: Here you must compute in a traCi script, when the switch of phases should occur (see the example http://sumo.dlr.de/wiki/Tutorials/TraCIPedCrossing

Regards, Harald

Am 13.09.2018 um 18:20 schrieb Jane Cheung:
Dear all ,

There is some problem that I hope someone could help me.
1) For SUMO, how does the actuated function of TSL define? In other words,  could we express the function by using some mathematical formulation?
 2) If I want to change the default actuated function in SUMO, how to do it?

Best!

On Wed, Sep 12, 2018 at 10:37 AM Jane Cheung <cheung180515@xxxxxxxxx> wrote:

Dear all ,

There is some problem that I hope someone could help me.
1) For SUMO, how does the actuated function of TSL define? In other words,  could we express the function by using some mathematical formulation?
 2) If I want to change the default actuated function in SUMO, how to do it?

Best!

Jane


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Back to the top