Hi, I found the source of my problem. I used the wrong time to start and finish flows ( begin = 0 end = 900) while in my original file .sumocfg time departure and arrival were different ( begin = 54 000 end = 54900). Important detail that I had not seen the first time.
It now works and it should simplify my work (I hope). Greetings François Vaudrin, ing, MBA Laboratoire ERICAE Faculté des Sciences et de Génie Université Laval, CANADA ________________________________________ De : François Vaudrin Date d'envoi : 16 février 2015 10:27 À : Jakob Erdmann Cc : sumo-user Objet : RE : [sumo-user] How to simplify the .rou.xml file Hi Jakob, Thank you for your help. I had added this piece of code for a test in my .rou.xml file ( just to cross an intersection ), but it did not seem to recognize the flow ( nothing happened at this level). Probably there something I written wrong. Is there a specific location where I must insert this code in the .rou.xml file ? Is there an example in the tutorial that includes flows and trips in a .rou.xml file ? Greetings François Vaudrin, ing, MBA Laboratoire ERICAE Faculté des Sciences et de Génie Université Laval, CANADA ________________________________________ De : Jakob Erdmann [[email protected]] Date d'envoi : 16 février 2015 02:22 À : François Vaudrin Cc : sumo-user Objet : Re: [sumo-user] How to simplify the .rou.xml file Hello, route files for large scenarios can indeed be quite large (we're occasionally dealing with input files in the gigabyte range). However, the files are processed sequentially and do not require their own size in RAM. You can define a poisson-distributed flow (or rather binomially distributed to be precise) as explained here: http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Repeated_vehicles (see attribute probability). As to inserting this into a route file. Simply use a text editor. regards, Jakob 2015-02-16 3:46 GMT+01:00 François Vaudrin <[email protected]<mailto:[email protected]>>: Hello, I edited a file .rou.xml and I described each route for each vehicle (OK). This works for a simulation that lasts a reasonable time (eg. 900 sec) but a simulation of 3 hours ( 10,800 sec.) is that implies building a file of nearly 10,000 lines (if there a starting every second ) ? If I want to simplify the work file, I understand that we could use this syntax : <vehicles> <trip id="t" depart="0" from="beg" to="end"/> <flow id="f" begin="0" end="100" number="23" from="beg" to="end"/> </vehicles> How do I insert this code into the .rou.xml file? Is it possible to simulate this flow with a Poisson law ? thank you François Vaudrin, ing, MBA Laboratoire ERICAE Faculté des Sciences et de Génie Université Laval, CANADA ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
