Re: [sumo-user] randomTrips pearson of multimodal (personTrip)
Hello, Possibly there is something in your network which prevents car trips. It's working fine in my test case. i.e. netgenerate --grid --grid.number 5 --grid.alphanumerical-ids -o grid5.net.xml randomTrips.py -n grid5.net.xml -o trips.xml -r routefile.rou.xml --persontrips -t 'modes="car" ' --validate If you cannot figure it out, send me the network and I will take a look. regards, Jakob 2017-05-18 18:17 GMT+02:00 CARLOS SEPULVEDA: > Dear Jakob,Thanks for your quick response. I did what you say (randomtrips > -n mynetfile.net.xml -o mytripfile.trips.xml -r routefile.rou.xml > --persontrips -t 'modes="car" ' --validate, and the program runs, but when > I opened the routefile.rou.xml every person movement has only walk edges. > What could be happening o wrong? > > Thanks in advance. > > Best regards. > > 2017-05-18 3:06 GMT-04:00 Jakob Erdmann : > >> Hello, >> - walking mode is always available so you do not need to set this >> - bicycle mode requires the the string 'bicycle' but it cannot vouch for >> this functionality as it is untested >> - you do not need to define vehicles as they will be defined >> automatically if you use modes="car" >> - you've stumbled upon an issue with randomTrips ( >> http://sumo.dlr.de/trac.wsgi/ticket/3117). As a workaround set only >> modes="car" to get walking an car use >> >> regards, >> Jakob >> >> 2017-05-18 4:37 GMT+02:00 CARLOS SEPULVEDA : >> >>> Hi, I'm newbie to SUMO, so sorry if my questions are so obvious, but I >>> been >>> trying to generate a simulation with intermodal routing using randomTrips >>> with no results. I have my net file properlly configure. >>> So my questions i what to do to achive randomTrips intermodal, becasue >>> when >>> i call: >>> >>> randonTrip -n mynetfile.net.xml -o mytripfile.trips.xml -r >>> routefile.rou.xml --persontrips -t 'modes="walk car bike" ' it show me an >>> error. >>> >>> I need to define flows o vType in another file? >>> I need to configure all route's car prior to generate the randomTrip? >>> >>> >>> Thanks in advance for your help. >>> >>> -- >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> ___ >>> sumo-user mailing list >>> sumo-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/sumo-user >>> >> >> > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] randomTrips pearson of multimodal (personTrip)
Dear Jakob,Thanks for your quick response. I did what you say (randomtrips -n mynetfile.net.xml -o mytripfile.trips.xml -r routefile.rou.xml --persontrips -t 'modes="car" ' --validate, and the program runs, but when I opened the routefile.rou.xml every person movement has only walk edges. What could be happening o wrong? Thanks in advance. Best regards. 2017-05-18 3:06 GMT-04:00 Jakob Erdmann: > Hello, > - walking mode is always available so you do not need to set this > - bicycle mode requires the the string 'bicycle' but it cannot vouch for > this functionality as it is untested > - you do not need to define vehicles as they will be defined automatically > if you use modes="car" > - you've stumbled upon an issue with randomTrips ( > http://sumo.dlr.de/trac.wsgi/ticket/3117). As a workaround set only > modes="car" to get walking an car use > > regards, > Jakob > > 2017-05-18 4:37 GMT+02:00 CARLOS SEPULVEDA : > >> Hi, I'm newbie to SUMO, so sorry if my questions are so obvious, but I >> been >> trying to generate a simulation with intermodal routing using randomTrips >> with no results. I have my net file properlly configure. >> So my questions i what to do to achive randomTrips intermodal, becasue >> when >> i call: >> >> randonTrip -n mynetfile.net.xml -o mytripfile.trips.xml -r >> routefile.rou.xml --persontrips -t 'modes="walk car bike" ' it show me an >> error. >> >> I need to define flows o vType in another file? >> I need to configure all route's car prior to generate the randomTrip? >> >> >> Thanks in advance for your help. >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> sumo-user mailing list >> sumo-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] randomTrips pearson of multimodal (personTrip)
Hello, - walking mode is always available so you do not need to set this - bicycle mode requires the the string 'bicycle' but it cannot vouch for this functionality as it is untested - you do not need to define vehicles as they will be defined automatically if you use modes="car" - you've stumbled upon an issue with randomTrips ( http://sumo.dlr.de/trac.wsgi/ticket/3117). As a workaround set only modes="car" to get walking an car use regards, Jakob 2017-05-18 4:37 GMT+02:00 CARLOS SEPULVEDA: > Hi, I'm newbie to SUMO, so sorry if my questions are so obvious, but I been > trying to generate a simulation with intermodal routing using randomTrips > with no results. I have my net file properlly configure. > So my questions i what to do to achive randomTrips intermodal, becasue when > i call: > > randonTrip -n mynetfile.net.xml -o mytripfile.trips.xml -r > routefile.rou.xml --persontrips -t 'modes="walk car bike" ' it show me an > error. > > I need to define flows o vType in another file? > I need to configure all route's car prior to generate the randomTrip? > > > Thanks in advance for your help. > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > sumo-user mailing list > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] randomTrips pearson of multimodal (personTrip)
Hi, I'm newbie to SUMO, so sorry if my questions are so obvious, but I been trying to generate a simulation with intermodal routing using randomTrips with no results. I have my net file properlly configure. So my questions i what to do to achive randomTrips intermodal, becasue when i call: randonTrip -n mynetfile.net.xml -o mytripfile.trips.xml -r routefile.rou.xml --persontrips -t 'modes="walk car bike" ' it show me an error. I need to define flows o vType in another file? I need to configure all route's car prior to generate the randomTrip? Thanks in advance for your help. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] randomtrips
Your current approach generates 5000 vehicles over the span of 5000 second. Naturally, some vehicles leave the network in the meantime. To generate these vehicles in a shorter time (50 seconds, 100 vehicles per second), use options -e 50 --period 0.01 Unless you have a large network, this may lead to insertion backlog ( http://sumo.dlr.de/wiki/Simulation/VehicleInsertion#Delayed_Departure) To keep a constant number of vehicles in the network see: http://sumo.dlr.de/wiki/FAQ#How_do_I_maintain_a_constant_number_of_vehicles_in_the_net.3F regards, Jakob 2017-05-16 4:40 GMT+02:00 Thaer Thaher: > Dear, > > I used "randomTrips.py" generates a set of random trips for a given > networkو I want to load the network with 5000 vehicles. when I try to > simulate the network I find that the maximum loaded vehicles are 3620. > > > randomTrips.py -n third.net.xml -e 5000 --route-file third.rou.xml > --trip-attributes="departureLane=\"best\" departu > respeed=\"max\" departurepos=\"random\" > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > sumo-user mailing list > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] randomtrips
Dear, I used "randomTrips.py" generates a set of random trips for a given networkو I want to load the network with 5000 vehicles. when I try to simulate the network I find that the maximum loaded vehicles are 3620. randomTrips.py -n third.net.xml -e 5000 --route-file third.rou.xml --trip-attributes="departureLane=\"best\" departu respeed=\"max\" departurepos=\"random\" -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] randomTrips
Hi Hannah, this is not possible, because the script cannot know which vehicle should get which type. If you want to assign them at random you can use a vehicle type distribution http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Route_and_vehicle_type_distributions and give the name of the distribution there. If you have some other parameters determining the type simply do multiple runs of randomTrips.py for all different types and feed all resulting route file sinto the simulation. Best regards, Michael Am 2016-10-07 10:18, schrieb Hannah Parker: > Hi, > > I'm using randomTrips to create traffic for my network. I am using an > additional file with all my vtypes in it and using the command from the > example on http://sumo.dlr.de/wiki/Tools/Trip : > > /tools/randomTrips.py -n input_net.net.xml > --trip-attributes="type=\"myType\"" --additional-file type.add.xml >--edge-permission passenger > > I have several vtypes defined in my additional file. Is it possible to > add > multiple type="myType" parameters into the --trip-attributes=? > > Thank you. > > Hannah > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > sumo-user mailing list > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] randomTrips
Hi, I'm using randomTrips to create traffic for my network. I am using an additional file with all my vtypes in it and using the command from the example on http://sumo.dlr.de/wiki/Tools/Trip : /tools/randomTrips.py -n input_net.net.xml --trip-attributes="type=\"myType\"" --additional-file type.add.xml --edge-permission passenger I have several vtypes defined in my additional file. Is it possible to add multiple type="myType" parameters into the --trip-attributes=? Thank you. Hannah -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] RandomTrips
Hello, in the latest development version there are new options for retrieving and setting edge probabilities for specific edges. See http://sumo-sim.org/wiki/ChangeLog#Enhancements http://sumo-sim.org/wiki/Tools/Trip#customized_weights If you are using v 0.21.0 can simply replace your version of randomTrips.py with the latest development version: http://sumo-sim.org/trac.wsgi/browser/trunk/sumo/tools/trip/randomTrips.py?format=txt regards, Jakob 2014-06-27 8:41 GMT+02:00 Marc Segond gnuma...@gmail.com: Hi all Sumo users. I am willing to generate random traffic from different starting points, e.g. I have 3 car parks in my network and I want to generate traffic starting at these 3 car parks. I had a look to RandomTrips.py, but I did not find any option that allows me to specify a list of starting points or end points. Did I miss something? Has someone already tackled this problem? Thanks! Marc -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] RandomTrips
Thanks! I will have a look. I also partially solved my problem using matrices and duarouter. Best Marc Le 30 juin 2014 à 12:27, Jakob Erdmann namdre.s...@googlemail.com a écrit : Hello, in the latest development version there are new options for retrieving and setting edge probabilities for specific edges. See http://sumo-sim.org/wiki/ChangeLog#Enhancements http://sumo-sim.org/wiki/Tools/Trip#customized_weights If you are using v 0.21.0 can simply replace your version of randomTrips.py with the latest development version: http://sumo-sim.org/trac.wsgi/browser/trunk/sumo/tools/trip/randomTrips.py?format=txt regards, Jakob 2014-06-27 8:41 GMT+02:00 Marc Segond gnuma...@gmail.com: Hi all Sumo users. I am willing to generate random traffic from different starting points, e.g. I have 3 car parks in my network and I want to generate traffic starting at these 3 car parks. I had a look to RandomTrips.py, but I did not find any option that allows me to specify a list of starting points or end points. Did I miss something? Has someone already tackled this problem? Thanks! Marc -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] RandomTrips
Hi all Sumo users. I am willing to generate random traffic from different starting points, e.g. I have 3 car parks in my network and I want to generate traffic starting at these 3 car parks. I had a look to RandomTrips.py, but I did not find any option that allows me to specify a list of starting points or end points. Did I miss something? Has someone already tackled this problem? Thanks! Marc -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user