[sumo-user] How to explain pedestrian frequency in a paper?
Hello all, In my simulation setup I used the --period 35 s, what is equivalent to 100 (ped/h). In my research paper I named the value 100 (ped/h) pedestrian density. And I got this question from the reviewer: "You did not define what pedestrian density mean?". I could not explain it from the defenition of the the period from the wiki. Could anybody help me to make the value more clear? -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] The difference between Waiting time and Time loss
Dear sumo-users, In my results I found that trip duration, waiting time and time loss values are very approximate. I need to use the three metrics and I understood from the wiki that "waiting time" is due to *stopping* and "time loss" is due to driving with a lower *speed*. I need to know how those metrics are calculated and which duration one is included in the other. [image: Images intégrées 1] -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] Default speed
Dear sumo users, In route file I defined the maxSpeed="30.0" and departSpeed="max". After I simulated I noticed that in the edge file speed is given as speed="13.0". I don't know if the vehicles was simulated with 30 m/s or 13 m/s. I need to know also the default speed of the pedestrian when it is not specified in the code. Could you help me? I appreciate your replies. -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] tlLogic phases
Dear sumo users, My question is not related directly to SUMO simulator but to traffic light system. I need to know the number of phases for the traditional TLC of 30s and for 10s for intersection of 4 roads, 2 directions in each road, and 3 lanes in each road, the intersection include crossing also . I tried with this code (depending on my guess) for 30s TLC: And this code for 10 s: When I get the results in term of trip duration and waiting time the 30s system outperform the 10s system what is not logical. I think that my phase's state and duration is wrong. Please let me know if you have any idea about traditional TLC of 30 and 10 s, or any suggestion that would make my simulation more logical. -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] Pedestrian flow Probability
Hello sumo users, I want the pedestrians to trip in certain walking ereas, and I'm using this code to write the trip file. with open("pedestrians.trip.xml", "w") as routes: print('http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd";>', file=routes) lastVeh = 0 perNr = 0 p2a10 = 1. / 35 p2a11 = 1. / 35 p2a12 = 1. / 35 p2a13 = 1. / 35 for i in range(N): if random.uniform(0, 1) < p2a10: print(' ' % (perNr, i), file=routes) print('', file=routes) print(' ', file=routes) perNr += 1 lastVeh = i if random.uniform(0, 1) < p2a11: print(' ' % (perNr, i), file=routes) print('', file=routes) print(' ', file=routes) perNr += 1 lastVeh = i if random.uniform(0, 1) < p2a12: print(' ' % (perNr, i), file=routes) print('', file=routes) print(' ', file=routes) perNr += 1 lastVeh = i if random.uniform(0, 1) < p2a13: print(' ' % (perNr, i), file=routes) print('', file=routes) print(' ', file=routes) perNr += 1 lastVeh = i print("", file=routes) I need to make sure that giving the rate 1. / 35 to each walking erea (4 times) is equivalent to giving the period'--period', '35' (like in the following code) to the whole walking ereas. Will I get the same pedestrian flow frequency? # randomTrips.main(randomTrips.get_options([ # '--net-file', net, # '--output-trip-file', 'pedestrians.trip.xml', # '--seed', '42', # make runs reproducible # '--pedestrians', # '--prefix', 'ped', # # prevent trips that start and end on the same edge # '--min-distance', '1', # '--trip-attributes', 'departLane="1a10_0" departPos="random" arrivalPos="random"', # '--binomial', '4', # '--period', '35'])) -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] How to get the results of the simulation
My simulation runner is like this: traci.start([sumoBinary, '-c', os.path.join('data', 'run.sumocfg'), "--step-length", "0.1", "--duration-log.statistics","--log logfile.txt"]) When I add "--log logfile.txt" I get this error relation to TraCi server connection: [image: Images intégrées 1] 2017-10-31 12:03 GMT+00:00 Jakob Erdmann : > run your simulation with the option --duration-log.statistics and --log > logfile.txt > you will find the results in logfile.txt > > regards, > Jakob > > 2017-10-31 9:35 GMT+01:00 Sara el hamdani via sumo-user < > sumo-u...@lists.sourceforge.net>: > >> Hello sumo users, >> >> I need to get the avg. trip duration, avg. trip waiting time and avg. trip >> time loss for both vehicles and pedestrians. >> >> I couldn't get this results (avg) using reports, but I found vehicles's >> avg >> on the sumo-gui simulation parameter. >> >> How could I get pedestrians's avg. trip duration, avg. trip waiting time >> and avg. trip time loss? >> -- >> *Best regards* >> >> >> *Sara EL HAMDANI* >> *Phd student -Umi University.* >> >> -- >> 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-u...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> ___ >> sumo-user mailing list >> sumo-user@eclipse.org >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/sumo-user >> > > -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] How to get the results of the simulation
Hello sumo users, I need to get the avg. trip duration, avg. trip waiting time and avg. trip time loss for both vehicles and pedestrians. I couldn't get this results (avg) using reports, but I found vehicles's avg on the sumo-gui simulation parameter. How could I get pedestrians's avg. trip duration, avg. trip waiting time and avg. trip time loss? -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] FatalTraCIError
Hello sumo user, I get this error and I coud not undrstand it. Could anybody help me find the source of the error? while traci.simulation.getMinExpectedNumber() > 0: File "/usr/share/sumo/tools/traci/_simulation.py", line 175, in getMinExpectedNumber return self._getUniversal(tc.VAR_MIN_EXPECTED_VEHICLES) File "/usr/share/sumo/tools/traci/domain.py", line 118, in _getUniversal self._cmdGetID, varID, objectID) File "/usr/share/sumo/tools/traci/connection.py", line 131, in _sendReadOneStringCmd return self._checkResult(cmdID, varID, objID) File "/usr/share/sumo/tools/traci/connection.py", line 159, in _checkResult result = self._sendExact() File "/usr/share/sumo/tools/traci/connection.py", line 112, in _sendExact command)) traci.exceptions.: Received answer 171 for command 196. I would also to prevent vehicles from changing lanes. I see that there is three modes of changing lane and I want to disable all of them. Does anybody have an idea about how to do it? -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] How to get a person's position with more precision
Dear sumo users Can I change deltaT or have more precision on the position of a person using TraCI? I am trying to get a person to stop when they reach the line between lanes while crossing, and to do this the only way I found is by getting their lanePosition. but between simulation steps my pedestrian passes the point at wich I want to him to stop. I would like to thank Jakob for answering my previous question. -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] Stop the pedestrian at a certain position while crossing
Hello, I want that pedestrians would cross the road one lane at a time so that they would stop at the line (the red line in the figure) after passing a lane before they continue the corssing. I tried with traci.person.getLanePosition() but it doesn't seem to be what I need, and I am not sure the values returned by it are not related to the lane on which the vehicles are driving. Does anybody have an idea about how can I get the postion of the pedestrian on the lane or any other value that can help me achieve my goal ? -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* -- 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-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user