Hello, when exporting ns2 traces with http://sumo.dlr.de/wiki/Tools/TraceExporter the nodes will be relabeled by default so that they have consecutive numbers. If you use the option --orig-ids (only in the very latest svn version) the ids remain the same and then nodes 10,15 and 45 would simply not show up. regards, Jakob
2015-02-23 0:50 GMT+01:00 Tiago Cerqueira <[email protected]>: > Hi Jakob, > Sorry for taking this long to reply… I wasn’t hoping on using SUMO > anytime soon. > I tried your method (generating more trips than those needed), however, I > read somewhere that there is a direct correspondence of the nodes on ns3 to > the nodes on the mobility trace. I’m not sure if I’m correct, but I’m > trying to accomplish the creation of a mobility trace in SUMO and exporting > it in ns2 format. If the mobility trace has a direct correspondence to the > nodes on the network simulator, if I run a simulation with 50 nodes and the > SUMO mobility trace fails to generate mobility for nodes 10,15 and 45 for > example, does that mean that the nodes 10,15 and 45 on the simulator will > not move? Can you confirm that they have direct correspondence? > > Best regards, > Tiago > No dia 13/02/2015, às 07:55, Jakob Erdmann <[email protected]> > escreveu: > > Hello, > this is expected since a typical chunk of OSM network data usually isn't > fully connected graph. Just generate more random trips to arrive at the > number of desired trips. > regards, > Jakob > > 2015-02-13 2:07 GMT+01:00 Tiago Cerqueira <[email protected]>: > >> Hi, >> I’m trying to create a mobility trace using SUMO, however, the generated >> mobility leaves some nodes without a route (completes with a 98.9% of nodes >> with mobility). >> I’m running the following commands: >> netconvert --osm-files map.osm -o map-net.xml >> polyconvert --net-file map-net.xml --osm-files map.osm --type-file >> typemap.xml -o map-poly.xml >> python /usr/share/sumo/tools/trip/randomTrips.py -n map-net.xml -r >> map-rand.xml -e 99 -l >> >> The output of the randomTrips.py shows several lines such as this one: >> Warning: No connection between '208617162' and '-204905141' found. >> Warning: No connection between '208617162' and '-204905141' found. >> Warning: Mandatory edge '-204905141' not reachable by vehicle '83'. >> Warning: The vehicle '83' has no valid route. >> >> Is this expected? Can anyone help me? >> >> Best regards, >> Tiago Cerqueira >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> sumo-user mailing list >> [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
