Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] flows

Dear Jakob, 

Is any way that I can define a flow that follows the Poisson distribution and at the same time control its traffic volume in each hour? Because I want to investigate the impacts of different demand ratios on intersection approaches. 

Thanks, 
Yajun 

On Mon, 7 Mar 2022 at 19:31, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
When using a a flow with 'probability', insertion follows a binomial distribution. Your example should be a good fit to a poisson distribution. See here, for rules of thumb on approximation: https://en.wikipedia.org/wiki/Binomial_distribution#Poisson_approximation

Note that you cannot not set 'end' and 'number' at the same time when using 'probability'. Either you set a fixed number of random trials ('end') or you let the flow run until it has emitted a fixed number of vehicles ('number').

Am Mo., 7. März 2022 um 16:35 Uhr schrieb Yajun She <sheyajun1@xxxxxxxxx>:
Dear all, 

How to model a flow that a vehicle will be emitted following a Poisson distribution, and at the same time with a given traffic volume?

For example, I tried to use attributes of "probability" and "number":
<routes>
  <vType id="normal_car" vClass="passenger" departspeed="13.89" maxSpeed="13.89" />  
 
  <flow id="upflow" type="normal_car" begin="0" end="5000" probability="0.01" number="1200" from="downin" to="upout" departPos="last"/>
</routes>

I am not sure the range of probability that will lead the vehicles to follow a Poisson distribution? 

Thanks,
Yajun 



_______________________________________________
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