Hi Alejandro, please replace the “,” in your csv files by “;” and run dfrouter again. If that was the problem, you should be getting some vehicle-elements in the output ‘vehicles.rou.xml’. Now the output contains only routeDistributions-elements.
Regards, Giuliana Von: sumo-user <[email protected]> Im Auftrag von Alejandro Rodríguez Sánchez Gesendet: Mittwoch, 31. März 2021 12:12 An: Sumo project User discussions <[email protected]> Betreff: [sumo-user] sumo does not load vehicles after running dfrouter Hi everyone, I've recently started working with dfrouter in order to get "realistic" traffic flows in the city of Madrid. I have followed every step in the dfrouter docs in order to create the mandatory files (detector positions and flow measures). In order to locate the detectors in the network I have made my own script using lanePos, dist = sumolib.geomhelper.polygonOffsetAndDistanceToPoint((x,y), closestLane.getShape()) to locate the closest Lane to each detector. After doing that, dfrouter seems to work properly: it creates the vehicles.rou.xml and sumoroutes.rou.xml files and they are not empty. However, while trying to run sumo, it does not load any vehicle. I have tried with the two following commands: sumo -c $conf_file --ignore-route-errors sumo --net-file ${network} --additional-files ${routes},${emitters_file} I have to note that I am trying to implement dfrouter in a network with public transport vehicles loaded apart from the passenger vehicles, but I don't think this can be an issue because the public transport vehicles are not loaded in the highlighted line. Could anyone pointing out where the error is, if any? I attach the dfrouter files and the rest of files for the simulation in this mail. Best regards, Alejandro Rodríguez Sánchez PhD student CIEMAT // Universidad Complutense de Madrid 28040 Madrid email: [email protected]<mailto:[email protected]> Website: https://alexrsanchez.github.io/en/ [Das Bild wurde vom Absender entfernt.] CarpetaDudas.zip<https://drive.google.com/file/d/1LvtU486cUQg3tn-aWlB4nZYE6m0LKmBl/view?usp=drive_web>[Das Bild wurde vom Absender entfernt.]
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
