Hi Giuliana,
Thank you for your help! I tried it like this now: python duaIterate.py -n net.net.xml -+ ptstops.add.xml,pt.rou.xml -r random.trips.xml -l 10 duarouter--additional-files ptstops.add.xml,pt.rou.xml --measure-vtypes DEFAULT_VEHTYPE And now it works. 😊 Regards, Antonia ________________________________ Von: [email protected] <[email protected]> im Auftrag von [email protected] <[email protected]> Gesendet: Freitag, 17. Juli 2020 10:54:38 An: [email protected] Betreff: Re: [sumo-user] duaIterate.py for intermodal routes 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 ☺ Regards, Giuliana From: [email protected] [mailto:[email protected]] On Behalf Of Pawlowski, Antonia Sent: Donnerstag, 16. Juli 2020 08:33 To: [email protected] Subject: [sumo-user] duaIterate.py for intermodal routes Hello Sumo-users, 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. Thanks and regards, Antonia ________________________________
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
