Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] ActivityGen

Your <city> definition does not have any <street> elements. See
http://sumo.dlr.de/wiki/Demand/Activity-based_Demand_Generation#Population_and_Work_Position_Distribution


2018-08-05 16:54 GMT+02:00 Stefano Niero <stefano.niero@xxxxxxxxxx>:

Dear SUMO Community,

I am trying to investigate ActivityGen, I cut a map of the city of Munich and followed the explanation present in the documentation. I gave the following instruction:

 

activitygen --net-file Munichmap.net.xml --stat-file activity.stat.xml --output-file activitytrips.trips.rou.xml –random

 

and in the route file I put the following basic instructions:

 

<city>

    <general inhabitants="1542000" households="832310" childrenAgeLimit="17" retirementAgeLimit="67" carRate="0.53" unemploymentRate="0.042" footDistanceLimit="350" incomingTraffic="200" outgoingTraffic="50"/>

   

    <workHours>

        <opening hour="32400" proportion="0.80" />

        <opening hour="36000" proportion="0.20" />

               <closing hour="64800" proportion="0.50" />

        <closing hour="68400" proportion="0.50" />

    </workHours>

</city>

 

Everything I get though is just this message in the command line:

 

--> work position:

  |-> in city: 0

  |-> out city: 210

  |-> in+out city: 210

--> population:

  |-> city households: 0

  |-> city people: 0

    |-> city single: 0 / (in) couple: 0

    |-> city adults: 0

      |-> estimation: 1542000

      |-> retired: 1542000

    |-> city children: 0

      |-> estimation: 0

 

And in the output-file just this content:

 

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

 

<!-- generated on 08/05/18 16:52:16 by SUMO activitygen 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/activitygenConfiguration.xsd">

 

    <input>

        <net-file value="Munichmap.net.xml"/>

        <stat-file value="activity.stat.xml"/>

    </input>

 

    <output>

        <output-file value="activitytrips.trips.rou.xml"/>

    </output>

 

    <random_number>

        <random value="true"/>

    </random_number>

 

</configuration>

 

What is happening? Why don’t I get a trip file?

Thank you very much in advance

Stefano Niero


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top