Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Error with flows definition in the development version

Hello Everyone,

I'm a maintainer of a couple of open-source tools related to SUMO.

With SUMO 1.6 my small toy scenario works fine.
With the devel version was working fine until yesterday. Something has changed in the last 3 weeks, but I don't know what.
Nonetheless, the problem is with the flow definition, and it makes me think that this problem is going to break a lot of scenarios already available.

I suppose something major has changed, but I cannot find it associated with the Issues already open.

Version: Eclipse SUMO sumo Version v1_6_0+1493-02f4414fa4
Error: sumo sumo.cfg.xml 
Loading configuration ... done.
Error: no declaration found for element 'flows'
 In file 'flows.xml'
 At line/column 3/8.
Quitting (on error).


Attached you can find the 3 files required to run the scenario.
In case the attachments are blocked, the example is available at https://github.com/lcodeca/rllibsumoutils/tree/master/example/scenario.

Thanks all for your time.

All the Best,
Lara
<?xml version="1.0" encoding="UTF-8"?>
<flows>
    <flow id="veh" from="road" to="road" period="1" begin="0.0" end="3600.0"/>
</flows>
<?xml version="1.0" encoding="UTF-8"?>

<net version="1.6" junctionCornerDetail="5" limitTurnSpeed="5.50" 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="0.00,0.00,5000.00,0.00" origBoundary="0.00,0.00,5000.00,0.00" projParameter="!"/>

    <edge id="road" from="origin" to="destination" priority="-1">
        <lane id="road_0" index="0" speed="13.89" length="5000.00" shape="0.00,-8.00 5000.00,-8.00"/>
        <lane id="road_1" index="1" speed="13.89" length="5000.00" shape="0.00,-4.80 5000.00,-4.80"/>
        <lane id="road_2" index="2" speed="13.89" length="5000.00" shape="0.00,-1.60 5000.00,-1.60"/>
    </edge>

    <junction id="destination" type="dead_end" x="5000.00" y="0.00" incLanes="road_0 road_1 road_2" intLanes="" shape="5000.00,-9.60 5000.00,0.00"/>
    <junction id="origin" type="dead_end" x="0.00" y="0.00" incLanes="" intLanes="" shape="0.00,0.00 0.00,-9.60"/>

</net>
<?xml version="1.0" encoding="UTF-8"?>

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd";>

    <input>
        <net-file value="road.net.xml"/>
        <route-files value="flows.xml"/>
    </input>

    <time>
        <begin value="0.0"/>
        <step-length value="0.1"/>
    </time>

    <report>
        <!-- Silent -->
        <verbose value="false"/>
        <no-step-log value="true"/>
        <duration-log.statistics value="false"/>
        <duration-log.disable value="true"/>
        <no-warnings value="true"/>
    </report>

</configuration>

Back to the top