Hi Mirko, Hi Jakob,
thank you very much for your responses, and your ideas.
I have followed your advice and successfully implemented a method of joining routes in the desired manner.
However, I continue to experience some issues.
My intended implementation has buses perform a long route, consisting of multiple „lines“ e.g a service trip with stops and predefined edges, connected by deadheads generated trough net.getFastestPath().
While the connected routes are simulated successfully when excluding busStops, adding busStops to service trips results in following error:
Error: busStop 'agg_11800_1_11164_1_10948_8_12561_10_10965_1' for vehicle 'cicero_3006' on lane '30144130#1_0' is not downstream the current route.
If I understand correctly, this is “intended behaviour”, in so far as the bus performs a stop at the first opportunity, but has then skipped other stops, leading to there not being any opportunities for stopping at following stops?
How can I create a more concise route-definition, or force my vehicle to perform stops only in the intended way?
I have included two routes files and the busStop.add, cut down to the vehicle and stop for which I get the error.
Presumably this happens for more than this one vehicle, but it does not happen for every vehicle as a few depart before the affected one.
Running /tools/route/routecheck.py just results in this warning:
Warning: This script does not handle nested 'stop' elements properly.
I have also found others encountering the same error, but their circumstances seem quite different to my own.
Version: SUMO 1.27.0
Best regards
Sven