Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Building a real-world traffic scenario simulation in SUMO - How to optimize&automate?

Hi Emre,

 

It is not clear to me whether you intend to build a simulation of a whole city or just of the surroundings of a single/very few detection sites. If you really think of the whole city, you won't get very close to replicate single detector values. Different traffic situations can lead to the same aggregated traffic counts, so even if SUMO can simulate traffic well enough in general, recreating it from local measurements becomes a very hard task.

 

See https://sumo.dlr.de/docs/Demand/Routes_from_Observation_Points.html for some general overview of how traffic counts can be used in SUMO.

 

If you want to simulate a small area and pay attention to vehicle dynamics, then you have to calibrate the used car-following model and the vehicle type attributes regarding headway, accel and decel capabilities. SUMO offers the TraCI interface (Python) to read/write data during simulation and use them for own (optimisation) purpose.

 

Best regards

Mirko

 

 

 

 

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

Betreff: [sumo-user] Building a real-world traffic scenario simulation in SUMO - How to optimize&automate?

Datum: 2023-10-11T11:57:28+0200

Von: "Emre AKISKALIOĞLU via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>

 

 

 

Dear Eclipse Community,
 
I have the real traffic data values taken from the municipality in .xml file and it looks like this:
23:00:00</DATE_TIME><LONGITUDE>29.0423583984375</LONGITUDE><LATITUDE>40.9817504882813</LATITUDE><GEOHASH>sxk9hu</GEOHASH><MINIMUM_SPEED>4</MINIMUM_SPEED><MAXIMUM_SPEED>66</MAXIMUM_SPEED><AVERAGE_SPEED>28</AVERAGE_SPEED><NUMBER_OF_VEHICLES>39</NUMBER_OF_VEHICLES></row>
 
I have millions of cells in in the same format of that .xml file. (File is 350 mb)
 
Whati did was: I choose one cell and created a map from open street map, then create a random network, route, trips file following SUMO documentation.
 
What i want to ask is, how can i optimize my simulation according to my values? I want my simulation to have 39 vehicles, and for these vehicles i want the speed values of min. speed 4, max. speed 66, avarage speed 28.
 
And since i have millions of data, can i optimize it with a python code for each simulation?
 
I appreciate every help! Thank you so much in advance.

Best Regards

 

Emre AKISKALIOĞLU

PhD Candidate in Mechanical Engineering

 



Back to the top