Dear Vaibhav Rungta,

the trouble is in your route file and also a bit in your net file.

Your vehicles travel on a very long edge A2E2.
This is a single edge which goes straight from A2 to D2
and does not touch the tls junctions B2 C2 D2.

Edge A2E2 is overlayed by the edges A2B2 B2C2 C2D2 D2E2
which do touch the traffic light intersections.

Vesicles on A2E2 never see the traffic lights of B2 C2 and D2 since
they are on a completely different edge.

To get your scenario running change your routes in the route file to:

<route id = "LR" edges = "A2B2 B2C2 C2D2 D2E2"/>
<route id = "DU" edges = "B0B1 B1B2 B2B3 B3B4"/>
<route id = "UD" edges = "D0D1 D1D2 D2D3 D3D4"/>
(you may use the attached file)

and to avoid confusions remove the edges A2E2 B0B4 D0D4
from your att1.edg.xml file.

Best Regards
Marek Heinrich
simoserv GmbH



On 19.10.2016 19:41, Vaibhav Rungta wrote:
Hello,
I am trying create a simple network and analyze how vehicles transit.
Currently vehicles aren't stopping at the red light.
I have created two nodes which have traffic lights. The default program is
currently controlling the traffic light phases. I tried a couple of things
like inclusion of link index in configuration file description but still
doesn't work.
I have included the required files:
- Network file
- Connection file
- Route file
- SUMO configuration file
Please help me figure out why this is happening.


Regards,
Vaibhav Rungta
Graduate Student - Industrial and Systems Engineering
Graduate Assistant - Toyota Production Systems Lab
585-754-7133


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

<?xml version="1.0" encoding="UTF-8"?>
<routes>
	<vType id = "typA" accel = "0.8" decel ="4.5" sigma = "0.7" length = "4.5" maxspeed = "70" emissionClass = "P_7_7"/>
	<vType id = "typB" accel = "0.6" decel ="4.5" sigma = "0.8" length = "4.5" maxspeed = "70" emissionClass = "P_7_5"/>
	<vType id = "typC" accel = "0.8" decel ="4.5" sigma = "0.9" length = "6" maxspeed = "70"  emissionClass = "P_7_6"/>
	<vType id = "typD" accel = "0.3" decel ="4.5" sigma = "0.9" length = "10" maxspeed = "60"  emissionClass = "HDV_3_1"/>

	<route id = "LR" edges = "A2B2 B2C2 C2D2 D2E2"/>
	<route id = "DU" edges = "B0B1 B1B2 B2B3 B3B4"/>
	<route id = "UD" edges = "D0D1 D1D2 D2D3 D3D4"/>

	<!--route id = "LR" edges = "A2E2"/>
	<route id = "DU" edges = "B0B4"/>
	<route id = "UD" edges = "D0D4"/-->
	
	<vehicle id = "v1" type = "typA" route = "LR" depart = "0"/>
	<vehicle id = "v5" type = "typA" route = "DU" depart = "0"/>
	<vehicle id = "v9" type = "typA" route = "UD" depart = "0"/>
	<vehicle id = "v2" type = "typB" route = "LR" depart = "10"/>
	<vehicle id = "v6" type = "typB" route = "DU" depart = "10"/>
	<vehicle id = "v10" type = "typB" route = "UD" depart = "10"/>
	<vehicle id = "v3" type = "typC" route = "LR" depart = "20"/>
	<vehicle id = "v7" type = "typC" route = "DU" depart = "20"/>
	<vehicle id = "v11" type = "typC" route = "UD" depart = "20"/>
	<vehicle id = "v4" type = "typD" route = "LR" depart = "30"/>
	<vehicle id = "v8" type = "typD" route = "DU" depart = "30"/>
	<vehicle id = "v12" type = "typD" route = "UD" depart = "30"/>
	<vehicle id = "v13" type = "typB" route = "LR" depart = "40"/>
	<vehicle id = "v14" type = "typB" route = "LR" depart = "50"/>
	<vehicle id = "v15" type = "typC" route = "LR" depart = "60"/>
	<vehicle id = "v16" type = "typA" route = "LR" depart = "70"/>
	<vehicle id = "v17" type = "typD" route = "DU" depart = "80"/>
	<vehicle id = "v18" type = "typB" route = "DU" depart = "90"/>
	<vehicle id = "v19" type = "typC" route = "DU" depart = "100"/>
	<vehicle id = "v20" type = "typA" route = "DU" depart = "110"/>
	<vehicle id = "v21" type = "typA" route = "UD" depart = "120"/>
	<vehicle id = "v22" type = "typB" route = "UD" depart = "130"/>
	<vehicle id = "v23" type = "typD" route = "UD" depart = "140"/>
	<vehicle id = "v24" type = "typD" route = "UD" depart = "150"/>
	<vehicle id = "v25" type = "typB" route = "LR" depart = "160"/>
	<vehicle id = "v26" type = "typB" route = "LR" depart = "170"/>
	<vehicle id = "v27" type = "typD" route = "LR" depart = "180"/>
	<vehicle id = "v28" type = "typA" route = "LR" depart = "190"/>
	<vehicle id = "v29" type = "typA" route = "DU" depart = "200"/>
	<vehicle id = "v30" type = "typB" route = "DU" depart = "210"/>
	<vehicle id = "v31" type = "typD" route = "DU" depart = "220"/>
	<vehicle id = "v32" type = "typD" route = "DU" depart = "230"/>
	<vehicle id = "v33" type = "typC" route = "UD" depart = "240"/>
	<vehicle id = "v34" type = "typB" route = "UD" depart = "250"/>
	<vehicle id = "v35" type = "typA" route = "UD" depart = "260"/>
	<vehicle id = "v36" type = "typB" route = "UD" depart = "270"/>
	<vehicle id = "v37" type = "typD" route = "LR" depart = "280"/>
	<vehicle id = "v38" type = "typB" route = "LR" depart = "290"/>
	<vehicle id = "v39" type = "typC" route = "LR" depart = "300"/>
	<vehicle id = "v40" type = "typD" route = "LR" depart = "310"/>
	<vehicle id = "v41" type = "typD" route = "DU" depart = "320"/>
	<vehicle id = "v42" type = "typB" route = "DU" depart = "330"/>
	<vehicle id = "v43" type = "typC" route = "DU" depart = "340"/>
	<vehicle id = "v44" type = "typA" route = "DU" depart = "350"/>
	<vehicle id = "v45" type = "typA" route = "UD" depart = "360"/>
	<vehicle id = "v46" type = "typB" route = "UD" depart = "370"/>
	<vehicle id = "v47" type = "typA" route = "UD" depart = "380"/>
	<vehicle id = "v48" type = "typA" route = "UD" depart = "390"/>
</routes>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to