Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Fw: more than 100 vehicles in sumo an OSM

Thanks for this information.

This is steps I did:
$ python /home/bassma/sumo-0.32.0/tools/randomTrips.py -n map.net.xml -r mapm.rou.xml -e 150 -l
$sumo -c map.sumo.cfg --fcd-output map150.sumo.xml

I will attach the configuration file as well.
Here is the problem "map150.sumo.xml" does not have 150 vehicles.
I do not why? please help.

From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Wednesday, January 9, 2019 7:02 AM
To: Sumo project User discussions
Subject: Re: [sumo-user] Fw: more than 100 vehicles in sumo an OSM
 
1) please post the contents of your sumocfg file
2) the inter-vehicle distance depends on
 a) traffic volume (configurable in your case with randomTrips parameter --period, see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate)
 To add these parameters when using randomTrips, see http://sumo.dlr.de/wiki/Tools/Trip#Automatically_generating_a_vehicle_type
c) measuring average distance between cars for each network edge can be done via density measurements: http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures

regards,
Jakob

Am Di., 8. Jan. 2019 um 19:24 Uhr schrieb bassma aldahlan <basooooma1@xxxxxxxxxxx>:



From: bassma aldahlan
Sent: Tuesday, January 8, 2019 6:23 PM
To: sumo-user@xxxxxxxxxxxxxxxxxxxxx
Subject: more than 100 vehicles in sumo an OSM
 
Hi All,
When I use this command to generate more than 100 vehicles, it fails. I do know why?
  $python /home/bassma/sumo-0.32.0/tools/randomTrips.py -n map.net.xml -r mapm.rou.xml -e 150 -l

then
$
bassma@bassma-Inspiron-15-3567:~/map22/200$ sumo -c map200.sumo.cfg --fcd-output map200m.sumo.xml
Loading configuration... done.
Warning: Environment variable SUMO_HOME is not set, schema resolution will use slow website lookups.
Warning: Environment variable SUMO_HOME is not set, schema resolution will use slow website lookups.
Warning: Environment variable SUMO_HOME is not set, schema resolution will use slow website lookups.
bassma@bassma-Inspiron-15-3567:~/map22/200$ Vehicles TOT 100 ACT 98 BUF 0)    
bassma@bassma-Inspiron-15-3567:~/map22/200$ 
Why it only allows me to have 100 vehicles, I cannot add more? How to fix this, please?

2- How can I specify the distance between cars?  or get the distance?


Thank you,
_______________________________________________
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

Attachment: map.sumo.cfg
Description: map.sumo.cfg

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

<!-- generated on Tue Jan  8 11:26:50 2019 by SUMO Version 0.32.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/sumoConfiguration.xsd";>

    <input>
        <net-file value="map.net.xml"/>
        <route-files value="map.rou.xml"/>
        <additional-files value="map.poly.xml"/>
    </input>

    <output>
        <fcd-output value="map150.sumo.xml"/>
    </output>

    <time>
        <begin value="0"/>
        <end value="100"/>
        <step-length value="0.1"/>
    </time>

    <gui_only>
        <tracker-interval value="0.1"/>
    </gui_only>

</configuration>
-->

<fcd-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/fcd_file.xsd";>
    <timestep time="0.00">
        <vehicle id="0" x="2333.55" y="1310.97" angle="45.16" type="DEFAULT_VEHTYPE" speed="0.00" pos="5.10" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.10">
        <vehicle id="0" x="2333.56" y="1310.98" angle="45.16" type="DEFAULT_VEHTYPE" speed="0.25" pos="5.12" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.20">
        <vehicle id="0" x="2333.60" y="1311.02" angle="45.16" type="DEFAULT_VEHTYPE" speed="0.49" pos="5.17" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.30">
        <vehicle id="0" x="2333.65" y="1311.07" angle="45.16" type="DEFAULT_VEHTYPE" speed="0.75" pos="5.25" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.40">
        <vehicle id="0" x="2333.72" y="1311.14" angle="45.16" type="DEFAULT_VEHTYPE" speed="0.98" pos="5.35" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.50">
        <vehicle id="0" x="2333.81" y="1311.23" angle="45.16" type="DEFAULT_VEHTYPE" speed="1.21" pos="5.47" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.60">
        <vehicle id="0" x="2333.91" y="1311.33" angle="45.16" type="DEFAULT_VEHTYPE" speed="1.46" pos="5.61" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.70">
        <vehicle id="0" x="2334.03" y="1311.45" angle="45.16" type="DEFAULT_VEHTYPE" speed="1.66" pos="5.78" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.80">
        <vehicle id="0" x="2334.16" y="1311.58" angle="45.16" type="DEFAULT_VEHTYPE" speed="1.90" pos="5.97" lane="16160956#1_0" slope="0.00"/>
    </timestep>
    <timestep time="0.90">
        <vehicle id="0" x="2334.31" y="1311.73" angle="45.16" type="DEFAULT_VEHTYPE" speed="2.10" pos="6.18" lane="16160956#1_0" slope="0.00"/>
    </timestep>
</fcd-export>

Back to the top