On Thu, Jun 23, 2016 at 2:52 PM, Ramees pm <[email protected]> wrote:
> how to generate or input vehicles in different lane in sumo, i tried a lot
> but i cannot get it, can you give me an example?
>
> --
> With Regards,
> RAMEES PM
> M.Tech Transportation Division
> NIT Warangal
>
--
With Regards,
RAMEES PM
M.Tech Transportation Division
NIT Warangal
<detectors>
<e1Detector id ="2x" lane="2_0" pos="-40" freq="1" file="e1demo.detc.xml"/>
<e1Detector id ="3x" lane="7_0" pos="-40" freq="1" file="e1demo.detc.xml"/>
<e1Detector id ="4x" lane="5_0" pos="-40" freq="1" file="e1demo.detc.xml"/>
<e1Detector id ="5x" lane="3_0" pos="-40" freq="1" file="e1demo.detc.xml"/>
</detectors>
<flows>
<interval begin="0" end="3600">
<flow id="waq11" from="2" to="4" number="500" type="Car1"/>
<flow id="awq11" from="2" to="6" number="600" type="Car1"/>
<flow id="aqw11" from="2" to="8" number="700" type="Car1"/>
<flow id="aq1w1" from="3" to="6" number="800" type="Car1"/>
<flow id="aq11w" from="3" to="8" number="900" type="Car1"/>
<flow id="eaq11" from="3" to="1" number="300" type="Car1"/>
<flow id="aeq11" from="5" to="1" number="400" type="Car1"/>
<flow id="aqe11" from="5" to="4" number="500" type="Car1"/>
<flow id="aq1e1" from="5" to="8" number="500" type="Car1"/>
<flow id="aq11e" from="7" to="1" number="600" type="Car1"/>
<flow id="raq11" from="7" to="4" number="700" type="Car1"/>
<flow id="arq11" from="7" to="8" number="500" type="Car1"/>
</interval>
</flows>
<trips>
<vType id="Car1" departLane ="free" accel="1.8" length="3.5" maxSpeed="50" color="1,1,0" minGap="0.8" tau="1" speedFactor="1" speedDev="0.1" decel="4.5" carFollowModel="Krauss" />
<trip id="aa11" depart="0" from="2" to="4" type="Car1"/>
<trip id="aa11x" depart="0" from="2" to="6" type="Car1"/>
<trip id="aa11s" depart="0" from="2" to="8" type="Car1"/>
<trip id="aa11a" depart="0" from="3" to="6" type="Car1"/>
<trip id="aqa11" depart="0" from="3" to="8" type="Car1"/>
<trip id="aaq11x" depart="0" from="3" to="1" type="Car1"/>
<trip id="aa1q1s" depart="0" from="5" to="1" type="Car1"/>
<trip id="aa11qa" depart="0" from="5" to="4" type="Car1"/>
<trip id="aeqa11" depart="0" from="5" to="8" type="Car1"/>
<trip id="aaeq11x" depart="0" from="7" to="1" type="Car1"/>
<trip id="aa1eq1s" depart="0" from="7" to="4" type="Car1"/>
<trip id="aa11eqa" depart="0" from="7" to="6" type="Car1"/>
</trips>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 23-Jun-16 1:35:18 PM by Netedit Version 0.25.0
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netedit.exeConfiguration.xsd">
<input>
<sumo-net-file value="C:\Users\Rameez%20PM\Desktop\ITS\testing\new.net.xml"/>
</input>
<output>
<output-file value="C:\Users\Rameez%20PM\Desktop\ITS\testing\new.net.xml"/>
</output>
<processing>
<no-turnarounds value="true"/>
<offset.disable-normalization value="true"/>
<lefthand value="true"/>
<junctions.corner-detail value="0"/>
</processing>
</configuration>
-->
<net version="0.25" lefthand="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd">
<location netOffset="0.00,-0.00" convBoundary="-80.86,1.00,137.03,94.56" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>
<edge id=":gneJ7_0" function="internal">
<lane id=":gneJ7_0_0" index="0" speed="13.89" length="5.11" shape="58.53,37.45 57.12,37.43 56.09,36.95 55.44,36.01 55.18,34.62"/>
</edge>
<edge id=":gneJ7_1" function="internal">
<lane id=":gneJ7_1_0" index="0" speed="13.89" length="16.77" shape="58.53,37.45 53.68,38.07 50.35,38.43 47.00,38.66 42.11,38.89"/>
<lane id=":gneJ7_1_1" index="1" speed="13.89" length="16.77" shape="58.95,40.72 54.02,41.35 50.63,41.72 47.23,41.96 42.26,42.19"/>
<lane id=":gneJ7_1_2" index="2" speed="13.89" length="16.77" shape="59.37,44.00 54.35,44.64 50.91,45.01 47.46,45.25 42.40,45.49"/>
</edge>
<edge id=":gneJ7_4" function="internal">
<lane id=":gneJ7_4_0" index="0" speed="13.89" length="6.93" shape="59.37,44.00 54.88,45.18 53.01,46.49"/>
</edge>
<edge id=":gneJ7_15" function="internal">
<lane id=":gneJ7_15_0" index="0" speed="13.89" length="9.82" shape="53.01,46.49 51.68,47.43 49.78,50.72 49.17,55.07"/>
</edge>
<edge id=":gneJ7_5" function="internal">
<lane id=":gneJ7_5_0" index="0" speed="13.89" length="7.02" shape="55.76,55.01 56.02,53.27 56.85,51.95 58.25,51.04 60.22,50.54"/>
</edge>
<edge id=":gneJ7_6" function="internal">
<lane id=":gneJ7_6_0" index="0" speed="13.89" length="20.70" shape="55.76,55.01 55.17,49.03 53.94,44.88 52.65,40.73 51.88,34.76"/>
</edge>
<edge id=":gneJ7_7" function="internal">
<lane id=":gneJ7_7_0" index="0" speed="13.89" length="6.46" shape="52.46,55.04 51.79,50.70 50.70,48.94"/>
</edge>
<edge id=":gneJ7_16" function="internal">
<lane id=":gneJ7_16_0" index="0" speed="13.89" length="9.48" shape="50.70,48.94 49.90,47.66 46.77,45.92 42.40,45.49"/>
</edge>
<edge id=":gneJ7_8" function="internal">
<lane id=":gneJ7_8_0" index="0" speed="13.89" length="5.04" shape="42.69,52.07 44.07,52.21 45.06,52.76 45.66,53.72 45.87,55.09"/>
</edge>
<edge id=":gneJ7_9" function="internal">
<lane id=":gneJ7_9_0" index="0" speed="13.89" length="17.47" shape="42.69,52.07 47.91,51.83 51.48,51.59 55.03,51.20 60.22,50.54"/>
<lane id=":gneJ7_9_1" index="1" speed="13.89" length="17.47" shape="42.54,48.78 47.68,48.54 51.19,48.30 54.69,47.92 59.80,47.27"/>
</edge>
<edge id=":gneJ7_11" function="internal">
<lane id=":gneJ7_11_0" index="0" speed="13.89" length="5.79" shape="42.54,48.78 46.84,47.74 47.86,46.82"/>
</edge>
<edge id=":gneJ7_17" function="internal">
<lane id=":gneJ7_17_0" index="0" speed="13.89" length="13.27" shape="47.86,46.82 49.83,45.06 51.51,40.73 51.88,34.76"/>
</edge>
<edge id=":gneJ7_12" function="internal">
<lane id=":gneJ7_12_0" index="0" speed="13.89" length="5.70" shape="45.30,35.03 45.16,36.67 44.58,37.85 43.57,38.60 42.11,38.89"/>
</edge>
<edge id=":gneJ7_13" function="internal">
<lane id=":gneJ7_13_0" index="0" speed="13.89" length="20.18" shape="48.60,34.90 48.85,40.86 49.01,44.98 49.10,49.10 49.17,55.07"/>
</edge>
<edge id=":gneJ7_14" function="internal">
<lane id=":gneJ7_14_0" index="0" speed="13.89" length="11.42" shape="48.60,34.90 49.51,40.82 51.69,44.86 52.40,45.31"/>
</edge>
<edge id=":gneJ7_18" function="internal">
<lane id=":gneJ7_18_0" index="0" speed="13.89" length="7.89" shape="52.40,45.31 55.11,47.01 59.80,47.27"/>
</edge>
<edge id="1" from="gneJ7" to="gneJ6" priority="1" spreadType="center" shape="50.71,41.82 -80.86,47.55">
<lane id="1_0" index="0" speed="13.89" length="123.23" shape="42.11,38.89 -81.00,44.26"/>
<lane id="1_1" index="1" speed="13.89" length="123.23" shape="42.26,42.19 -80.86,47.55"/>
<lane id="1_2" index="2" speed="13.89" length="123.23" shape="42.40,45.49 -80.71,50.85"/>
</edge>
<edge id="2" from="gneJ6" to="gneJ7" priority="1" spreadType="center" shape="-80.50,55.80 50.97,50.06">
<lane id="2_0" index="0" speed="13.89" length="123.23" shape="-80.42,57.45 42.69,52.07"/>
<lane id="2_1" index="1" speed="13.89" length="123.23" shape="-80.57,54.15 42.54,48.78"/>
</edge>
<edge id="3" from="gneJ10" to="gneJ7" priority="1" spreadType="center" shape="54.46,94.50 54.03,46.51">
<lane id="3_0" index="0" speed="13.89" length="39.48" shape="56.11,94.49 55.76,55.01"/>
<lane id="3_1" index="1" speed="13.89" length="39.48" shape="52.81,94.52 52.46,55.04"/>
</edge>
<edge id="4" from="gneJ7" to="gneJ10" priority="1" spreadType="center" shape="47.45,46.57 47.86,94.56">
<lane id="4_0" index="0" speed="13.89" length="39.48" shape="45.87,55.09 46.21,94.57"/>
<lane id="4_1" index="1" speed="13.89" length="39.48" shape="49.17,55.07 49.51,94.54"/>
</edge>
<edge id="5" from="gneJ9" to="gneJ7" priority="1" spreadType="center" shape="136.13,30.80 50.11,41.86">
<lane id="5_0" index="0" speed="13.89" length="77.53" shape="135.43,27.57 58.53,37.45"/>
<lane id="5_1" index="1" speed="13.89" length="77.53" shape="135.85,30.84 58.95,40.72"/>
<lane id="5_2" index="2" speed="13.89" length="77.53" shape="136.27,34.11 59.37,44.00"/>
</edge>
<edge id="6" from="gneJ7" to="gneJ9" priority="1" spreadType="center" shape="51.16,50.04 137.03,38.99">
<lane id="6_0" index="0" speed="13.89" length="77.53" shape="60.22,50.54 137.11,40.65"/>
<lane id="6_1" index="1" speed="13.89" length="77.53" shape="59.80,47.27 136.69,37.37"/>
</edge>
<edge id="7" from="gneJ11" to="gneJ7" priority="1" spreadType="center" shape="45.53,1.28 47.46,47.15">
<lane id="7_0" index="0" speed="13.89" length="33.72" shape="43.88,1.35 45.30,35.03"/>
<lane id="7_1" index="1" speed="13.89" length="33.72" shape="47.18,1.21 48.60,34.90"/>
</edge>
<edge id="8" from="gneJ7" to="gneJ11" priority="1" spreadType="center" shape="54.04,46.87 52.13,1.00">
<lane id="8_0" index="0" speed="13.89" length="33.72" shape="55.18,34.62 53.78,0.93"/>
<lane id="8_1" index="1" speed="13.89" length="33.72" shape="51.88,34.76 50.48,1.07"/>
</edge>
<tlLogic id="gneJ7" type="static" programID="0" offset="0">
<phase duration="31" state="GGGGgrrrGGGgrrr"/>
<phase duration="4" state="yyyygrrryyygrrr"/>
<phase duration="6" state="rrrrGrrrrrrGrrr"/>
<phase duration="4" state="rrrryrrrrrryrrr"/>
<phase duration="31" state="rrrrrGGgrrrrGGg"/>
<phase duration="4" state="rrrrryygrrrryyg"/>
<phase duration="6" state="rrrrrrrGrrrrrrG"/>
<phase duration="4" state="rrrrrrryrrrrrry"/>
</tlLogic>
<junction id="gneJ10" type="dead_end" x="51.16" y="94.53" incLanes="4_0 4_1" intLanes="" shape="51.21,94.53 57.71,94.47 44.61,94.59 51.11,94.53"/>
<junction id="gneJ11" type="dead_end" x="48.83" y="1.14" incLanes="8_0 8_1" intLanes="" shape="48.78,1.14 42.29,1.42 55.37,0.87 48.88,1.14"/>
<junction id="gneJ6" type="dead_end" x="-80.64" y="52.50" incLanes="1_0 1_1 1_2" intLanes="" shape="-80.64,52.55 -80.35,59.04 -81.07,42.66 -80.64,52.45"/>
<junction id="gneJ7" type="traffic_light" x="50.74" y="46.77" incLanes="5_0 5_1 5_2 3_0 3_1 2_0 2_1 7_0 7_1" intLanes=":gneJ7_0_0 :gneJ7_1_0 :gneJ7_1_1 :gneJ7_1_2 :gneJ7_15_0 :gneJ7_5_0 :gneJ7_6_0 :gneJ7_16_0 :gneJ7_8_0 :gneJ7_9_0 :gneJ7_9_1 :gneJ7_17_0 :gneJ7_12_0 :gneJ7_13_0 :gneJ7_18_0" shape="58.33,35.86 60.42,52.13 57.36,55.00 44.27,55.11 42.76,53.67 42.04,37.29 43.70,35.10 56.78,34.56">
<request index="0" response="000000000000000" foes="000100001011100" cont="0"/>
<request index="1" response="000000000000000" foes="111100011000000" cont="0"/>
<request index="2" response="000000000000000" foes="111100011000000" cont="0"/>
<request index="3" response="000000000000000" foes="111100011000000" cont="0"/>
<request index="4" response="000011100000000" foes="110011111000111" cont="1"/>
<request index="5" response="000011000000000" foes="100011010000000" cont="0"/>
<request index="6" response="000111000011111" foes="100111000011111" cont="0"/>
<request index="7" response="011111000011110" foes="011111001111110" cont="1"/>
<request index="8" response="000000000000000" foes="010110000010000" cont="0"/>
<request index="9" response="000000000000000" foes="110000011110000" cont="0"/>
<request index="10" response="000000000000000" foes="110000011110000" cont="0"/>
<request index="11" response="000000000001111" foes="110001111001111" cont="1"/>
<request index="12" response="000000000001110" foes="110000010001110" cont="0"/>
<request index="13" response="000111100011110" foes="000111110011110" cont="0"/>
<request index="14" response="000111001111110" foes="001111001111110" cont="1"/>
</junction>
<junction id="gneJ9" type="dead_end" x="136.48" y="35.74" incLanes="6_0 6_1" intLanes="" shape="136.47,35.70 135.23,25.98 137.32,42.23 136.49,35.79"/>
<junction id=":gneJ7_15_0" type="internal" x="53.01" y="46.49" incLanes=":gneJ7_4_0 2_0 2_1" intLanes=":gneJ7_6_0 :gneJ7_7_0 :gneJ7_8_0 :gneJ7_9_0 :gneJ7_9_1 :gneJ7_13_0 :gneJ7_14_0"/>
<junction id=":gneJ7_16_0" type="internal" x="50.70" y="48.94" incLanes=":gneJ7_7_0 7_0 7_1" intLanes=":gneJ7_1_0 :gneJ7_1_1 :gneJ7_1_2 :gneJ7_4_0 :gneJ7_9_0 :gneJ7_9_1 :gneJ7_11_0 :gneJ7_12_0 :gneJ7_13_0"/>
<junction id=":gneJ7_17_0" type="internal" x="47.86" y="46.82" incLanes=":gneJ7_11_0 5_0 5_1 5_2" intLanes=":gneJ7_0_0 :gneJ7_1_0 :gneJ7_1_1 :gneJ7_1_2 :gneJ7_6_0 :gneJ7_7_0 :gneJ7_13_0 :gneJ7_14_0"/>
<junction id=":gneJ7_18_0" type="internal" x="52.40" y="45.31" incLanes=":gneJ7_14_0 3_0" intLanes=":gneJ7_1_0 :gneJ7_1_1 :gneJ7_1_2 :gneJ7_4_0 :gneJ7_5_0 :gneJ7_6_0 :gneJ7_9_0 :gneJ7_9_1 :gneJ7_11_0"/>
<connection from="2" to="4" fromLane="0" toLane="0" via=":gneJ7_8_0" tl="gneJ7" linkIndex="8" dir="l" state="o"/>
<connection from="2" to="6" fromLane="0" toLane="0" via=":gneJ7_9_0" tl="gneJ7" linkIndex="9" dir="s" state="o"/>
<connection from="2" to="6" fromLane="1" toLane="1" via=":gneJ7_9_1" tl="gneJ7" linkIndex="10" dir="s" state="o"/>
<connection from="2" to="8" fromLane="1" toLane="1" via=":gneJ7_11_0" tl="gneJ7" linkIndex="11" dir="r" state="o"/>
<connection from="3" to="6" fromLane="0" toLane="0" via=":gneJ7_5_0" tl="gneJ7" linkIndex="5" dir="l" state="o"/>
<connection from="3" to="8" fromLane="0" toLane="1" via=":gneJ7_6_0" tl="gneJ7" linkIndex="6" dir="s" state="o"/>
<connection from="3" to="1" fromLane="1" toLane="2" via=":gneJ7_7_0" tl="gneJ7" linkIndex="7" dir="r" state="o"/>
<connection from="5" to="8" fromLane="0" toLane="0" via=":gneJ7_0_0" tl="gneJ7" linkIndex="0" dir="l" state="o"/>
<connection from="5" to="1" fromLane="0" toLane="0" via=":gneJ7_1_0" tl="gneJ7" linkIndex="1" dir="s" state="o"/>
<connection from="5" to="1" fromLane="1" toLane="1" via=":gneJ7_1_1" tl="gneJ7" linkIndex="2" dir="s" state="o"/>
<connection from="5" to="1" fromLane="2" toLane="2" via=":gneJ7_1_2" tl="gneJ7" linkIndex="3" dir="s" state="o"/>
<connection from="5" to="4" fromLane="2" toLane="1" via=":gneJ7_4_0" tl="gneJ7" linkIndex="4" dir="r" state="o"/>
<connection from="7" to="1" fromLane="0" toLane="0" via=":gneJ7_12_0" tl="gneJ7" linkIndex="12" dir="l" state="o"/>
<connection from="7" to="4" fromLane="1" toLane="1" via=":gneJ7_13_0" tl="gneJ7" linkIndex="13" dir="s" state="o"/>
<connection from="7" to="6" fromLane="1" toLane="1" via=":gneJ7_14_0" tl="gneJ7" linkIndex="14" dir="r" state="o"/>
<connection from=":gneJ7_0" to="8" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":gneJ7_1" to="1" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":gneJ7_1" to="1" fromLane="1" toLane="1" dir="s" state="M"/>
<connection from=":gneJ7_1" to="1" fromLane="2" toLane="2" dir="s" state="M"/>
<connection from=":gneJ7_4" to="4" fromLane="0" toLane="1" via=":gneJ7_15_0" dir="s" state="m"/>
<connection from=":gneJ7_15" to="4" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":gneJ7_5" to="6" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":gneJ7_6" to="8" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":gneJ7_7" to="1" fromLane="0" toLane="2" via=":gneJ7_16_0" dir="s" state="m"/>
<connection from=":gneJ7_16" to="1" fromLane="0" toLane="2" dir="s" state="M"/>
<connection from=":gneJ7_8" to="4" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":gneJ7_9" to="6" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":gneJ7_9" to="6" fromLane="1" toLane="1" dir="s" state="M"/>
<connection from=":gneJ7_11" to="8" fromLane="0" toLane="1" via=":gneJ7_17_0" dir="s" state="m"/>
<connection from=":gneJ7_17" to="8" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":gneJ7_12" to="1" fromLane="0" toLane="0" dir="s" state="M"/>
<connection from=":gneJ7_13" to="4" fromLane="0" toLane="1" dir="s" state="M"/>
<connection from=":gneJ7_14" to="6" fromLane="0" toLane="1" via=":gneJ7_18_0" dir="s" state="m"/>
<connection from=":gneJ7_18" to="6" fromLane="0" toLane="1" dir="s" state="M"/>
</net>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user