Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Flow definition using Poisson

Hello Again,

I tried to define the flow using Poisson distribution in the following way.

<flows>
            <interval begin="0" end="4000">
                <flow id="f1" probability="exp(0.01)" type="VehType" route="fromNorth"/>
            </interval>
    </flows>
<flows>
            <interval begin="0" end="4000">
                <flow id="f2" probability="exp(0.01)" type="typedist2" route="fromNorth1"/>
            </interval>
    </flows>

But I end up with an error

Error: Attribute 'probability' in definition of flow 'f1' is not of type float.
Error: flow cannot be created

Am I missing something? Where it went wrong please suggest to me.

Regards
Radha



Back to the top