Re: [sumo-user] get speed of an edge in TraCI

2018-08-07 Thread mohsen hs
Just found out, from  lane.getMaxSpeed CheersMohsenOn Tuesday, August 7, 2018, 8:40:01 PM GMT+12, mohsen hs wrote: Hello there,  Could you please let me know if there is a function in TraCI which allows reading the edge's speed (opposite of setMaxSpeed) ?I know we can extract

Re: [sumo-user] Left-hand network

2018-08-15 Thread mohsen hs
, Jakob Erdmann wrote: did you set netconvert option --lefthand ? 2018-08-11 21:20 GMT+02:00 mohsen hs : Hello there,  Driving in my city is on the left hand and I noticed some issues with the network structure (e.g. Traffic light placements, junctions),  and they are too much to be fixed

Re: [sumo-user] Left-hand network

2018-08-15 Thread mohsen hs
/OpenStreetMap#Recommended_NETCONVERT_Options) Also, I strongly recommend upgrading to the latest development version as it contains a number of improvements in regard to joining junctions and computing their shape. 2018-08-15 11:06 GMT+02:00 mohsen hs : Thank you Jakob. Yes, I used that option

Re: [sumo-user] Routing algorithm

2018-08-15 Thread mohsen hs
iki/Demand/Automatic_Routing 2018-08-11 21:27 GMT+02:00 mohsen hs : Dear sumo users,  I know that it is possible to assign weight to the routes (from  http://sumo.dlr.de/wiki/ DUAROUTER), but this needs a file, which I do not have. Is there any way to create routes and use the number of la

[sumo-user] Change route dynamically

2018-08-07 Thread mohsen hs
Dear SUMO users and developers,  I would like to change the route dynamically via traci, but I face some challenges and appreciate that if you could assist. 1- by using aa=traci.vehicle.getIDList() traci.vehicle.changeTarget(aa[0], "53i") SUMO throws this error: traci.exceptions.TraCIException:

Re: [sumo-user] get speed of an edge in TraCI

2018-08-07 Thread mohsen hs
Thank you Jakob. CheersMohsen On Tuesday, August 7, 2018, 8:43:12 PM GMT+12, Jakob Erdmann wrote: you can use traci.lane.getMaxSpeed() 2018-08-07 10:40 GMT+02:00 mohsen hs : Hello there,  Could you please let me know if there is a function in TraCI which allows reading the edge's

[sumo-user] get speed of an edge in TraCI

2018-08-07 Thread mohsen hs
Hello there,  Could you please let me know if there is a function in TraCI which allows reading the edge's speed (opposite of setMaxSpeed) ?I know we can extract this information from edge.xml, but it would nice to know if it is possible in Traci. Many

Re: [sumo-user] Change route dynamically

2018-08-07 Thread mohsen hs
. Instead, use the documentation at http://sumo.dlr.de/daily/pydoc/traci.html regards,Jakob 2018-08-07 10:08 GMT+02:00 mohsen hs : Dear SUMO users and developers,  I would like to change the route dynamically via traci, but I face some challenges and appreciate that if you could assist. 1

Re: [sumo-user] Change route dynamically

2018-08-07 Thread mohsen hs
Great, thank you.   Have a good day. Cheers On Tuesday, August 7, 2018, 9:27:20 PM GMT+12, Jakob Erdmann wrote: The central intersection only allows going straight. The connections for left- and right turns are missing. 2018-08-07 11:10 GMT+02:00 mohsen hs : Thank you Jakob,  Re

[sumo-user] Routing algorithm

2018-08-11 Thread mohsen hs
Dear sumo users,  I know that it is possible to assign weight to the routes (from  http://sumo.dlr.de/wiki/DUAROUTER), but this needs a file, which I do not have. Is there any way to create routes and use the number of lanes as a parameter for the route creation/selection? For example, if there

[sumo-user] Rnadomtrips and duarouter

2018-08-11 Thread mohsen hs
Hello there, I generated some random trips and then used duarouter to generate the routes. In the simulation, I can see that the vehicles are not clever enough to change their path to the destination with a less congested route, although they exactly do they have been told to do by the route.

[sumo-user] Left-hand network

2018-08-11 Thread mohsen hs
Hello there,  Driving in my city is on the left hand and I noticed some issues with the network structure (e.g. Traffic light placements, junctions),  and they are too much to be fixed manually, although I may do that as the last option. Is there any option to enhance the topology? I have used

[sumo-user] jmIgnoreFoeProb, lanechangemodel, overtake, and sigma

2018-08-21 Thread mohsen hs
Dear Sumo users, I was wondering if you could please help me with the following questions. 1- the value for jmIgnoreFoeProb is probability with the range of 0 to 1, right? on http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Junction_Model_Parameters , the unit is

[sumo-user] A small typo in the wiki

2018-08-21 Thread mohsen hs
Hello there, just a small typo on  http://www.sumo.dlr.de/userdoc/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#Junction_Model_Parameters in this example, f in jmDriveAfterRedTime is missing. Thanks in advanced.Mohsen ___ sumo-user

[sumo-user] Intelligent traffic light

2018-08-23 Thread mohsen hs
Dear sumo users, I am interested to make my traffic lights a bit more intelligent, so they would not have static phases (through runtime). Is there such a configuration in SUMO, or I should get the edge info and update the connected traffic lights through TraCI? I have seen

[sumo-user] one-shot.py is so slow

2018-08-28 Thread mohsen hs
Hello there,  I am running one-shot.py for 140k trips in(uniformly distrusted in the first 30 min of simulation) min and it seems very slow. It is running for two days and  vehroutes_300.xml, 300 is -f,  is only 26KB and the log is  45KB and the last line is :Step #776.00 (357857ms ~= 0.00*RT,

Re: [sumo-user] Change lane to the free lane

2018-08-19 Thread mohsen hs
) lane changing never changes the route. The vehicle will always try to return to the correct lane for continuing its route. regards,Jakob 2018-08-19 19:21 GMT+02:00 mohsen hs : Dear Sumo developers, 1-I am trying to force a vehicle to change its lane through TraCI and think changeLaneRelative

[sumo-user] Change lane to the free lane

2018-08-19 Thread mohsen hs
Dear Sumo developers, 1-I am trying to force a vehicle to change its lane through TraCI and think changeLaneRelative is the best option that I have, but before applying left, or right I need to know which one (left or right) is free at that moment next to the vehicle (like a real world

Re: [sumo-user] Collect Edge stat

2018-09-01 Thread mohsen hs
definitions that write to the same output file (so it can be anything you like). see https://github.com/eclipse/sumo/blob/master/tests/sumo/output/meandata_edgebased/one_vehicle/interval60s/input_additional.add.xml(load this with option --additional-files) 2018-08-30 1:40 GMT+02:00 mohsen hs

[sumo-user] A few questions about SUMO output

2018-09-09 Thread mohsen hs
Dear SUMO developers,  I am aware that SUMO has great reporting function and I would appreciate that if you could help me with the following three questions. 1. I know that summary-output produces the output for every single step in the simulation, is there any way to force SUMO to produce the

Re: [sumo-user] A few questions about SUMO output

2018-09-09 Thread mohsen hs
Hi Jakob,  After sending the email, I just realized that I can get the speed from routelength and duration. So, Please ignore the second question and sorry for any inconvenience. Many thanksMohsen On Sunday, September 9, 2018, 7:32:37 PM GMT+12, mohsen hs wrote: Dear SUMO developers

Re: [sumo-user] one-shot.py is so slow

2018-08-29 Thread mohsen hs
hms)Possibly, the simulation does not continue due to heavy jamming. This is best investigated by looking at the simulation with sumo-gui (see http://sumo.sourceforge.net/userdoc/FAQ.html#The_simulation_has_lots_of_jams.2Fdeadlocks._What_can_I_do.3F) regards,Jakob 2018-08-28 20:55 GMT+02:00 moh

[sumo-user] Collect Edge stat

2018-08-29 Thread mohsen hs
Hello there,  I would like to collect some stats about the edges such as  length, mean speed, mean density,...  I know  a few approaches, and I think the second one is the easiest/fastest approach but I have some difficulty to make it practical: 1-using inductive loop detectors-> use

Re: [sumo-user] relation between occupancy and flow

2018-03-07 Thread mohsen hs
out the maximum capacity of your roads. The value you will see depends on the calibration parameters of the models and the default parameters may not fit to the driver behavior in your city. I suggest you complement your research with some real-world data. regards, Jakob 2018-03-05 22:47 GMT

Re: [sumo-user] Driver behaviour in SUMO

2018-04-19 Thread mohsen hs
ensity-flow relationship, etc). That being said, some aspects of emotional states can probably by modeled by setting the appropriate parameter values (i.e. aggressive braking and acceleration or cautious distance keeping: (accel, decel, tau)) regards, Jakob 2018-04-18 13:47 GMT+02:00 mohsen hs &l

Re: [sumo-user] put obstacle or roadblock in lane

2018-03-17 Thread mohsen hs
Hello,  I had a similar issue and I can remember that I forced a vehicle to stop and block a lane. http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State orhttp://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Stops not sure of a better way. RegardsMohsen On Saturday,

Re: [sumo-user] jmIgnoreFoeProb

2018-09-30 Thread mohsen hs
happens if the vehicle being ignored has a speed below jmIgnoreFoeSpeed. By default only standing vehicles are ignored. The check is performed anew in every simulation step.  regards,Jakob Am Mo., 24. Sep. 2018 um 02:05 Uhr schrieb mohsen hs : Dear SUMO developers,  I am trying to get more information

Re: [sumo-user] device.rerouting.period is 0 , but rerouteNo in tripinfo is not 0

2018-10-28 Thread mohsen hs
device.rerouting.probability=0 regards,Jakob Am Sa., 27. Okt. 2018 um 19:00 Uhr schrieb mohsen hs : Dear SUMO experts, Thank you so much for your earlier support. I was wondering if you could let me know what happens with the following conf in SUMO in terms of number of rerouting

[sumo-user] device.rerouting.period is 0 , but rerouteNo in tripinfo is not 0

2018-10-27 Thread mohsen hs
Dear SUMO experts, Thank you so much for your earlier support. I was wondering if you could let me know what happens with the following conf in SUMO in terms of number of rerouting.                                                                                              Since 

[sumo-user] vehroute-output.dua

2018-10-04 Thread mohsen hs
Dear SUMO experts,  I am would like to record the cost of the route when a vehicle reroute, so I am using vehroute-output.dua in the additional.xml as shown below. When I use this option, only one line of reouting (with cost) is written in the vehroute file, but when I remove this line, I can

Re: [sumo-user] Fw: traci.SetRoutingMode

2018-10-05 Thread mohsen hs
0.32.0 but was added in 1.0.0.Most likely, you are not using the version that you think you are using. Am Fr., 5. Okt. 2018 um 06:48 Uhr schrieb mohsen hs : Hello there, This piece of code works fine on v32, but I get the below error in v1. Am I doing sth wrong? Many thanksMohsen

Re: [sumo-user] vehroute-output.dua

2018-10-05 Thread mohsen hs
as well as the cost of the original route which was rejected (though it might be tedious). regards,Jakob Am Do., 4. Okt. 2018 um 21:17 Uhr schrieb mohsen hs : Dear SUMO experts,  I am would like to record the cost of the route when a vehicle reroute, so I am using vehroute-output.dua

[sumo-user] device.rerouting

2018-09-27 Thread mohsen hs
Hello Jakob,  I was wondering if you could let me know if there is any rule regarding these three attributes for rerouting. For example, Is it ok if steps==periods? or period should be larger than the number of steps? And what is the best guess for the number of steps? is 100 fine or is too

Re: [sumo-user] device.rerouting

2018-09-28 Thread mohsen hs
often use 300 in our own scenarios.  It should definitely be higher than adaptation-interval because the values don't change in between updates. 2018-09-28 3:00 GMT+02:00 mohsen hs : Hello Jakob,  I was wondering if you could let me know if there is any rule regarding these three attributes

[sumo-user] traci.exceptions.TraCIException: Route replacement failed for ...

2018-10-06 Thread mohsen hs
 Dear sumo experts, I am rerouting vehicles in TraCI and suddenly for some vehicles, I get the below error. The point is that rerouting was done for many other vehicles without any issues. Unfortunately, I could not find that much information on the web for this issue (except than this one 

Re: [sumo-user] traci.exceptions.TraCIException: Route replacement failed for ...

2018-10-06 Thread mohsen hs
list and it is not permitted to call vehicle.setRoute with an empty list of edges. Am Sa., 6. Okt. 2018 um 08:42 Uhr schrieb mohsen hs :  Dear sumo experts, I am rerouting vehicles in TraCI and suddenly for some vehicles, I get the below error. The point is that rerouting was done for many

[sumo-user] Debug the source code in Linux

2018-09-25 Thread mohsen hs
Hello there,  I would like to change the SUMO source code and compile it and appreciate that if you could let me how I can achieve this. Running "make" and "make install" in Linux is not very convenient for this case as it takes so long, and I am mainly looking for running it in a debug mode

[sumo-user] get output of the cost of the route from the routing algorithm

2018-09-25 Thread mohsen hs
Dear SUMO experts,  I was wondering if you could let me know if it is possible to 1- get the  estimated arrival time to a destination, or/and 2-the output of the rerouting algorithm in terms of cost/weight from the TraCI at any time from the location of the vehicle to the destination. I could

[sumo-user] Run multiple sumo instances independent of each other

2018-09-25 Thread mohsen hs
Hello there, I am running multiple sumo-gui instances (each has a different cfg file) and everything looks fine. I wondering if you could just let me know if these instances can run independently and they would not confuse/mix the results (output files also have different names). Many

[sumo-user] capturing snapshot of multiple view at the same time

2018-09-23 Thread mohsen hs
Dear SUMO experts: I was wondering if you could let me know how I can take a snapshot from multiple views (separately or all together) in the SUMO through the cfg settings. The following code only takes a snapshot from the first left (original) view.         Many thanksMohsen

[sumo-user] jmIgnoreFoeProb

2018-09-23 Thread mohsen hs
Dear SUMO developers,  I am trying to get more information about the  "jmIgnoreFoeProb"  parameter and hope you can help me understand them better.  >From the code in MSLink.cpp:MSLink::blockedAtTime(...), it seems that this >function uses a random number and check the speed (ego should be lower

Re: [sumo-user] Run multiple sumo instances independent of each other

2018-09-25 Thread mohsen hs
with each other. 2018-09-25 10:34 GMT+02:00 mohsen hs : Hello there, I am running multiple sumo-gui instances (each has a different cfg file) and everything looks fine. I wondering if you could just let me know if these instances can run independently and they would not confuse/mix the results

Re: [sumo-user] Road closure

2018-09-16 Thread mohsen hs
to use sumo option --ignore-route-errors. This will make vehicles wait at the closure until it re-opens (if they have no alternative route)- I is advisable to specify rerouter edges before an intersection where vehicles can still chose alternative routes 2018-09-16 10:56 GMT+02:00 mohsen hs

Re: [sumo-user] by routing device assumed speed

2018-09-18 Thread mohsen hs
/Automatic_Routing#Edge_weights To color by current speeds you can either use'color by average speed' which uses absolute speed values or'color by average relative speed'  which uses the fraction of averageSpeed/speedLimit for coloring regards,Jakob 2018-09-18 19:46 GMT+02:00 mohsen hs : Dear sumo

[sumo-user] by routing device assumed speed

2018-09-18 Thread mohsen hs
Dear sumo developers,  I was wondering if you could please explain a bit more about "by routing device assumed speed", as no such information is provided here:http://sumo.dlr.de/wiki/Demand/Automatic_Routing#Investigating_edge_weights Only available info is here

[sumo-user] SUMP performance evaluation

2020-05-18 Thread mohsen hs
Hi there,  I am trying to find a comparison of travel times obtained from SUMO with some real-world traffic data (like the standard deviation of travel times). I was wondering if someone could please mention some citable paper(s). I am aware that SUMO has been used in many industrial projects,

[sumo-user] relation between occupancy and flow

2018-03-05 Thread mohsen hs via sumo-user
Hello there, I am doing some analysis on the road networks of my city and would like to find the max capacity of our roads. To accomplish this,  the relation between occ and flow needs to be visualized.  When I do this even by entering 2000 vehicle in a 3 lane street (uniformly timestamped) in