[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] [Sumo] Question about traffic generation
|
Hi,
there is no miracle solution for this problem. You can try to make your network more connected (turning loops at dead-ends etc.) or exclude problematic edges from trip generation using the customised edge weights of randomTrips.
Best regards
Mirko
PS: veh/h is not a density, but a volume (Verkehrsstärke in German). Densities always relate to space while volume relates to time.
-----Original-Nachricht-----
Betreff: [sumo-user] [Sumo] Question about traffic generation
Datum: 2023-11-02T08:24:53+0100
Von: "Schlamp, Anna-Lena via sumo-user" <sumo-user@xxxxxxxxxxx>
An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>
Hi,
as part of my research, I have created a Sumo network and implemented a speed adaption algorithm. Now I would like to evaluate this algorithm for different traffic densities, for example 100, 500 and 1000 veh/h.
To do so, I use the following commands to generate the traffic.
- randomtrips.py -n Network.net.xml -b 0 -e 3600 --fringe-factor 10 -p 3.6 -o random.trips.xml
- Formula: -b t0 -e t1 -p ((t1 - t0) / n) à To let n vehicles depart between times t0 and t1
- duarouter -n Network.net.xml --route-files random.trips.xml -o random.rou.xml --ignore-errors
However, with “duarouter” I do not get the desired number of vehicles per hour, because some vehicles are filtered out due to invalid routes.
Is there any way to avoid this so that I can directly get the desired number of vehicles per hour (with valid routes) using a specific command?
Thanks and best regards,
AS