Re: [sumo-user] Sumo stops working

2019-05-16 Thread Jakob Erdmann
Also, try using version 1.2. if you haven't done so already. If you can provide a smaller sample scenario where a revent version of sumo crashes, I will take a look. Am Do., 16. Mai 2019 um 18:40 Uhr schrieb Mirko Barthauer < m.bartha...@t-online.de>: > Hi Stefano, > > can you share with us any m

Re: [sumo-user] Error when loading a instance of a new vehicle type

2019-05-16 Thread Jakob Erdmann
Then you could define Am Do., 16. Mai 2019 um 16:16 Uhr schrieb Azise Oumar Diallo < dialli...@gmail.com>: > Thanks Jan and Jakob for your answers. > Currently, a *trotinette* (scooter)'s user can drive (theoretically) on > all lanes (car, bus, bicycle, pedestrian street) of road traffic. I > wa

Re: [sumo-user] Build sub-scenario

2019-05-16 Thread Jakob Erdmann
If you load your flows into duarouter it will be transformed into the style (duarouter does not support flow output). You could only post-process it with your own code to put all the edges back into the from/to/via format and re-aggregate the vehicles into a flow. regards, Jakob Am Do., 16. Mai

Re: [sumo-user] Sumo stops working

2019-05-16 Thread Mirko Barthauer
Hi Stefano, can you share with us any message you get when the program crashes? If the problem happens always at the same time step, you might consider debugging your TraCI code to see which call is the last before the crash... Regards Mirko Am 16.05.2019 um 17:12 schrieb steniero: Hi, I ha

[sumo-user] Sumo stops working

2019-05-16 Thread steniero
Hi, I have to run a simulation with traci of around 15000 steps and 72k agents but aroung step 1300 sumo stops working and the simulation crashes. I don’t understand what happens but the warning comes directly from windows. I tried withtwo different PCs but I obtain the same problem. Is it related

Re: [sumo-user] Error when loading a instance of a new vehicle type

2019-05-16 Thread Azise Oumar Diallo
Thanks Jan and Jakob for your answers. Currently, a *trotinette* (scooter)'s user can drive (theoretically) on all lanes (car, bus, bicycle, pedestrian street) of road traffic. I wanted to implement this behavior regardless of the XML configuration (without allow this on all edges of the network).

Re: [sumo-user] Build sub-scenario

2019-05-16 Thread Thuresson, Daniel
Ok. Sorry for being unclear. Perhaps I should have posted a new question… Anyways, I have written my own code to do the cutting of the routes. Now I was wondering, since my route definitions lack some edges in the ‘via’ list, if my route file could be repaired by duarouter and that the output is

Re: [sumo-user] Build sub-scenario

2019-05-16 Thread Jakob Erdmann
Yes. The format is supported by cutRoutes.py Am Do., 16. Mai 2019 um 14:37 Uhr schrieb Thuresson, Daniel < daniel.thuresso...@volvocars.com>: > Is it possile to use duarouter to output a route file as below: > > > > vehsPerHour="118.6931" from="163[0]" to="448" via="440 313 33.52 34 35 39

Re: [sumo-user] Build sub-scenario

2019-05-16 Thread Thuresson, Daniel
Is it possile to use duarouter to output a route file as below: I managed to get duarouter to repair my current route file (which looks like above and unfortunately many of the routes lacks a couple if edges in the ‘via’ list), but the output is then in the form: /Dan

Re: [sumo-user] Error when loading a instance of a new vehicle type

2019-05-16 Thread Jakob Erdmann
To introduce a completely new vehicle class, a lot more files have to be changed than just SUMOVehicleClass and SUMOVTypeParameter because the new vehicle class must also be accounted for in generated networks. You only need a new vClass if the *access restrictions* are completely different from a

Re: [sumo-user] Error when loading a instance of a new vehicle type

2019-05-16 Thread sumo
Dear Azise, it seems that your "trotinette" is not allowed to drive over the network edge "e1". It may be because SUMO still thinks it is a bicycle and bicycles are disallowed on that edge or because you did not alter your network edges to allow this vehicle type. Try to open your test network

Re: [sumo-user] Sumolib : Find Alternate routes and route wise total length

2019-05-16 Thread sumo
Dear Bijal, I guess that you will have to build routes by yourself, as far as I know Sumolib offers only "getShortestPath" method. Building a random set of routes is not complicated if you allow cycles, see e.g. https://stackoverflow.com/questions/37953983/. As the route is a python list of ed

[sumo-user] Sumolib : Find Alternate routes and route wise total length

2019-05-16 Thread Bijal
Dear Listing, I am using Sumolib. [Converted net file to graph]. *My question :* How to get the list of the alternate possible routes from Source node to destination node. Moreover this i need to know the total length of the edges [edge.getLength()] for each routes,source to Destination. *[So th

[sumo-user] Error when loading a instance of a new vehicle type

2019-05-16 Thread Azise Oumar Diallo
Hello, I would like to test a new type of vehicle named *trotinette* that means scooter in English to implement his driving on road network. So I created this new vType based on *bicycle* vType class within the files SUMOVehicleClass (.h, .cpp) and SUMOVTypeParameter (.cpp). Here is the error me