Skip to main content

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

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:

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":
  <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"/>

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


sumo-user mailing list
To unsubscribe from this list, visit

Back to the top