Re: [sumo-user] Pedestrian flow Probability
Am 22.11.2017 um 23:21 schrieb Sara el hamdani: > When I download the 0.31.0 version manually and I try to install I get > too many errors. Is it possible to install the last version using the ppa? Currently the ppa is not up to date, so you need to compile manually for the most recent version. I cced the maintainer, maybe he finds the time to add the new version :-). Best regards, Michael signature.asc Description: OpenPGP digital signature ___ 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] Pedestrian flow Probability
I'm doing this to install the last version sumo on ubuntu : sudo add-apt-repository ppa:sumo/stable sudo apt-get update sudo apt-get install sumo sumo-tools sumo-doc And I get 0.30.0 as a newest version. When I download the 0.31.0 version manually and I try to install I get too many errors. Is it possible to install the last version using the ppa? 2017-11-22 19:16 GMT+00:00 Jakob Erdmann : > Hello, > the avg pedestrian walking duration should be included since version 0.31. > If you are certain that this version of sumo is used, the only way your > output makes sense if you had persons but they weren't walking (only riding > in vehicles). > > The timeloss values for pedestrians (in statistics and tripinfos) as well > as duration in tripinfos are only available in the latest development > version. > > There is no support for waiting time but timeLoss (waitingTime + time lost > due to slow-downs) is generally quite similar. > > regards, > Jakob > > 2017-11-22 20:07 GMT+01:00 Sara el hamdani : > >> I apologize for asking the question it was my fault to give the same node >> id twice. the problem is solved now. >> >> However, I have an other question. I'm using sumo 0.31 and I get this >> information in the logfile: >> >> Performance: >> Duration: 86945ms >> Real time factor: 1.92766 >> UPS: 369.935016 >> Vehicles: >> Inserted: 167 >> Running: 27 >> Waiting: 0 >> Persons: >> Inserted: 25 >> Running: 20 >> Statistics (avg): >> RouteLength: 194.90 >> Duration: 18.50 >> WaitingTime: 0.89 >> TimeLoss: 4.37 >> DepartDelay: 0.02 >> >> Duration and waiting time and timeloss averages are related to the >> vehicle and they are very useful to me. But I couldn't get the person >> duration avg. that I used to have in the old version of sumo. The person >> trip duration disappeared also from the tripinfo output. How can I get is >> in this version? >> >> I need also the person waiting time due to stopping for red light or >> other reason. Can I get it using sumo? >> >> 2017-11-22 18:41 GMT+00:00 Sara el hamdani : >> >>> Thank you jakob for the reply! >>> I wanted to asck about tlLogic too. >>> I have two signalized and connected intersections. I saved my tlLogic >>> program in an additional file and I'm calling in as an input in the sumocfg >>> file. >>> I want that my tlLogic program : >> offset="0" type="static"> control the two intersection, when it is >>> controlling just one node and I can't understand why the second do not >>> respond to the program. I do not have any other tll files and the net file >>> is recreated every time I exectute the python script. >>> Can I give the programID to the intersection in the node file? How can I >>> make the tow intersections respond to the same program. >>> >>> 2017-11-22 15:51 GMT+00:00 Jakob Erdmann : >>> Yes, the depart distribution from your code should be equivalent to the randomTrips behavior with the given options. 2017-11-21 10:47 GMT+01:00 Sara el hamdani via sumo-user < sumo-u...@lists.sourceforge.net>: > 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(' xmlns:xsi="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(' arrivalPos="50"/>', file=routes) > print(' ', file=routes) > perNr += 1 > lastVeh = i > if random.uniform(0, 1) < p2a11: > print(' ' % (perNr, i), > file=routes) > print(' arrivalPos="0"/>', file=routes) > print(' ', file=routes) > perNr += 1 > lastVeh = i > if random.uniform(0, 1) < p2a12: > print(' ' % (perNr, i), > file=routes) > print(' arrivalPos="0"/>', file=routes) > print(' ', file=routes) > perNr += 1 > lastVeh = i > if random.uniform(0, 1) < p2a13: > print(' ' % (perNr, i), > file=routes) > print(' arrivalPos="50"/>', 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 equ
Re: [sumo-user] Pedestrian flow Probability
I apologize for asking the question it was my fault to give the same node id twice. the problem is solved now. However, I have an other question. I'm using sumo 0.31 and I get this information in the logfile: Performance: Duration: 86945ms Real time factor: 1.92766 UPS: 369.935016 Vehicles: Inserted: 167 Running: 27 Waiting: 0 Persons: Inserted: 25 Running: 20 Statistics (avg): RouteLength: 194.90 Duration: 18.50 WaitingTime: 0.89 TimeLoss: 4.37 DepartDelay: 0.02 Duration and waiting time and timeloss averages are related to the vehicle and they are very useful to me. But I couldn't get the person duration avg. that I used to have in the old version of sumo. The person trip duration disappeared also from the tripinfo output. How can I get is in this version? I need also the person waiting time due to stopping for red light or other reason. Can I get it using sumo? 2017-11-22 18:41 GMT+00:00 Sara el hamdani : > Thank you jakob for the reply! > I wanted to asck about tlLogic too. > I have two signalized and connected intersections. I saved my tlLogic > program in an additional file and I'm calling in as an input in the sumocfg > file. > I want that my tlLogic program : offset="0" type="static"> control the two intersection, when it is > controlling just one node and I can't understand why the second do not > respond to the program. I do not have any other tll files and the net file > is recreated every time I exectute the python script. > Can I give the programID to the intersection in the node file? How can I > make the tow intersections respond to the same program. > > 2017-11-22 15:51 GMT+00:00 Jakob Erdmann : > >> Yes, the depart distribution from your code should be equivalent to the >> randomTrips behavior with the given options. >> >> 2017-11-21 10:47 GMT+01:00 Sara el hamdani via sumo-user < >> sumo-u...@lists.sourceforge.net>: >> >>> 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('>> xmlns:xsi="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('>> arrivalPos="50"/>', file=routes) >>> print(' ', file=routes) >>> perNr += 1 >>> lastVeh = i >>> if random.uniform(0, 1) < p2a11: >>> print(' ' % (perNr, i), >>> file=routes) >>> print('>> arrivalPos="0"/>', file=routes) >>> print(' ', file=routes) >>> perNr += 1 >>> lastVeh = i >>> if random.uniform(0, 1) < p2a12: >>> print(' ' % (perNr, i), >>> file=routes) >>> print('>> arrivalPos="0"/>', file=routes) >>> print(' ', file=routes) >>> perNr += 1 >>> lastVeh = i >>> if random.uniform(0, 1) < p2a13: >>> print(' ' % (perNr, i), >>> file=routes) >>> print('>> arrivalPos="50"/>', 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 >>>
Re: [sumo-user] Pedestrian flow Probability
Thank you jakob for the reply! I wanted to asck about tlLogic too. I have two signalized and connected intersections. I saved my tlLogic program in an additional file and I'm calling in as an input in the sumocfg file. I want that my tlLogic program : control the two intersection, when it is controlling just one node and I can't understand why the second do not respond to the program. I do not have any other tll files and the net file is recreated every time I exectute the python script. Can I give the programID to the intersection in the node file? How can I make the tow intersections respond to the same program. 2017-11-22 15:51 GMT+00:00 Jakob Erdmann : > Yes, the depart distribution from your code should be equivalent to the > randomTrips behavior with the given options. > > 2017-11-21 10:47 GMT+01:00 Sara el hamdani via sumo-user < > sumo-u...@lists.sourceforge.net>: > >> 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('> xmlns:xsi="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('> arrivalPos="50"/>', file=routes) >> print(' ', file=routes) >> perNr += 1 >> lastVeh = i >> if random.uniform(0, 1) < p2a11: >> print(' ' % (perNr, i), >> file=routes) >> print('> arrivalPos="0"/>', file=routes) >> print(' ', file=routes) >> perNr += 1 >> lastVeh = i >> if random.uniform(0, 1) < p2a12: >> print(' ' % (perNr, i), >> file=routes) >> print('> arrivalPos="0"/>', file=routes) >> print(' ', file=routes) >> perNr += 1 >> lastVeh = i >> if random.uniform(0, 1) < p2a13: >> print(' ' % (perNr, i), >> file=routes) >> print('> arrivalPos="50"/>', 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 >> > > -- *Best regards* *Sara EL HAMDANI* *Phd student -Umi University.* ___ 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] Pedestrian flow Probability
Hello, the avg pedestrian walking duration should be included since version 0.31. If you are certain that this version of sumo is used, the only way your output makes sense if you had persons but they weren't walking (only riding in vehicles). The timeloss values for pedestrians (in statistics and tripinfos) as well as duration in tripinfos are only available in the latest development version. There is no support for waiting time but timeLoss (waitingTime + time lost due to slow-downs) is generally quite similar. regards, Jakob 2017-11-22 20:07 GMT+01:00 Sara el hamdani : > I apologize for asking the question it was my fault to give the same node > id twice. the problem is solved now. > > However, I have an other question. I'm using sumo 0.31 and I get this > information in the logfile: > > Performance: > Duration: 86945ms > Real time factor: 1.92766 > UPS: 369.935016 > Vehicles: > Inserted: 167 > Running: 27 > Waiting: 0 > Persons: > Inserted: 25 > Running: 20 > Statistics (avg): > RouteLength: 194.90 > Duration: 18.50 > WaitingTime: 0.89 > TimeLoss: 4.37 > DepartDelay: 0.02 > > Duration and waiting time and timeloss averages are related to the vehicle > and they are very useful to me. But I couldn't get the person duration avg. > that I used to have in the old version of sumo. The person trip duration > disappeared also from the tripinfo output. How can I get is in this version? > > I need also the person waiting time due to stopping for red light or other > reason. Can I get it using sumo? > > 2017-11-22 18:41 GMT+00:00 Sara el hamdani : > >> Thank you jakob for the reply! >> I wanted to asck about tlLogic too. >> I have two signalized and connected intersections. I saved my tlLogic >> program in an additional file and I'm calling in as an input in the sumocfg >> file. >> I want that my tlLogic program : > offset="0" type="static"> control the two intersection, when it is >> controlling just one node and I can't understand why the second do not >> respond to the program. I do not have any other tll files and the net file >> is recreated every time I exectute the python script. >> Can I give the programID to the intersection in the node file? How can I >> make the tow intersections respond to the same program. >> >> 2017-11-22 15:51 GMT+00:00 Jakob Erdmann : >> >>> Yes, the depart distribution from your code should be equivalent to the >>> randomTrips behavior with the given options. >>> >>> 2017-11-21 10:47 GMT+01:00 Sara el hamdani via sumo-user < >>> sumo-u...@lists.sourceforge.net>: >>> 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('>>> xmlns:xsi="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('>>> arrivalPos="50"/>', file=routes) print(' ', file=routes) perNr += 1 lastVeh = i if random.uniform(0, 1) < p2a11: print(' ' % (perNr, i), file=routes) print('>>> arrivalPos="0"/>', file=routes) print(' ', file=routes) perNr += 1 lastVeh = i if random.uniform(0, 1) < p2a12: print(' ' % (perNr, i), file=routes) print('>>> arrivalPos="0"/>', file=routes) print(' ', file=routes) perNr += 1 lastVeh = i if random.uniform(0, 1) < p2a13: print(' ' % (perNr, i), file=routes) print('>>> arrivalPos="50"/>', 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 #
Re: [sumo-user] Pedestrian flow Probability
Yes, the depart distribution from your code should be equivalent to the randomTrips behavior with the given options. 2017-11-21 10:47 GMT+01:00 Sara el hamdani via sumo-user < sumo-u...@lists.sourceforge.net>: > 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(' xmlns:xsi="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(' arrivalPos="50"/>', file=routes) > print(' ', file=routes) > perNr += 1 > lastVeh = i > if random.uniform(0, 1) < p2a11: > print(' ' % (perNr, i), > file=routes) > print(' arrivalPos="0"/>', file=routes) > print(' ', file=routes) > perNr += 1 > lastVeh = i > if random.uniform(0, 1) < p2a12: > print(' ' % (perNr, i), > file=routes) > print(' arrivalPos="0"/>', file=routes) > print(' ', file=routes) > perNr += 1 > lastVeh = i > if random.uniform(0, 1) < p2a13: > print(' ' % (perNr, i), > file=routes) > print(' arrivalPos="50"/>', 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 > ___ 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