Re: [sumo-user] Charging data using TraCI subscriptions

2020-08-05 Thread Padisala, Shanthan Kumar
*** Clarification to my previous question *** I am currently using the command - traci.vehicle.getParameter('Vehicle', 'device.battery.actualBatteryCapacity') to get the information on the battery capacity at the current time step. However, I would like to use TraCI subscriptions for the same

[sumo-user] Charging data using TraCI subscriptions

2020-08-05 Thread Padisala, Shanthan Kumar
Dear Jakob, Greetings! I am trying to use subscriptions to get the charging data (energy input or any other relevant data) of an electric vehicle when it is being charged at the charging station. But I am unable to figure out the TraCI subscription commands that are used to do this. Could you

Re: [sumo-user] The definition of time loss in tripinfo output

2020-08-05 Thread Jakob Erdmann
The formula I wrote corresponds to the value of v_max in Michaels formula (to explain that your change in driving speed triggers timeLoss whenever your set v differs from v_max). Am Mi., 5. Aug. 2020 um 18:44 Uhr schrieb Radha Reddy < radha.reddy@gmail.com>: > But for me Michael sent the

Re: [sumo-user] The definition of time loss in tripinfo output

2020-08-05 Thread Radha Reddy
But for me Michael sent the following formulation. Now I am confused. Hi, the time loss in a single time step is calculated as step_length * (1 - v / v_max) where v_max takes into account the speedFactor, maxSpeed on the lane and the vType. For a time interval it is simply summed up. Best

[sumo-user] help

2020-08-05 Thread NaolyTech
Dear my friends, how are you doing? I really miss you. Thank you for your kindly response really. In my vanet simulation work, i confused on the following things to go forward: But before that: 1) I created highway road of 2500 length with two direction with 4 lanes per

Re: [sumo-user] Manually controlled vehicles

2020-08-05 Thread Jakob Erdmann
I hope one of our VEINS experts can answer this because I don't know. Am Mi., 5. Aug. 2020 um 13:23 Uhr schrieb Traboulsi, Abdullah < at...@njit.edu>: > Thank you so much Jakob. > > If I want to run the command *"traci.vehicle.getLeader(vehID, 1000)"* in > VEINS instead of python, is it

Re: [sumo-user] Manually controlled vehicles

2020-08-05 Thread Traboulsi, Abdullah
Thank you so much Jakob. If I want to run the command *"traci.vehicle.getLeader(vehID, 1000)"* in VEINS instead of python, is it possible? How may I know what template for VEINS to use? It is a bit confusing. Thank you again and best regards On Wed, Aug 5, 2020 at 7:08 AM Jakob Erdmann

Re: [sumo-user] Manually controlled vehicles

2020-08-05 Thread Jakob Erdmann
The getLeader function limits it's lookahead range to the braking distance by default. You could try calling traci.vehicle.getLeader(vehID, 1000) Am Fr., 3. Juli 2020 um 12:52 Uhr schrieb Traboulsi, Abdullah < at...@njit.edu>: > Thanks Jakob, > > I have set the speedMode = 7 (Regard Safe Speed,

Re: [sumo-user] RouteSampler.py demand generation problems

2020-08-05 Thread Jakob Erdmann
routeSampler only uses the routes that you already provide as input. Of course, you can use implausibleRoutes.py before running routeSampler to analyze and tailor the input. Looking at your scenario, I see the following issues - uncoordinated/unjoined traffic light in the city center - missing

Re: [sumo-user] fundamental diagram

2020-08-05 Thread Jakob Erdmann
1) can you post your VSS definition? 2) Since density is increased by vehicle insertions which are discrete events there is some limit to the achievable smoothness. You could "cheat" by using more VSS though. Am Fr., 3. Juli 2020 um 23:28 Uhr schrieb Amirhosein Karbasi <

Re: [sumo-user] Is collision detected if step lenght is high?

2020-08-05 Thread Jakob Erdmann
In addition to what Michael said, note that you have to enable detection of junction collisions explicitly with **--collision.check-junctions**. Am Mi., 8. Juli 2020 um 22:24 Uhr schrieb Michael Behrisch : > Hi, > the moving vehicle will not keep the high speed unless it is forced via > an

Re: [sumo-user] fcd output and time step accuracy

