Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] query in gap based actuated traffic signal control

hello sir, 
 with this i have attached my net.xml file.thanks for your support.

with thanks 
M S Thilagavathy
Research scholar , 


On Sun, Nov 10, 2019 at 7:44 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
The warnings "has no controlling detector" indicate that actuation is not active at that intersection. This would also be the reason why different parameters do not affect the outputs.
The most likely reason for that warning are unprotected left turns without dedicated turning lanes. Please post a network that contains just the intersection controlled by traffic light n2.

Am Fr., 8. Nov. 2019 um 02:22 Uhr schrieb Thilagavathy Giri <thilagagiri7378@xxxxxxxxx>:
hi all, 
i tried with gap-based actuated traffic control .  i want to know whether  the Max-gap value will affect the summary or trip output.  for a four leg straight cross intersection,   flow is set to 500v/hr.  i changed max-gap value to 2, 4, 5, 9. but there is no difference in summary or trip output. is it possible to get a difference.?
   my another query is 
when simulating with default actuated phase plan there is no warning.  default phase plan is 
<tlLogic id="n2" type="actuated" programID="0" offset="0">
<param key="max-gap" value="3.0"/>
  <param key="detector-gap" value="2.0"/>
  <param key="show-detectors" value="true"/>
  <param key="file" value="NULL"/>
  <param key="freq" value="300"/>
        <phase duration="39" state="GggrrrGggrrr" minDur="15" maxDur="50"/>
        <phase duration="6"  state="yyyrrryyyrrr"/>
        <phase duration="39" state="rrrGggrrrGgg" minDur="15" maxDur="50"/>
        <phase duration="6"  state="rrryyyrrryyy"/>
    </tlLogic>

if i change this phase plan  as below


<additional>
<tlLogic id="n2" type="actuated" programID="1" offset="0">
<param key="max-gap" value="9.0"/>
  <param key="detector-gap" value="2.0"/>
  <param key="show-detectors" value="true"/>
  <param key="file" value="NULL"/>
  <param key="freq" value="300"/>
        <phase duration="45" state="rgrGrgrgrGrg" minDur="15" maxDur="50"/>
        <phase duration="5"  state="ryryryryryry"/>
        <phase duration="35" state="GrgrgrGrgrgr" minDur="15" maxDur="50"/>
        <phase duration="5"  state="yryryryryryr"/>
    </tlLogic>
</additional> 
i get some warning

Loading configuration... done.
Loading net-file from 'E:\thilaga\sumo_demo\thiactuated.net.xml'... done (10ms).
Loading additional-files from 'E:\thilaga\sumo_demo\passdist.add.xml'... done (26ms).
Loading additional-files from 'E:\thilaga\sumo_demo\optacttls.add.xml'...
Warning: At actuated tlLogic 'n2', actuated phase 0 has no controlling detector
Warning: At actuated tlLogic 'n2', actuated phase 2 has no controlling detector
Warning: At actuated tlLogic 'n2', linkIndex 0 has no controlling detector
Warning: At actuated tlLogic 'n2', linkIndex 3 has no controlling detector
Warning: At actuated tlLogic 'n2', linkIndex 6 has no controlling detector
Warning: At actuated tlLogic 'n2', linkIndex 9 has no controlling detector
done (2
ms).
Loading additional-files from 'E:\thilaga\sumo_demo\laacdum.add.xml'... done (1ms).
Loading done.
Simulation started with time: 0.00
Warning: Vehicle '7.0' performs emergency braking with decel=-9.00 wished=4.50 severity=1.00, time=41.00.
Simulation ended at time: 7897.00

 is it ok to proceed or we need to rectify it.  how to rectify .


with thanks and regards
M S Thilagavathy
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.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://www.eclipse.org/mailman/listinfo/sumo-user
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 10/10/19 17:24:05 by Eclipse SUMO netedit Version 1.2.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>

    <input>
        <sumo-net-file value="E:\thilaga\sumo_demo\thiactuated.net.xml"/>
    </input>

    <output>
        <output-file value="E:\thilaga\sumo_demo\thiactuated.net.xml"/>
    </output>

    <processing>
        <geometry.max-grade.fix value="false"/>
        <offset.disable-normalization value="true"/>
        <lefthand value="true"/>
    </processing>

    <junctions>
        <no-turnarounds value="true"/>
        <junctions.corner-detail value="5"/>
        <junctions.limit-turn-speed value="5.5"/>
        <rectangular-lane-cut value="false"/>
    </junctions>

    <pedestrian>
        <walkingareas value="false"/>
    </pedestrian>

