Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] activitygen: Error: Invalid from/to-edge

Hello all,

I’m trying to generate demand using the activitygen tool. So I have followed the example as it is here in Final Aspect: https://sumo.dlr.de/docs/Demand/Activity-based_Demand_Generation.html, but with local data of the region I selected to simulate.
Then I got stuck in many errors:

bash-3.2$ activitygen --net-file osm.net.xml --stat-file statistics.stat.xml --output-file osm.rou.xml --random
first completed in getStreet() of City: Consolidation of data not needed in ActivityGen any more
--> work position: 
  |-> in city: 27792
  |-> out city: 6364
  |-> in+out city: 34156
--> population: 
  |-> city households: 10924
  |-> city people: 23301
    |-> city single: 0 / (in) couple: 16020
    |-> city adults: 16020
      |-> estimation: 24764
      |-> retired: 1608
    |-> city children: 7281
      |-> estimation: 7279
  |-> working people: 18850
    |-> working people in city: 13850
    |-> working people from outside: 5000
no problem during bus line trip generation...
after public transportation: 0
WARNING: 7958 ( 72.85% ) households' trips haven't been generated: would probably need more iterations for rebuilding...
after household activities: 1786
no problem during in/out traffic generation...
after incoming/outgoing traffic: 11786
Before Random traffic generation (days are still entire):
- Total number of trips: 21786
- Total daily trips: 10000
- Total one-day trips: 1786
added uniform random trips: 0
no problem during random traffic generation...
after random traffic: 11786
total trips generated: 11786
total trips finally taken: 10766
...sorted by departure time.

first real trip: 1, 1:0:0
last real trip: 1, 23:58:54
histogram[ hour 1 ] = 514
histogram[ hour 5 ] = 239
histogram[ hour 7 ] = 2439
histogram[ hour 8 ] = 1489
histogram[ hour 9 ] = 290
histogram[ hour 10 ] = 9
histogram[ hour 11 ] = 12
histogram[ hour 12 ] = 270
histogram[ hour 13 ] = 5
histogram[ hour 14 ] = 10
histogram[ hour 15 ] = 6
histogram[ hour 16 ] = 834
histogram[ hour 17 ] = 2511
histogram[ hour 18 ] = 1462
histogram[ hour 19 ] = 77
histogram[ hour 20 ] = 85
histogram[ hour 21 ] = 96
histogram[ hour 22 ] = 142
histogram[ hour 23 ] = 276
Success.
bash-3.2$ netedit osm.net.xml
Error: Invalid to-edge ':1704424715_c0' used in trip 'h7766c1:1'.
Error: Invalid to-edge ':1513072496_w2' used in trip 'h748c1:1'.
Error: Invalid to-edge ':420585446_c3' used in trip 'h495c1:1'.
Error: Invalid to-edge ':6334547620_c0' used in trip 'h6975c1:1'.
Error: Invalid to-edge ':3934884589_w1' used in trip 'h1771c1:1'.
Error: Invalid to-edge ':1707898106_c0' used in trip 'h7080c1:1'.
Error: Invalid to-edge ':cluster_1707898247_3934733142_6514376471_w3' used in trip 'h3160c1:1'.
Error: Invalid to-edge ':3934733375_w1' used in trip 'h9200c1:1'.
Error: Invalid to-edge ':3619464247_c0' used in trip 'h6497c1:1'.
Error: Invalid to-edge ':1513002946_w1' used in trip 'h7967c1:1'.
Error: Invalid from-edge ':1704424715_c0' used in trip 'h7766c1:2'.
Error: Invalid from-edge ':cluster_1707898247_3934733142_6514376471_w3' used in trip 'h3160c1:2'.
Error: Invalid to-edge ':cluster_1698665365_6514396902_c2' used in trip 'h6906c1:1'.
[...]

Any clue of how can I avoid this or what’s the root cause?

Thank you in advance!

Best regards,
Maria


Back to the top