2020-08-05 Thread Jakob Erdmann
A main source of differences between simulations with different step lengths is vehicle insertion (more frequent insertion attempts lead to higher insertion flow). See https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html To achieve vehicle behavior closer to the 1-second simulation, run the

Re: [sumo-user] Modeling of speed, congestion and flow in SUMO

2020-08-05 Thread Jakob Erdmann
The default microscopic model does not compute congestion. Instead, congestion is an emergent feature of individual vehicle behavior (i.e. slowing down for leading cars). Am Mi., 15. Juli 2020 um 06:25 Uhr schrieb Tripplanner Mumbai < tripplanner...@gmail.com>: > Hello, > I am curious to know

Re: [sumo-user] Reouter: Can it be used to run vehicles multiple times along a same route?

2020-08-05 Thread Jakob Erdmann
also see https://sumo.dlr.de/docs/FAQ.html#how_do_i_maintain_a_constant_number_of_vehicles_in_the_net Am Mi., 15. Juli 2020 um 08:01 Uhr schrieb : > Hey PSK, > > > > there are two more options, so maybe they also can solve the problem: > > flow: >

Re: [sumo-user] Braking for turns

2020-08-05 Thread Jakob Erdmann
The cars brake ahead of the turn so that they reach the slower section at the permitted speed (it works the same for regular speed limits). Am Mi., 15. Juli 2020 um 17:48 Uhr schrieb Zev Nicolai-Scanio < znicolaisca...@college.harvard.edu>: > Hi, > > I’m working on my first major SUMO project

Re: [sumo-user] setSpeed acceleration/deceleration

2020-08-05 Thread Jakob Erdmann
At the moment, most models use uniform acceleration when setSpeed is called. The only exceptions are carFollowModel "rail" and "KraussPS" which have degressive acceleration at higher speeds. There are plans to make this more flexible: https://github.com/eclipse/sumo/issues/3920 Am Mi., 15. Juli

Re: [sumo-user] Traffic simulation for a month

2020-08-05 Thread Jakob Erdmann
The differences are up to you. By providing different route files for the different days (i.e. less traffic on weekends) you have full control over the variability. SUMO itself will not perform replanning based on past experiences. Unless you have jams that are not resolved during the night, each

Re: [sumo-user] Stopping a vehicle on a road for a certain amount of time

2020-08-05 Thread Jakob Erdmann
Use sumo-gui to check why the vehicle is still stopping: https://sumo.dlr.de/docs/sumo-gui.html#showing_routes_and_route-related_information Am Do., 16. Juli 2020 um 17:32 Uhr schrieb Padisala, Shanthan Kumar < padisal...@buckeyemail.osu.edu>: > Dear All, > > I am trying to stop a certain

Re: [sumo-user] TraCI slowDown function

2020-08-05 Thread Jakob Erdmann
It's a bug: see https://github.com/eclipse/sumo/issues/7361 Am Mi., 5. Aug. 2020 um 09:40 Uhr schrieb Proyash Podder : > Hi! > I was trying to play with TraCI’s slowDown API and facing an issue. For my > simulation, say, I need to reduce my speed to 2 unit. So, I write this: >

[sumo-user] TraCI slowDown function

2020-08-05 Thread Proyash Podder
Hi! I was trying to play with TraCI’s slowDown API and facing an issue. For my simulation, say, I need to reduce my speed to 2 unit. So, I write this: traci.slowDown(speed-2,1). But the result I got is: If at 5.00 Second, the speed is 20, at 6.00 second, I see the speed to be 19 and at 7.00

Re: [sumo-user] Rerouting in SUMO using TraCI

2020-08-05 Thread Jakob Erdmann
1) most likely, no vehicle ever reaches a waiting time of 600s. By default vehicles are teleported after being jammed for 300s 2) the difference is in the way travel times are estimated. The rerouting device averages speeds (and thus travel times) over time with a configurable algorithm. In

Re: [sumo-user] Problem with laneChange command in TraCI

2020-08-05 Thread Jakob Erdmann
Did you trigger the change with vehicle.changeLane or with vehicle.changeSublane? Am So., 19. Juli 2020 um 17:58 Uhr schrieb MohamadReza-Haghani < haghani@gmail.com>: > In order to make my modeling more close to reality I need to use the > sublane > model. However, I was wondering to know if