1) There is currently no tool to generate random public transport. However, you don't have to write the bus schedule timings yourself. These can be generated from a file that only lists the sequence of stops (ptline-file). This is isn't very well documented at the moment, so the best way to understand how it works is to run the osmWebWizard with the public transport option and then take a look at the ptline file and the build.bat script. You will still have to create the ptline file yourself, however.
2) The easiest way to set the proportion of public and private transport is to call randomTrips twice with different 'modes' values. Make sure to set the --prefix option to avoid duplicate person IDs. regards, Jakob Am Mi., 26. Juni 2019 um 17:04 Uhr schrieb Tilg, Gabriel < [email protected]>: > Dear Sumo-users, > > > > I have a question regarding the intermodal routing for a basic multimodal > network (2x2 grid network, default traffic light, two bus lines). > > > > Question 1: > > My first question relates to the creation of bus lines: Is there a way to > generate bus lines apart from writing the xml-files manually or derive it > from OSM? I looked into tools and searched the wiki, but unsuccessfully. > > > > Question 2: > > I would like to generate a random intermodal person demand. I successfully > generated random trips for persons including the modes “car” and “public”. > However, after using the Duarouter, not a single trip is assigned to the > mode “bus”. Testing the network without the option “car” leads to some bus > rides, but the majority walks. Thus, it seems to me that buses are too less > attractive, compared to other modes. Is there any way I could deal with > that? Are there any “taste” parameters for persons? Can I somehow restrict > car use that persons cannot simply trigger a car from everywhere, or at > least not every person? > > > > > > Any help/hint/comment is very much appreciated, thank you! > > > > Best regards, > > Gabriel > > > > -- > > Gabriel Tilg M.Sc. > > Tel. +49 89 289 22446 > > > > Lehrstuhl für Verkehrstechnik / Chair of traffic engineering and control > > Technische Universität München / Technical University of Munich > > > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
