Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] Lane Area Detector output data clarification

There are multiple options to do that, although I'm not sure why you absolutely need to given the alternatives to get density values. If you want to use TraCI, just read the vehicles on a lane using traci.lane.getLastStepVehicleIDs and then get their positions and vehicle lengths to derive the space of a single vehicle (length + following distance). Any output which can print vehicle positions (e.g. FCD output) would give you the opportunity as well to get there.

Then there are instant induction loops which obviously return values only for a certain position on a lane when a vehicle enters/leaves it. Now, every output file can be read using Python - the question is rather whether you need the result during the simulation or not.

 

Best regards

Mirko

 

 

 

 

 

-----Original-Nachricht-----

Betreff: Re: [sumo-dev] Lane Area Detector output data clarification

Datum: 2023-11-17T18:49:04+0100

Von: "Desu Venkata Manikanta" <manikanta.desu@xxxxxxx>

An: "Desu Venkata Manikanta via sumo-dev" <sumo-dev@xxxxxxxxxxx>, "Mirko Barthauer" <m.barthauer@xxxxxxxxxxx>

 

 

 

TCS Confidential


Thank you, Mirko, for your detailed explanation. Instead of relying on edgeData output for density, we can calculate density as inverse of spacing between the vehicles right. How to get the average spacing of vehicles using traci or any other ways in python?
 
Please correct me if i am wrong.
 
Regards
Manikanta
 

TCS Confidential


From: Mirko Barthauer <m.barthauer@xxxxxxxxxxx>
Sent: Friday, November 17, 2023 8:02 PM
To: sumo developer discussions <sumo-dev@xxxxxxxxxxx>; Desu Venkata Manikanta via sumo-dev <sumo-dev@xxxxxxxxxxx>
Cc: Desu Venkata Manikanta <manikanta.desu@xxxxxxx>
Subject: AW: [sumo-dev] Lane Area Detector output data clarification
 
External Email : Be cautious while opening any links or attachments.

No need to send the same question twice. Here are our advices for fundamental diagrams. Essentially you need to capture multiple densities and speeds to fill the diagram with data points. Break-down is done by creating a bottleneck (speed or lane reduction, lane change events etc...).

 

Best regards

Mirko

 

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-dev] Lane Area Detector output data clarification

Datum: 2023-11-17T11:43:45+0100

Von: "Desu Venkata Manikanta via sumo-dev" <sumo-dev@xxxxxxxxxxx>

An: "Desu Venkata Manikanta via sumo-dev" <sumo-dev@xxxxxxxxxxx>

 

 

 

TCS Confidential


Hi Team,
 
 For plotting the macroscopic flow diagrams, I need flow rate, speed and density values right. How will I get those from Lane Area Detectors or from the simulation. How to derive the above parameters. Please suggest any alternatives for the above scenario to make it more realistic.
 
Regards
Manikanta

TCS Confidential

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

 

 

 



Back to the top