Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Beginner for SUMO

Answers below:

Now I would like to know about the difference between the outputs of edge-based measures and using lane area detectors. I want to get the information related with edge like density, occupancy , speed.  For this purpose, which of the following approaches is suitable? 

1) edge-based measures
2)using lane-area detectors 

The main difference is that edge based measures always count the whole edge whereas detectors only count a lane section.
Both approaches are possible but edge based measures require less aggregation if you need the data for the whole edge.
 

traci.vehicle.setStop('43.0',edgeID='L10189',laneIndex=1,pos=90,duration=600,flags=0,startPos=50);
but in this case, duration attribute is not working. 
In older versions of SUMO, setStop requires a duration in milliseconds. since 1.0.0 duration is in seconds.
 

In my case, I want queue length of each edge. For this case, now I compute the average value from queue length of each lane by using lane area detector. Is it possible by using this way? Or are there any other methods to get queue length directly from each edge? 

No, the queue length is only available for each lane. You have to aggregate the edge data yourself.

regards,
Jakob

Back to the top