Hello, 1) I assume floor size refers to the area that is covered by the vehicle trace. If the map is large, a few vehicles may not cover the whole bounding box. Thus, the bounding box may change when there are more vehicles. I would expect the bounding box to strictly increase with more vehicles and find the change from minx 3915 to minx 4181 a bit surprising. I suggest you use traceExporter.py with the option --poi-output and compare both traces visually in sumo-gui.
2) when using option randomTrips.py with option --route-file, duarouter is called automatically. (you may call it manually on the trips) If you load the trips directly into sumo, you will probably get a better distribution of routes (vehicles react to congestion). If you use duarouter you should consider http://sumo.dlr.de/wiki/Demand/Dynamic_User_Assignment 3) we have some small-scale scenarios based on real-world data at https://sourceforge.net/projects/sumo/files/traffic_data/scenarios/Bologna_small/ regards, Jakob 2015-04-16 5:54 GMT+02:00 kavita pandey <[email protected]>: > Could you please answer the following questions > > 1) for same OSM map, i am using randomTrips.py for 150 vehicles and 300 > vehicles . when i am using traceExporter.py for both , ns2config-output is > giving me different floor size values . As per my knowledge, it should give > the same area. > As u can see here > > **************** > # set number of nodes > set opt(nn) 150 > > # set mobility file > set opt(mf) $opt(config-path) > append opt(mf) /scen1 > > # set start/stop time > set opt(start) 0.0 > set opt(stop) 1000.0 > > # set floor size > set opt(x) 5609.38 > set opt(y) 8812.53 > set opt(min-x) 1146.43 > set opt(min-y) 3915.69 > ************************************** > # set number of nodes > set opt(nn) 309 > > # set mobility file > set opt(mf) $opt(config-path) > append opt(mf) /scen1 > > # set start/stop time > set opt(start) 0.0 > set opt(stop) 1000.0 > > # set floor size > set opt(x) 7267.45 > set opt(y) 8873.33 > set opt(min-x) 737.57 > set opt(min-y) 4181.39 > *********************************************** > Could you please explain is there something wrong . > > 2) Is there a need to use duarouter with randomTrips.py . > > 3) Could anyone please tell some database or some link having real traffic > data for simulation > > rgds > sims > > ---------- Forwarded message ---------- > From: kavita pandey <[email protected]> > Date: Tue, Apr 14, 2015 at 5:43 PM > Subject: Re: [sumo-user] route file generation for OSM map > To: Jakob Erdmann <[email protected]> > > > thanks a lot for ur reply. > > there is no need to use duarouter with option 2 . plz confirm . > > could you give some idea of any database having real traffic data for > simulation > > rgds > sims > > > On Tue, Apr 14, 2015 at 12:42 PM, Jakob Erdmann < > [email protected]> wrote: > >> >> >> 2015-04-14 8:45 GMT+02:00 kavita pandey <[email protected]>: >> >>> dear all , >>> >>> I am using OSM map for my simulation. First , i converted the osm map >>> into >>> map.net.xml using netconvert option of sumo . Now, for traffic modelling >>> , >>> I tried these options , but with every options, i faced some problems. >>> Could you please suggest something >>> >>> >>> 1) activitygen ---- I defined an activitygen statistics file ( with >>> approximation ) . Then with all the steps mentioned in sumo document >>> about >>> activitygen, i got a route file . But when i run, i am able to visualize >>> very few vehicles. And i think if i want different no of vehicles and >>> their >>> speed , then i have to change in statistics file . is it so ?? >>> >> yes. change the statistics. Or you can use sumo option --scale which >> removes or duplicates a portion of the vehicles. >> >>> >>> 2) I tried with randomTrips.py .To vary the speed with this option (for >>> OSM >>> map) what should i do ? i think for osm map , vehicles are taking the >>> speeds according to road characteristics. Is it realistic to change the >>> spped in OSM map. >>> >> vehicles typically take the speed from the speed limits on the roads. If >> those speeds are wrong maybe you need to use another typemap when importing >> (there are different defaults for some road speeds in >> http://sumo.dlr.de/trac.wsgi/browser/trunk/sumo/data/typemap). You can >> also make vehicles change their behavior relative to the speed limit by >> setting attributes speedFactor and speedDev in their vType >> >>> >>> 3) generateTripsXml.py + duarouter --- How i get district and matrix file >>> for an osm map which is required for generating trip file from >>> generateTripsXml.py . >>> >> generateTripsXML.py is obsolete. Use the od2trips application for >> building trips from od-matrix files. >> You may get the required input files from the city authorities. Ask >> nicely. >> >>> >>> Can't we have some real data for our simulation . i think better for our >>> results ........... >>> >>> which option you suggest for traffic modelling for OSM map >>> >> 3) would be best then 1) and as a last resort 2) >> >> >>> rgds >>> sims >>> >>> ------------------------------------------------------------------------------ >>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT >>> Develop your own process in accordance with the BPMN 2 standard >>> Learn Process modeling best practices with Bonita BPM through live >>> exercises >>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- >>> event?utm_ >>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/sumo-user >>> >> >> > > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
