Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Realistic Simulation with traffic data and calibration

1) If you have all turns covered then you don't need to specify the edges anymore. Those counts will be matched automatically
2) Yes. Maximum speeds are an network (edge) property (Though you can define vehicle types with even lower maximum speeds if you need to).

Am Sa., 7. März 2020 um 14:58 Uhr schrieb Tetris <schmelter@xxxxxxxxxxxxxxxxxxx>:
Thank you very much.

Could it also help if I use routeSampler not only for junctions but for the
streets heading to the junctions? For example if a street splits at the end
into lanes to turn to the left and straight ahead at the junction, the
counts for left and straight ahead could be summed up and used for
routeSampler at the street before splitting into lanes?

The maximum speed of the edges has to be set in the network itself, doesn't
it? This is not set/changed by randomTrips or routeSampler?


Jakob Erdmann wrote
> Hello,
> the randomTrips option -e only impacts the number of generates routes.
> This
> affects the pool of avialbe routes but not the number of vehicles or their
> eventual departure times becuase departure times are ignored by
> routeSampler.py. Instead routeSampler distributes the departures evenly on
> the turncount interval.
>
> If the network is too empty at the start, this means you have to wait a
> bit
> for your network to fill up (you could double the interval length as well
> as the counts or simply exclude the first x minutes from your evaluation).
>
> If the simulation has lots of jams, it means that the network cannot
> handle
> the measured flows. This is a typical effect of network errors (lane
> numbers, connections, signal programs).
> See
> https://sumo.dlr.de/docs/FAQ.html#the_simulation_has_lots_of_jamsdeadlocks_what_can_i_do
> The general solution is to look carefully at the simulation to understand
> where the jams originate and then make the necessary corrections.
>
> regards,
> Jakob
>
> Am Fr., 6. März 2020 um 14:48 Uhr schrieb Tetris <

> schmelter@.tu-berlin

>>:
>
>> I used randomTrips as input for routeSampler. The depart times of the
>> routes
>> from randomTrips are important for the final simulation.
>>
>> "C:\Python27\python.exe" "C:\Program Files
>> (x86)\Eclipse\Sumo\tools\randomTrips.py" -n osm.net.xml -e 3600 -p 1
>> --route-file rou.rou.xml
>>
>> and then the routeSampler:
>> "..\sumo-git\tools\routeSampler.py" -r rou.rou.xml -t turncount.xml -o
>> outputRouteSampler.xml
>>
>> The turncount.xml has this interval:
>>
> <interval id="turncount" begin="0.0" end="3600.0">
>> because the data I have are vehicle counts per hour.
>>
>> If I use -e 3600 then the simulation is quite empty at the beginning, has
>> a
>> lot of traffic jam until the end. That is not realistic. I want many
>> vehicles from the beginning.
>>
>> Is tweaking the -e option the way to get realistic traffic?
>>
>> Or do I have to control the total number of vehicles in my simulation to
>> avoid too much traffic jam?
>>
>>
>>
>> > >> Jakob Erdmann wrote
>> > >> > - if you have turn-count data, I would recommend using the new
>> > >> > routeSampler
>> > >> > tool. It works similar to calibrators but calibrates the routes in
>> an
>> > >> > offline manner so you can then rerun it without calibrators. Make
>> > sure
>> > >> to
>> > >> > use the latest development version because it includes additional
>> > >> options
>> > >> > for optimizing the calibration with an ILP solver (
>> > >> > https://en.wikipedia.org/wiki/Integer_programming). See
>> > >> > https://sumo.dlr.de/docs/Tools/Turns.html#routesamplerpy
>> > >> >
>> > >> > regards,
>> > >> > Jakob
>> > >> >
>>
>>
>>
>>
>> --
>> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
>> _______________________________________________
>> sumo-user mailing list
>>

> sumo-user@

>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
> _______________________________________________
> sumo-user mailing list

> sumo-user@

> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user





--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top