It should work as defined for "Car 2". However, there might be a bug with
using 'probability' and 'number' simultaneously. Try to use only
'probability'.
regards,
Jakob

2015-06-01 18:49 GMT+02:00 François Vaudrin <[email protected]>:

> Hallo,
>
> I would like to define randomly a flow of vehicles following a Poisson or
> binomial law. Is it possible with "flows"? For example in the code below,
> when I add the "probability"  attribute to "Car 2", there are no more
> vehicles visible (only flow "Car 1" is still visible).
>
> Regards
>
> François
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <routes>
>
>   <flows>
>     <interval begin="0" end="3600">
>
> OK    <flow id="Car 1" from="-S11" to="-M8"  number="165" color="green"/>
> No   <flow id="Car 2"  from="M8" to="M12" probability="0.3" number="500"
> color="green"/>
>
>    </interval>
>   </flows>
> </routes>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to