Hi Antonia,
I’m not sure I can help you, but based on these emails (https://www.eclipse.org/lists/sumo-user/msg05514.html)
you could try adding the bus flows to the additional file instead of adding it to the trip files:
“the bus flow is not routed intentionally because public transport routes typically should not be changed (this can be changed by setting the option --ptline-route). A better solution is to put the bus flow inside the
additional file”
I have attached the files for the test scenario used by sumo. To run this scenario you should call duaiterate as follows:
python duaIterate.py -n input_net.net.xml -r input_trips.trips.xml -l 10 --additional input_additional.add.xml --measure-vtypes DEFAULT_VEHTYPE
duarouter--additional-files input_additional.add.xml
If you look at the files, the bus flow is defined in the “input_additional.add.xml”, not in the “input_trips.trips.xml” with the other trips.
I hope it helps you
J
Regards,
Giuliana
From: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx]
On Behalf Of Pawlowski, Antonia
Sent: Donnerstag, 16. Juli 2020 08:33
To: sumo-user@xxxxxxxxxxx
Subject: [sumo-user] duaIterate.py for intermodal routes
I have a question regarding the duaIterate.py for SUMO 1.6.0 for intermodal routes with cars and buses.
To create intermodal demand I used:
duarouter -n net.net.xml -a ptstops.add.xml -r random.trips.xml,pt.rou.xml -o intermodal.rou.xml --ptline-routing true
And then I used the the duaIterate.py like this:
python duaIterate.py -n net.net.xml -+ ptstops.add.xml -r intermodal.rou.xml -l 10 duarouter--additional-files ptstops.add.xml duarouter--ptline-routing true --measure-vtypes
DEFAULT_VEHTYPE
It is working, but the buses are changing their routes, too.
Is there any way that the bus routes stay the same?
I also tried it with ptline-routing false but then there are no buses in the network.