[sumo-user] Add new Routing algorithm

2019-10-01 Thread Raheleh Zarei
Hello I am trying to implement my own routing algorithm in SUMO. In one of the previous discussions with SUMO, you informed me I need to find all the places in the code where options are used to switch the routing algorithm. (Look for "routing-algorithm" including the quotes). I did so and

Re: [sumo-user] Question

2019-10-01 Thread ben abbes sirine
OK this is so helpful thank you :) Le mar. 1 oct. 2019 à 12:59, Jakob Erdmann a écrit : > marouter uses the penalty method to compute path alternatives (edges used > by previous paths receive a penalty). This is intended to find "meaningful" > alternatives (little overlap) but In general will

Re: [sumo-user] Logic behind Emission model

2019-10-01 Thread Raaj Striker
Thank you so much, Jakob. I've seen your replies for a lot of discussions. Really appreciate the way you're helping everyone with precise answers. On Tue, 1 Oct, 2019, 2:23 PM Jakob Erdmann, wrote: > It's all in the code: > >

Re: [sumo-user] sumo-1.1.0 issue

2019-10-01 Thread Jakob Erdmann
please provide minimal input files for reproducing this issue (python script, net.xml, etc...) Am Di., 1. Okt. 2019 um 12:52 Uhr schrieb Lamia E.L. : > Hi, > I test sumo-1.3.1 and I had the same problem, after 20 or 30 s Sumo stop > running and freeze and I can't continue my simulation. > I

Re: [sumo-user] Question

2019-10-01 Thread Jakob Erdmann
marouter uses the penalty method to compute path alternatives (edges used by previous paths receive a penalty). This is intended to find "meaningful" alternatives (little overlap) but In general will not return all possible paths. Am Di., 1. Okt. 2019 um 12:37 Uhr schrieb ben abbes sirine <

Re: [sumo-user] A-star lanmarks

2019-10-01 Thread Kenneth Stoop
Dear Jakob, Thank you very much for the quick response, now it works. In this regard, the documentation on this subject is lacking I think. Kind regards, Kenneth Van: sumo-user-boun...@eclipse.org namens Jakob Erdmann Verzonden: dinsdag 1 oktober 2019 11:43

Re: [sumo-user] sumo-1.1.0 issue

2019-10-01 Thread Lamia E.L.
Hi, I test sumo-1.3.1 and I had the same problem, after 20 or 30 s Sumo stop running and freeze and I can't continue my simulation. I suppose there is a problem with reroute, it seems like the cars wait long time then sumo stuck. please help. Thank you On Fri, Sep 27, 2019 at 2:50 PM Jakob

Re: [sumo-user] Question

2019-10-01 Thread ben abbes sirine
But couldn't that be possible using the O-D matrix? Le mar. 1 oct. 2019 à 11:11, ben abbes sirine a écrit : > Thanks for the help :) > > Le mar. 1 oct. 2019 à 10:56, Jakob Erdmann a > écrit : > >> There is no tool in SUMO that would systematically generate all possible >> paths. You will have

Re: [sumo-user] Question

2019-10-01 Thread ben abbes sirine
Thanks for the help :) Le mar. 1 oct. 2019 à 10:56, Jakob Erdmann a écrit : > There is no tool in SUMO that would systematically generate all possible > paths. You will have to program something yourself. > You can let a vehicle practically ignore speed limits by setting > speedFactor="1000" in

Re: [sumo-user] Question

2019-10-01 Thread Jakob Erdmann
There is no tool in SUMO that would systematically generate all possible paths. You will have to program something yourself. You can let a vehicle practically ignore speed limits by setting speedFactor="1000" in it's vType definition. You can limit a vehicles maximum speed by setting maxSpeed="X"

Re: [sumo-user] A-star lanmarks

2019-10-01 Thread Jakob Erdmann
You need to add the option --astar.landmark-distances lookuptable where lookuptable contains one landmark edge id per line See https://github.com/eclipse/sumo/tree/master/tests/duarouter/function/routing/astar_landmark_save Am Di., 1. Okt. 2019 um 10:57 Uhr schrieb Kenneth Stoop <

Re: [sumo-user] Route starting at edge could not be closed

2019-10-01 Thread Jakob Erdmann
Hello, the error occurs whenever a route goes in circles for too long before reaching a sink edge. This is just a matter of probability. You can safely suppress this error by setting option --accept-all-destinations To load induction loops into the simulation add sumo option -a inductionLoop.xml

[sumo-user] A-star lanmarks

2019-10-01 Thread Kenneth Stoop
Dear sumo-users, I am simulation quite a large traffic network and I would like to speed up the routing by using A-star in combination with landmarks (ALT algorithm). DUAROUTER seems to have a processing option "--astar.save-landmark-distances " which should save a lookup table for the ALT

Re: [sumo-user] Output (files) values from TraCI

2019-10-01 Thread Lara Codeca
Great! Thank you, Harald. I had no idea xml2csv is able to read streams! Cheers, Lara On Mon, Sep 30, 2019 at 3:38 PM Harald Schaefer wrote: > > Hello Lara, > > xml2csv.py is an example of a python script, which can read sockets > > Regards, Harald > > Am 30.09.19 um 11:18 schrieb Lara

Re: [sumo-user] Logic behind Emission model

2019-10-01 Thread Jakob Erdmann
It's all in the code: https://github.com/eclipse/sumo/blob/master/src/utils/emissions/HelpersHBEFA3.h https://github.com/eclipse/sumo/blob/master/src/utils/emissions/HelpersHBEFA3.cpp Am Di., 1. Okt. 2019 um 08:17 Uhr schrieb Raaj Striker < raajstrik...@gmail.com>: > Thank you so much for your

Re: [sumo-user] Problem with Running SUMO with IDM/IDMM model with "stepping"

2019-10-01 Thread Jakob Erdmann
Most likely, the updated routeTypes.xsd is not being used because the SUMO_HOME variable points to a different file (SUMO_HOME/data/xsd/routeTypes.xsd). You can either fix this or run sumo with option --xml-validation-never. See

Re: [sumo-user] Logic behind Emission model

2019-10-01 Thread Raaj Striker
Thank you so much for your response. How can I get the parameter values for each vehicle class and each pollutant (equation parameters)? Should I derive it myself by collecting data and then use elimination methods to get it? Or is it documented and available? On Wed, 25 Sep, 2019, 11:44 AM Jakob