[sumo-user] Retrieving edges/junctions where collision has occured

2019-05-07 Thread Vrinda Khirwadkar (vkhrwdkr)
Hi team, I ran few simulations in SUMO for a duration of 24 hours/1 day. Though Sumo is a collision-free model, i could see few collisions and teleports in the log file. It might be because of wrong lane, yield or break in the network. Is there a way to retrieve the edges where the

Re: [sumo-user] [OD2TRIPS]

2019-05-07 Thread Michael Behrisch
Hi, SUMO adds a vehicle to the current time slice using randomized rounding, see the code here: https://github.com/eclipse/sumo/blob/master/src/od/ODMatrix.cpp#L145 but as far as I can tell from the current code and our tests the sum for each OD cell over time should only deviate by at most 1 from

Re: [sumo-user] [OD2TRIPS]

2019-05-07 Thread Luca Di Costanzo
Jackob for some OD pair I have always number smaller than 1 but the sum give me a number greater than 1. After OD2TRIPS I got that, as flow, zero as value of generated vehicles instead, for trips I got 480 vehicles (the sum of OD matrix is around 445). So I think that, in trip generation TRIPS

Re: [sumo-user] [OD2TRIPS]

2019-05-07 Thread Jakob Erdmann
When writing trips, left-over fractions from one time slice are added to the next time slice. There is also the option of writing the output as flows - either with an exact number of vehicles (rounded down) or as a probabilistic flow (option --flow-output.probability) where it acts more like your

[sumo-user] [OD2TRIPS]

2019-05-07 Thread Luca Di Costanzo
Hi all, I want to ask people how SUMO (and more specificly OD2TRIPS) consider the presence of real number (basically with decimal points) in a OD matrix. I have and OD matrix like the one I attacched to the message and I'm trying to figure out the result in term of trips. Some other software

Re: [sumo-user] Build sub-scenario

2019-05-07 Thread Jakob Erdmann
cutRoutes does not consider the 'via' attribute. only If your routes have lots of via edges than the result of calling duarouter and sumo --vehroute-output will be the same. However, duarouter should be faster. Am Di., 7. Mai 2019 um 12:44 Uhr schrieb Thuresson, Daniel <

Re: [sumo-user] Build sub-scenario

2019-05-07 Thread Thuresson, Daniel
Hi, Ok, thanks! Actually almost all routes are fully specified like this: But I guess the routes that lacks one or two edges in the via list is causing the problem. Assuming I have an almost fully specified route file. Can I use either one of duarouter or sumo with option --vehroute-output?

Re: [sumo-user] Build sub-scenario

2019-05-07 Thread Jakob Erdmann
Hello, cutRoutes assumes that the route file contains fully specified routes (with lists of edges) whereas your file only contains origin and destination. To fix this, either process the route file with duarouter (giving you fastest-routes for an empty network) or run it through sumo with option

[sumo-user] Build sub-scenario

2019-05-07 Thread Thuresson, Daniel
Hi, I'm trying to build a sub model of a larger scenario but have run into trouble. I have edited the original net-file with netedit and when I try to reduce the route file to fit the new subnet like this: python "C:/Program Files (x86)/Eclipse/Sumo/tools/route/cutRoutes.py" -v

Re: [sumo-user] [SUMO][VALIDATION]

2019-05-07 Thread Jakob Erdmann
For an overview of capabilities: https://elib.dlr.de/124092/ In regard to calibration/validation studies: https://elib.dlr.de/120856/ To show that SUMO is used by other researchers: https://elib.dlr.de/82739/ regards, Jakob Am Di., 7. Mai 2019 um 10:24 Uhr schrieb Luca Di Costanzo <

Re: [sumo-user] Get Stage Pedestrian

2019-05-07 Thread Jakob Erdmann
You can call traci.person.getVehicle. If the return value is empty, the person is still waiting for the vehicle to arrive. Am Di., 7. Mai 2019 um 08:16 Uhr schrieb steniero : > Thank you very much. > I am counting all the seconds in which the velocity of a pedestrian is 0, > is there any way

[sumo-user] [SUMO][VALIDATION]

2019-05-07 Thread Luca Di Costanzo
Hi guys, properly that kind of question is not directly related to an implementation in SUMO but it's the only spot I can reach the answer. Which is the research/paper you would suggest to cite to prove the validity of SUMO as microscopic simulator? Thanks in advance Ing. Luca Di Costanzo