Dear SUMO community,
I want to use activitygen to generate the demand for a small town.
When I create the trip file, an error is displayed, when distributing the work positions.
I normalized the work positions across the entire length of the network.
Display of the error:
“[2024-02-15 18:02:43.631] Loading net ... done.
[2024-02-15 18:02:44.585] Loaded 34328 edges.
[2024-02-15 18:02:44.585] Reading input ... first completed in getStreet() of City: Consolidation of data not needed in ActivityGen any more
done.
[2024-02-15 18:02:44.683] Consolidating statistics ... done.
[2024-02-15 18:02:44.683] Building street representation ... done.
[2024-02-15 18:02:44.684] Generating work positions ... -- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 9.00am --
-- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 5.00pm --
-- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 9.00am --
-- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 5.00pm --
-- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 9.00am --
-- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 5.00pm --
-- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 9.00am --
-- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 5.00pm –
[…]
-- WARNING: work time distribution not complete (Sum(proportions) != 1): AUTODEFINED at 5.00pm --
--> work position:
|-> in city: 16089
|-> out city: 11678
|-> in+out city: 27767
done.
[2024-02-15 18:02:44.800] Building bus lines ... done.
[2024-02-15 18:02:44.800] Generating population ... --> population:
|-> city households: 7225
|-> city people: 12616
|-> city single: 3386 / (in) couple: 7678
|-> city adults: 11064
|-> estimation: 11064
|-> retired: 2294
|-> city children: 1552
|-> estimation: 1552
done.
[2024-02-15 18:02:44.809] Allocating schools ... done.
[2024-02-15 18:02:44.809] Allocating work places ... |-> working people: 10754
|-> working people in city: 8484
|-> working people from outside: 2270
done.
[2024-02-15 18:02:45.802] Allocating car places ... done.
no problem during bus line trip generation...
after public transportation: 0
WARNING: 2805 ( 38.82% ) households' trips haven't been generated: would probably need more iterations for rebuilding...”
In addition, most trips are created for 12:00 AM and unfortunately, I can't find the reason for this.
“first real trip: 1, 0:0:0
last real trip: 1, 23:59:58
histogram[ hour 0 ] = 8478
histogram[ hour 1 ] = 106
histogram[ hour 2 ] = 81
histogram[ hour 3 ] = 84
histogram[ hour 4 ] = 70
histogram[ hour 5 ] = 96
histogram[ hour 6 ] = 85
histogram[ hour 7 ] = 87
histogram[ hour 8 ] = 108
histogram[ hour 9 ] = 97
histogram[ hour 10 ] = 68
histogram[ hour 11 ] = 94
histogram[ hour 12 ] = 93
histogram[ hour 13 ] = 98
histogram[ hour 14 ] = 91
histogram[ hour 15 ] = 84
histogram[ hour 16 ] = 88
histogram[ hour 17 ] = 83
histogram[ hour 18 ] = 82
histogram[ hour 19 ] = 113
histogram[ hour 20 ] = 127
histogram[ hour 21 ] = 121
histogram[ hour 22 ] = 127
histogram[ hour 23 ] = 201
Success.”
Command:
activitygen --net-file activity.net.xml --stat-file activitygen.stat.xml --output-file activity_trips.xml --random --seed 42 --begin 0 --end 86400
Thanks for the help in advance.
The files used are attached.
Best Regards,
C. Jeinsen