Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] please help me

Hello Francois ,
i have done that but there is no output given
does  the additional file need to have some type of inputs defined in it ?
thank you


On Tue, Feb 27, 2018 at 10:51 PM, François Vaudrin via sumo-user <
sumo-user@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Hello Anne,
>
> You have to reference it in the configuration file (the one that ends with
> .sumocfg).
>
> Example:
>
>      <input>
>              <additional-files value="your_additional_file.add.xml"/>
>     </input>
>
> Regards
>
> François
> ------------------------------------------------------------
> ------------------
> 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
> sumo-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
<additional>
   <tlLogic id="0" programID="my_program" offset="0" type="static">
      <phase duration="31" state="GGggrrrrGGggrrrr"/>
      <phase duration="5"  state="yyggrrrryyggrrrr"/>
      <phase duration="6"  state="rrGGrrrrrrGGrrrr"/>
      <phase duration="5"  state="rryyrrrrrryyrrrr"/>
      <phase duration="31" state="rrrrGGggrrrrGGgg"/>
      <phase duration="5"  state="rrrryyggrrrryygg"/>
      <phase duration="6"  state="rrrrrrGGrrrrrrGG"/>
      <phase duration="5"  state="rrrrrryyrrrrrryy"/>
   </tlLogic>
</additional>
<?xml version="1.0" encoding="UTF-8"?>
<edges xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/edges_file.xsd";>
    <edge from="1" id="e1" to="2"  speed="80" numLanes="3" width = "10"/>
    <edge from="2" id="e2" to="3" speed="20" numLanes="3" width = "10"/>
	<edge from="3" id="e3" to="4" speed="3" numLanes="3" width = "10"/>
    <edge from="4" id="e4" to="5" speed="20"  numLanes="3" width = "10"/>
	<edge from="5" id="out" to="6" speed="80"  numLanes="3" width = "10"/>
</edges>
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 02/26/18 19:03:05 by SUMO netconvert Version 0.28.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/netconvertConfiguration.xsd";>

    <input>
        <node-files value="lbs.nod.xml"/>
        <edge-files value="lbs.edg.xml"/>
    </input>

    <output>
        <output-file value="lbs.net.xml"/>
    </output>

</configuration>
-->

