[sumo-user] activitygen: Error: Invalid from/to-edge

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[sumo-user] activitygen: Error: Invalid from/to-edge

Carol Gris
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


_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] activitygen: Error: Invalid from/to-edge

Jakob Erdmann
It looks as if you might have put pedestrian infrastructure elements (crossings and walkingareas) into the stat file and this is not supported.
crossings are edges with :*_c* in their name and walkingareas have  :*_w* in their name. Such edges should not be the start or end point of trips.
To be blunt, Activitygen has not seen active development since around 2013. You are using it with a feature that was developed later (pedestrian infrastructure such as crossings) so there are potentially other failure points.

regards,
Jakob

Am Mo., 22. Juni 2020 um 20:56 Uhr schrieb Carol Gris <[hidden email]>:
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

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] activitygen: Error: Invalid from/to-edge

Carol Gris
Hello Jakob,

Thank you for the explanation :), with that I finally understood this part of the problem regarding demand generation using activitygen.

Now I have an issue when I try to see the simulation in sumo-gui, it takes some time computing demand elements, and then a windows pops up with a list, which says for example:
id h9847c1:2 conflict: There is no valid path edges '13...
id h999c1:1 conflict: There is no valid path edges '76...
[...]

What might be this issue?

I'm a beginner, I'm sorry for the trivial questions, and thank you very much for your help.

Br,
Maria

Em ter., 23 de jun. de 2020 às 03:54, Jakob Erdmann <[hidden email]> escreveu:
It looks as if you might have put pedestrian infrastructure elements (crossings and walkingareas) into the stat file and this is not supported.
crossings are edges with :*_c* in their name and walkingareas have  :*_w* in their name. Such edges should not be the start or end point of trips.
To be blunt, Activitygen has not seen active development since around 2013. You are using it with a feature that was developed later (pedestrian infrastructure such as crossings) so there are potentially other failure points.

regards,
Jakob

Am Mo., 22. Juni 2020 um 20:56 Uhr schrieb Carol Gris <[hidden email]>:
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

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] activitygen: Error: Invalid from/to-edge

Jakob Erdmann
Most likely, some parts of your network are not connected to other parts of the network. See https://sumo.dlr.de/docs/SUMO-GUI.html#check_connected_components
You can either fix your network, filter out the problematic trips or ignore them with option --ignore-route-errors.

Am Di., 23. Juni 2020 um 19:02 Uhr schrieb Maria Caroline Gris <[hidden email]>:
Hello Jakob,

Thank you for the explanation :), with that I finally understood this part of the problem regarding demand generation using activitygen.

Now I have an issue when I try to see the simulation in sumo-gui, it takes some time computing demand elements, and then a windows pops up with a list, which says for example:
id h9847c1:2 conflict: There is no valid path edges '13...
id h999c1:1 conflict: There is no valid path edges '76...
[...]

What might be this issue?

I'm a beginner, I'm sorry for the trivial questions, and thank you very much for your help.

Br,
Maria

Em ter., 23 de jun. de 2020 às 03:54, Jakob Erdmann <[hidden email]> escreveu:
It looks as if you might have put pedestrian infrastructure elements (crossings and walkingareas) into the stat file and this is not supported.
crossings are edges with :*_c* in their name and walkingareas have  :*_w* in their name. Such edges should not be the start or end point of trips.
To be blunt, Activitygen has not seen active development since around 2013. You are using it with a feature that was developed later (pedestrian infrastructure such as crossings) so there are potentially other failure points.

regards,
Jakob

Am Mo., 22. Juni 2020 um 20:56 Uhr schrieb Carol Gris <[hidden email]>:
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

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user