Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Repeated vehicles (Flows)

If you can't get equally distributed inflow over all lanes using other instructions, consider making separate inflows for every lane (set departLane to the respective lane index).

Please take into account that road capacity depends very much on the assumed headway. Have a look at your CFM parameters to change the headway.


Mirko


Am 27.08.2021 um 16:02 schrieb François Vaudrin:
It works better, thank you Jakob,

However, I arrive at a maximum of 6,000 vehicles per hour, even if I have planned 14,000 vehicles in two hours and there is sufficient space at the entrance (5 lanes). The network is straight and extends for approximately 3 km. It starts at 5 lanes, then it changes to four lanes (100 meters further) and finally to three lanes (another 100 meters further) until the end of the network.

Despite the two bottenecks, there is no slowdown or traffic jam throughout the simulation, and the maximum number of vehicles that could enter the network after two hours is less than 12,000 vehicles (around 11,800 for the last vehicle entered).

I added in .rou.xml file these instructions : departSpeed = "max" departLane = "random" number = "14000"
I also tried with departLane = "random, but the results are comparable (maximum around 6 000 vph)

Best

François


De : François Vaudrin <francois.vaudrin.1@xxxxxxxxx>
Envoyé : vendredi 27 août 2021 08:04
À : Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Objet : RE: [sumo-user] Repeated vehicles (Flows)
 
Thank you so much Jakok,

I will look at it.

Best

François


De : sumo-user <sumo-user-bounces@xxxxxxxxxxx> de la part de Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Envoyé : vendredi 27 août 2021 07:59
À : Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Objet : Re: [sumo-user] Repeated vehicles (Flows)
 
--extrapolate-departpos can also be put in a configuration file as <extrapolate-departpos value="true"/>  but it does not apply when setting departPos="last".
You can further increase the flow by setting departSpeed="max" departLane="best".

Am Fr., 27. Aug. 2021 um 13:48 Uhr schrieb François Vaudrin <francois.vaudrin.1@xxxxxxxxx>:

Hallo Jakok,


Thank you for the  answer, this is very helpful.


By adding departPos = "last" in the file .rou.xml, there are more vehicles entering at the same time and they are grouped (chunk). The result is better at the end of the simulation, even if it is still about 20% missing (4815 real vs 6000 hoped for).


<interval begin = "0" end = "3600"> <flow id = "Car1" departPos = "last" number = "6000" type = "CarA" from = "660867709" to = "39276632" /> </interval> ..... there are 4 lanes at the beginning to enter


If I increase the number = "7000" for one hour (3600 sec), I get similar results (around 4 810 vehicles can enter at the end of the simulation). Is this the best we can do or there is something else we can add to the .rou.xml file?


I also saw in the link you provided that we can use 'specifying a specific departPos. Is it as indicating the start time of each vehicle individually during simulation.



Vielen Dank


François


PS: when talking about setting option --extrapolate-departpos, does this only apply for simulations in a terminal with a command line?




François
CANADA


De : sumo-user <sumo-user-bounces@xxxxxxxxxxx> de la part de Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Envoyé : vendredi 27 août 2021 03:43
À : Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Objet : Re: [sumo-user] Repeated vehicles (Flows)
 

Am Fr., 27. Aug. 2021 um 05:25 Uhr schrieb François Vaudrin <francois.vaudrin.1@xxxxxxxxx>:

Hello everyone,


I want to generate the arrival of vehicles in a network with the flow command, but the actual number of vehicles generated at the end of the simulation does not match the number of vehicles indicated in my .rou.xml file.

For example, I planned 2000 vehicles during the interval, but the real number at the end of the simulation is around 440.


I tried several combinations like number, probability, vehsPerHour, etc ... but I am far from the expected number of vehicles.


Maybe i missed something.

Do you have any idea how to solve this problem?


Here are some samples of my file .rou.xml


<interval begin="0" end="1000">

<flow id="Car1" begin="0" end="1000" number="2000" type="CarA" from="660867709" to="39276632"/>

</interval>


other test:


<routes>

<vType id="CarA" guiShape="passenger" length="5.0" minGap="2.5" maxSpeed="28" color="green">

</vType>

<flows>

<interval begin="0" end="3600">

<flow id="Car1" vehsPerHour="6000" type="CarA" from="660867709" to="39276632" />

<flow id="Car1a" number="1000" type="CarA" from="660867709" to="39276632" />

<flow id="Car3" probaility="0.8" type="CarB" from="660867709" to="39276632" />

</interval>

</flows>

</routes>




Thanks in advance for your help


François
CANADA


1
*ATTENTION : L’émetteur de ce courriel est externe à l’Université Laval.
Évitez de cliquer sur un hyperlien, d’ouvrir une pièce jointe ou de transmettre des informations si vous ne connaissez pas l’expéditeur du courriel. En cas de doute, contactez l’équipe de soutien informatique de votre unité ou hameconnage@xxxxxxxxx.


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
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