<net version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd";>

    <location netOffset="250.00,0.00" convBoundary="0.00,0.00,501.00,0.00" origBoundary="-250.00,0.00,251.00,0.00" projParameter="!"/>

    <edge id=":2_0" function="internal">
        <lane id=":2_0_0" index="0" speed="50.00" length="0.10" width="10.00" shape="240.00,-25.25 240.00,-25.25"/>
        <lane id=":2_0_1" index="1" speed="50.00" length="0.10" width="10.00" shape="240.00,-15.15 240.00,-15.15"/>
        <lane id=":2_0_2" index="2" speed="50.00" length="0.10" width="10.00" shape="240.00,-5.05 240.00,-5.05"/>
    </edge>
    <edge id=":3_0" function="internal">
        <lane id=":3_0_0" index="0" speed="11.50" length="0.10" width="10.00" shape="310.00,-25.25 310.00,-25.25"/>
        <lane id=":3_0_1" index="1" speed="11.50" length="0.10" width="10.00" shape="310.00,-15.15 310.00,-15.15"/>
        <lane id=":3_0_2" index="2" speed="11.50" length="0.10" width="10.00" shape="310.00,-5.05 310.00,-5.05"/>
    </edge>
    <edge id=":4_0" function="internal">
        <lane id=":4_0_0" index="0" speed="11.50" length="0.10" width="10.00" shape="350.00,-25.25 350.00,-25.25"/>
        <lane id=":4_0_1" index="1" speed="11.50" length="0.10" width="10.00" shape="350.00,-15.15 350.00,-15.15"/>
        <lane id=":4_0_2" index="2" speed="11.50" length="0.10" width="10.00" shape="350.00,-5.05 350.00,-5.05"/>
    </edge>
    <edge id=":5_0" function="internal">
        <lane id=":5_0_0" index="0" speed="50.00" length="0.10" width="10.00" shape="400.00,-25.25 400.00,-25.25"/>
        <lane id=":5_0_1" index="1" speed="50.00" length="0.10" width="10.00" shape="400.00,-15.15 400.00,-15.15"/>
        <lane id=":5_0_2" index="2" speed="50.00" length="0.10" width="10.00" shape="400.00,-5.05 400.00,-5.05"/>
    </edge>

    <edge id="e1" from="1" to="2" priority="-1">
        <lane id="e1_0" index="0" speed="80.00" length="240.00" width="10.00" shape="0.00,-25.25 240.00,-25.25"/>
        <lane id="e1_1" index="1" speed="80.00" length="240.00" width="10.00" shape="0.00,-15.15 240.00,-15.15"/>
        <lane id="e1_2" index="2" speed="80.00" length="240.00" width="10.00" shape="0.00,-5.05 240.00,-5.05"/>
    </edge>
    <edge id="e2" from="2" to="3" priority="-1">
        <lane id="e2_0" index="0" speed="20.00" length="70.00" width="10.00" shape="240.00,-25.25 310.00,-25.25"/>
        <lane id="e2_1" index="1" speed="20.00" length="70.00" width="10.00" shape="240.00,-15.15 310.00,-15.15"/>
        <lane id="e2_2" index="2" speed="20.00" length="70.00" width="10.00" shape="240.00,-5.05 310.00,-5.05"/>
    </edge>
    <edge id="e3" from="3" to="4" priority="-1">
        <lane id="e3_0" index="0" speed="3.00" length="40.00" width="10.00" shape="310.00,-25.25 350.00,-25.25"/>
        <lane id="e3_1" index="1" speed="3.00" length="40.00" width="10.00" shape="310.00,-15.15 350.00,-15.15"/>
        <lane id="e3_2" index="2" speed="3.00" length="40.00" width="10.00" shape="310.00,-5.05 350.00,-5.05"/>
    </edge>
    <edge id="e4" from="4" to="5" priority="-1">
        <lane id="e4_0" index="0" speed="20.00" length="50.00" width="10.00" shape="350.00,-25.25 400.00,-25.25"/>
        <lane id="e4_1" index="1" speed="20.00" length="50.00" width="10.00" shape="350.00,-15.15 400.00,-15.15"/>
        <lane id="e4_2" index="2" speed="20.00" length="50.00" width="10.00" shape="350.00,-5.05 400.00,-5.05"/>
    </edge>
    <edge id="out" from="5" to="6" priority="-1">
        <lane id="out_0" index="0" speed="80.00" length="101.00" width="10.00" shape="400.00,-25.25 501.00,-25.25"/>
        <lane id="out_1" index="1" speed="80.00" length="101.00" width="10.00" shape="400.00,-15.15 501.00,-15.15"/>
        <lane id="out_2" index="2" speed="80.00" length="101.00" width="10.00" shape="400.00,-5.05 501.00,-5.05"/>
    </edge>

    <junction id="1" type="unregulated" x="0.00" y="0.00" incLanes="" intLanes="" shape="0.00,-0.05 0.00,-30.25"/>
    <junction id="2" type="priority" x="240.00" y="0.00" incLanes="e1_0 e1_1 e1_2" intLanes=":2_0_0 :2_0_1 :2_0_2" shape="240.00,-0.05 240.00,-30.25 240.00,-0.05">
        <request index="0" response="000" foes="000" cont="0"/>
        <request index="1" response="000" foes="000" cont="0"/>
        <request index="2" response="000" foes="000" cont="0"/>
    </junction>
    <junction id="3" type="priority" x="310.00" y="0.00" incLanes="e2_0 e2_1 e2_2" intLanes=":3_0_0 :3_0_1 :3_0_2" shape="310.00,-0.05 310.00,-30.25 310.00,-0.05">
        <request index="0" response="000" foes="000" cont="0"/>
        <request index="1" response="000" foes="000" cont="0"/>
        <request index="2" response="000" foes="000" cont="0"/>
    </junction>
    <junction id="4" type="priority" x="350.00" y="0.00" incLanes="e3_0 e3_1 e3_2" intLanes=":4_0_0 :4_0_1 :4_0_2" shape="350.00,-0.05 350.00,-30.25 350.00,-0.05">
        <request index="0" response="000" foes="000" cont="0"/>
        <request index="1" response="000" foes="000" cont="0"/>
        <request index="2" response="000" foes="000" cont="0"/>
    </junction>
    <junction id="5" type="priority" x="400.00" y="0.00" incLanes="e4_0 e4_1 e4_2" intLanes=":5_0_0 :5_0_1 :5_0_2" shape="400.00,-0.05 400.00,-30.25 400.00,-0.05">
        <request index="0" response="000" foes="000" cont="0"/>
        <request index="1" response="000" foes="000" cont="0"/>
        <request index="2" response="000" foes="000" cont="0"/>
    </junction>
    <junction id="6" type="unregulated" x="501.00" y="0.00" incLanes="out_0 out_1 out_2" intLanes="" shape="501.00,-30.25 501.00,-0.05"/>

    <connection from="e1" to="e2" fromLane="0" toLane="0" via=":2_0_0" dir="s" state="M"/>
    <connection from="e1" to="e2" fromLane="1" toLane="1" via=":2_0_1" dir="s" state="M"/>
    <connection from="e1" to="e2" fromLane="2" toLane="2" via=":2_0_2" dir="s" state="M"/>
    <connection from="e2" to="e3" fromLane="0" toLane="0" via=":3_0_0" dir="s" state="M"/>
    <connection from="e2" to="e3" fromLane="1" toLane="1" via=":3_0_1" dir="s" state="M"/>
    <connection from="e2" to="e3" fromLane="2" toLane="2" via=":3_0_2" dir="s" state="M"/>
    <connection from="e3" to="e4" fromLane="0" toLane="0" via=":4_0_0" dir="s" state="M"/>
    <connection from="e3" to="e4" fromLane="1" toLane="1" via=":4_0_1" dir="s" state="M"/>
    <connection from="e3" to="e4" fromLane="2" toLane="2" via=":4_0_2" dir="s" state="M"/>
    <connection from="e4" to="out" fromLane="0" toLane="0" via=":5_0_0" dir="s" state="M"/>
    <connection from="e4" to="out" fromLane="1" toLane="1" via=":5_0_1" dir="s" state="M"/>
    <connection from="e4" to="out" fromLane="2" toLane="2" via=":5_0_2" dir="s" state="M"/>

    <connection from=":2_0" to="e2" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":2_0" to="e2" fromLane="1" toLane="1" dir="s" state="M"/>
    <connection from=":2_0" to="e2" fromLane="2" toLane="2" dir="s" state="M"/>
    <connection from=":3_0" to="e3" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":3_0" to="e3" fromLane="1" toLane="1" dir="s" state="M"/>
    <connection from=":3_0" to="e3" fromLane="2" toLane="2" dir="s" state="M"/>
    <connection from=":4_0" to="e4" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":4_0" to="e4" fromLane="1" toLane="1" dir="s" state="M"/>
    <connection from=":4_0" to="e4" fromLane="2" toLane="2" dir="s" state="M"/>
    <connection from=":5_0" to="out" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":5_0" to="out" fromLane="1" toLane="1" dir="s" state="M"/>
    <connection from=":5_0" to="out" fromLane="2" toLane="2" dir="s" state="M"/>

</net>

Attachment: lbs.netccfg
Description: Binary data

------------------------------------------------------------------------------
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
sumo-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user

Back to the top