</configuration>
-->

<net version="1.1" junctionCornerDetail="5" lefthand="true" limitTurnSpeed="5.50" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd";>

    <location netOffset="500.00,500.00" convBoundary="0.00,0.00,1000.00,1000.00" origBoundary="-500.00,-500.00,500.00,500.00" projParameter="!"/>

    <edge id=":n1_0" function="internal">
        <lane id=":n1_0_0" index="0" speed="3.53" length="4.38" width="3.00" shape="0.00,498.50 -1.13,499.25 -1.50,500.00 -1.13,500.75 0.00,501.50"/>
    </edge>
    <edge id=":n2_0" function="internal">
        <lane id=":n2_0_0" index="0" speed="6.43" length="8.87" width="3.00" shape="495.50,490.00 495.16,492.41 494.13,494.13 492.41,495.16 490.00,495.50"/>
    </edge>
    <edge id=":n2_1" function="internal">
        <lane id=":n2_1_0" index="0" speed="30.00" length="20.00" width="3.00" shape="495.50,490.00 495.50,510.00"/>
    </edge>
    <edge id=":n2_2" function="internal">
        <lane id=":n2_2_0" index="0" speed="9.06" length="11.17" width="3.00" shape="498.50,490.00 499.22,495.03 501.38,498.63 503.00,499.60"/>
    </edge>
    <edge id=":n2_12" function="internal">
        <lane id=":n2_12_0" index="0" speed="9.06" length="7.38" width="3.00" shape="503.00,499.60 504.97,500.78 510.00,501.50"/>
    </edge>
    <edge id=":n2_3" function="internal">
        <lane id=":n2_3_0" index="0" speed="6.43" length="8.87" width="3.00" shape="510.00,495.50 507.59,495.16 505.88,494.13 504.84,492.41 504.50,490.00"/>
    </edge>
    <edge id=":n2_4" function="internal">
        <lane id=":n2_4_0" index="0" speed="30.00" length="20.00" width="3.00" shape="510.00,495.50 490.00,495.50"/>
    </edge>
    <edge id=":n2_5" function="internal">
        <lane id=":n2_5_0" index="0" speed="9.06" length="11.17" width="3.00" shape="510.00,498.50 504.97,499.22 501.38,501.38 500.40,503.00"/>
    </edge>
    <edge id=":n2_13" function="internal">
        <lane id=":n2_13_0" index="0" speed="9.06" length="7.38" width="3.00" shape="500.40,503.00 499.22,504.97 498.50,510.00"/>
    </edge>
    <edge id=":n2_6" function="internal">
        <lane id=":n2_6_0" index="0" speed="6.43" length="8.87" width="3.00" shape="504.50,510.00 504.84,507.59 505.88,505.88 507.59,504.84 510.00,504.50"/>
    </edge>
    <edge id=":n2_7" function="internal">
        <lane id=":n2_7_0" index="0" speed="30.00" length="20.00" width="3.00" shape="504.50,510.00 504.50,490.00"/>
    </edge>
    <edge id=":n2_8" function="internal">
        <lane id=":n2_8_0" index="0" speed="9.06" length="11.17" width="3.00" shape="501.50,510.00 500.78,504.97 498.63,501.38 497.00,500.40"/>
    </edge>
    <edge id=":n2_14" function="internal">
        <lane id=":n2_14_0" index="0" speed="9.06" length="7.38" width="3.00" shape="497.00,500.40 495.03,499.22 490.00,498.50"/>
    </edge>
    <edge id=":n2_9" function="internal">
        <lane id=":n2_9_0" index="0" speed="6.43" length="8.87" width="3.00" shape="490.00,504.50 492.41,504.84 494.13,505.88 495.16,507.59 495.50,510.00"/>
    </edge>
    <edge id=":n2_10" function="internal">
        <lane id=":n2_10_0" index="0" speed="30.00" length="20.00" width="3.00" shape="490.00,504.50 510.00,504.50"/>
    </edge>
    <edge id=":n2_11" function="internal">
        <lane id=":n2_11_0" index="0" speed="9.06" length="11.17" width="3.00" shape="490.00,501.50 495.03,500.78 498.63,498.63 499.60,497.00"/>
    </edge>
    <edge id=":n2_15" function="internal">
        <lane id=":n2_15_0" index="0" speed="9.06" length="7.38" width="3.00" shape="499.60,497.00 500.78,495.03 501.50,490.00"/>
    </edge>
    <edge id=":n3_0" function="internal">
        <lane id=":n3_0_0" index="0" speed="3.53" length="4.38" width="3.00" shape="1000.00,501.50 1001.13,500.75 1001.50,500.00 1001.13,499.25 1000.00,498.50"/>
    </edge>
    <edge id=":n4_0" function="internal">
        <lane id=":n4_0_0" index="0" speed="3.53" length="4.38" width="3.00" shape="498.50,1000.00 499.25,1001.13 500.00,1001.50 500.75,1001.13 501.50,1000.00"/>
    </edge>
    <edge id=":n5_0" function="internal">
        <lane id=":n5_0_0" index="0" speed="3.53" length="4.38" width="3.00" shape="501.50,-0.00 500.75,-1.13 500.00,-1.50 499.25,-1.13 498.50,-0.00"/>
    </edge>

    <edge id="1to2" from="n1" to="n2" priority="2" type="2L30">
        <lane id="1to2_0" index="0" speed="30.00" length="490.00" width="3.00" shape="0.00,504.50 490.00,504.50"/>
        <lane id="1to2_1" index="1" speed="30.00" length="490.00" width="3.00" shape="0.00,501.50 490.00,501.50"/>
    </edge>
    <edge id="3to2" from="n3" to="n2" priority="2" type="2L30">
        <lane id="3to2_0" index="0" speed="30.00" length="490.00" width="3.00" shape="1000.00,495.50 510.00,495.50"/>
        <lane id="3to2_1" index="1" speed="30.00" length="490.00" width="3.00" shape="1000.00,498.50 510.00,498.50"/>
    </edge>
    <edge id="4to2" from="n4" to="n2" priority="2" type="2L30">
        <lane id="4to2_0" index="0" speed="30.00" length="490.00" width="3.00" shape="504.50,1000.00 504.50,510.00"/>
        <lane id="4to2_1" index="1" speed="30.00" length="490.00" width="3.00" shape="501.50,1000.00 501.50,510.00"/>
    </edge>
    <edge id="5to2" from="n5" to="n2" priority="2" type="2L30">
        <lane id="5to2_0" index="0" speed="30.00" length="490.00" width="3.00" shape="495.50,0.00 495.50,490.00"/>
        <lane id="5to2_1" index="1" speed="30.00" length="490.00" width="3.00" shape="498.50,0.00 498.50,490.00"/>
    </edge>
    <edge id="out1" from="n2" to="n1" priority="2" type="2L30">
        <lane id="out1_0" index="0" speed="30.00" length="490.00" width="3.00" shape="490.00,495.50 0.00,495.50"/>
        <lane id="out1_1" index="1" speed="30.00" length="490.00" width="3.00" shape="490.00,498.50 0.00,498.50"/>
    </edge>
    <edge id="out2" from="n2" to="n3" priority="2" type="2L30">
        <lane id="out2_0" index="0" speed="30.00" length="490.00" width="3.00" shape="510.00,504.50 1000.00,504.50"/>
        <lane id="out2_1" index="1" speed="30.00" length="490.00" width="3.00" shape="510.00,501.50 1000.00,501.50"/>
    </edge>
    <edge id="out3" from="n2" to="n4" priority="2" type="2L30">
        <lane id="out3_0" index="0" speed="30.00" length="490.00" width="3.00" shape="495.50,510.00 495.50,1000.00"/>
        <lane id="out3_1" index="1" speed="30.00" length="490.00" width="3.00" shape="498.50,510.00 498.50,1000.00"/>
    </edge>
    <edge id="out4" from="n2" to="n5" priority="2" type="2L30">
        <lane id="out4_0" index="0" speed="30.00" length="490.00" width="3.00" shape="504.50,490.00 504.50,0.00"/>
        <lane id="out4_1" index="1" speed="30.00" length="490.00" width="3.00" shape="501.50,490.00 501.50,0.00"/>
    </edge>

    <tlLogic id="n2" type="actuated" programID="0" offset="0">
	<param key="max-gap" value="3.0"/>
  <param key="detector-gap" value="2.0"/>
  <param key="show-detectors" value="true"/>
  <param key="file" value="NULL"/>
  <param key="freq" value="300"/>
        <phase duration="39" state="GggrrrGggrrr" minDur="15" maxDur="50"/>
        <phase duration="6"  state="yyyrrryyyrrr"/>
        <phase duration="39" state="rrrGggrrrGgg" minDur="15" maxDur="50"/>
        <phase duration="6"  state="rrryyyrrryyy"/>
    </tlLogic>

    <junction id="n1" type="priority" x="0.00" y="500.00" incLanes="out1_0 out1_1" intLanes=":n1_0_0" shape="0.00,500.00 0.00,494.00 0.00,500.00">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="n2" type="traffic_light" x="500.00" y="500.00" incLanes="5to2_0 5to2_1 3to2_0 3to2_1 4to2_0 4to2_1 1to2_0 1to2_1" intLanes=":n2_0_0 :n2_1_0 :n2_12_0 :n2_3_0 :n2_4_0 :n2_13_0 :n2_6_0 :n2_7_0 :n2_14_0 :n2_9_0 :n2_10_0 :n2_15_0" shape="494.00,490.00 506.00,490.00 506.44,492.22 507.00,493.00 507.78,493.56 508.78,493.89 510.00,494.00 510.00,506.00 507.78,506.44 507.00,507.00 506.44,507.78 506.11,508.78 506.00,510.00 494.00,510.00 493.56,507.78 493.00,507.00 492.22,506.44 491.22,506.11 490.00,506.00 490.00,494.00 492.22,493.56 493.00,493.00 493.56,492.22 493.89,491.22">
        <request index="0"  response="000000000000" foes="000000010000" cont="0"/>
        <request index="1"  response="100000000000" foes="111100010000" cont="0"/>
        <request index="2"  response="100010100000" foes="100010110000" cont="1"/>
        <request index="3"  response="000010000000" foes="000010000000" cont="0"/>
        <request index="4"  response="000010000111" foes="100010000111" cont="0"/>
        <request index="5"  response="010110000100" foes="010110000100" cont="1"/>
        <request index="6"  response="000000000000" foes="010000000000" cont="0"/>
        <request index="7"  response="000000100000" foes="010000111100" cont="0"/>
        <request index="8"  response="100000100010" foes="110000100010" cont="1"/>
        <request index="9"  response="000000000010" foes="000000000010" cont="0"/>
        <request index="10" response="000111000010" foes="000111100010" cont="0"/>
        <request index="11" response="000100010110" foes="000100010110" cont="1"/>
    </junction>
    <junction id="n3" type="priority" x="1000.00" y="500.00" incLanes="out2_0 out2_1" intLanes=":n3_0_0" shape="1000.00,500.00 1000.00,506.00 1000.00,500.00">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="n4" type="priority" x="500.00" y="1000.00" incLanes="out3_0 out3_1" intLanes=":n4_0_0" shape="500.00,1000.00 494.00,1000.00 500.00,1000.00">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="n5" type="priority" x="500.00" y="0.00" incLanes="out4_0 out4_1" intLanes=":n5_0_0" shape="500.00,-0.00 506.00,-0.00 500.00,-0.00">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>

    <junction id=":n2_12_0" type="internal" x="503.00" y="499.60" incLanes=":n2_2_0 4to2_0" intLanes=":n2_4_0 :n2_5_0 :n2_6_0 :n2_7_0 :n2_10_0 :n2_11_0"/>
    <junction id=":n2_13_0" type="internal" x="500.40" y="503.00" incLanes=":n2_5_0 1to2_0" intLanes=":n2_1_0 :n2_2_0 :n2_7_0 :n2_8_0 :n2_9_0 :n2_10_0"/>
    <junction id=":n2_14_0" type="internal" x="497.00" y="500.40" incLanes=":n2_8_0 5to2_0" intLanes=":n2_0_0 :n2_1_0 :n2_4_0 :n2_5_0 :n2_10_0 :n2_11_0"/>
    <junction id=":n2_15_0" type="internal" x="499.60" y="497.00" incLanes=":n2_11_0 3to2_0" intLanes=":n2_1_0 :n2_2_0 :n2_3_0 :n2_4_0 :n2_7_0 :n2_8_0"/>

    <connection from="1to2" to="out3" fromLane="0" toLane="0" via=":n2_9_0" tl="n2" linkIndex="10" dir="l" state="o"/>
    <connection from="1to2" to="out2" fromLane="0" toLane="0" via=":n2_10_0" tl="n2" linkIndex="9" dir="s" state="o"/>
    <connection from="1to2" to="out4" fromLane="1" toLane="1" via=":n2_11_0" tl="n2" linkIndex="11" dir="r" state="o"/>
    <connection from="3to2" to="out4" fromLane="0" toLane="0" via=":n2_3_0" tl="n2" linkIndex="4" dir="l" state="o"/>
    <connection from="3to2" to="out1" fromLane="0" toLane="0" via=":n2_4_0" tl="n2" linkIndex="3" dir="s" state="o"/>
    <connection from="3to2" to="out3" fromLane="1" toLane="1" via=":n2_5_0" tl="n2" linkIndex="5" dir="r" state="o"/>
    <connection from="4to2" to="out2" fromLane="0" toLane="0" via=":n2_6_0" tl="n2" linkIndex="1" dir="l" state="O"/>
    <connection from="4to2" to="out4" fromLane="0" toLane="0" via=":n2_7_0" tl="n2" linkIndex="0" dir="s" state="O"/>
    <connection from="4to2" to="out1" fromLane="1" toLane="1" via=":n2_8_0" tl="n2" linkIndex="2" dir="r" state="o"/>
    <connection from="5to2" to="out1" fromLane="0" toLane="0" via=":n2_0_0" tl="n2" linkIndex="7" dir="l" state="O"/>
    <connection from="5to2" to="out3" fromLane="0" toLane="0" via=":n2_1_0" tl="n2" linkIndex="6" dir="s" state="O"/>
    <connection from="5to2" to="out2" fromLane="1" toLane="1" via=":n2_2_0" tl="n2" linkIndex="8" dir="r" state="o"/>
    <connection from="out1" to="1to2" fromLane="1" toLane="1" via=":n1_0_0" dir="T" state="M"/>
    <connection from="out2" to="3to2" fromLane="1" toLane="1" via=":n3_0_0" dir="T" state="M"/>
    <connection from="out3" to="4to2" fromLane="1" toLane="1" via=":n4_0_0" dir="T" state="M"/>
    <connection from="out4" to="5to2" fromLane="1" toLane="1" via=":n5_0_0" dir="T" state="M"/>

    <connection from=":n1_0" to="1to2" fromLane="0" toLane="1" dir="T" state="M"/>
    <connection from=":n2_0" to="out1" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":n2_1" to="out3" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":n2_2" to="out2" fromLane="0" toLane="1" via=":n2_12_0" dir="r" state="m"/>
    <connection from=":n2_12" to="out2" fromLane="0" toLane="1" dir="r" state="M"/>
    <connection from=":n2_3" to="out4" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":n2_4" to="out1" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":n2_5" to="out3" fromLane="0" toLane="1" via=":n2_13_0" dir="r" state="m"/>
    <connection from=":n2_13" to="out3" fromLane="0" toLane="1" dir="r" state="M"/>
    <connection from=":n2_6" to="out2" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":n2_7" to="out4" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":n2_8" to="out1" fromLane="0" toLane="1" via=":n2_14_0" dir="r" state="m"/>
    <connection from=":n2_14" to="out1" fromLane="0" toLane="1" dir="r" state="M"/>
    <connection from=":n2_9" to="out3" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":n2_10" to="out2" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":n2_11" to="out4" fromLane="0" toLane="1" via=":n2_15_0" dir="r" state="m"/>
    <connection from=":n2_15" to="out4" fromLane="0" toLane="1" dir="r" state="M"/>
    <connection from=":n3_0" to="3to2" fromLane="0" toLane="1" dir="T" state="M"/>
    <connection from=":n4_0" to="4to2" fromLane="0" toLane="1" dir="T" state="M"/>
    <connection from=":n5_0" to="5to2" fromLane="0" toLane="1" dir="T" state="M"/>

</net>

Back to the top