Dear Robbin,
there is currently no way to specify a <flow> for pedestrian as can be done
for vehicles. See http://sumo.dlr.de/trac.wsgi/ticket/1515

As a workaround you could use the script tools/pedestrianFlow.py which
generates multiple walking persons.
Furthermore, the <plan> element is currently not implemented. A pedestrian
is defined thus:

    <person id="person0" depart="0">
        <walk from="2/3to1/3" to="1/3to0/3" departPos="80" arrivalPos="55"/>
    </person>

see http://sumo.dlr.de/wiki/Specification/Persons
Further examples can be found in
http://sumo.dlr.de/trac.wsgi/browser/trunk/sumo/tests/sumo/pedestrian_model

regards,
Jakob



2015-09-22 10:30 GMT+02:00 Robbin Blokpoel <[email protected]>:

> Dear all,
>
> I'm trying to create flows of pedestrians in my route file in a similar
> way I create flows of vehicles:
>     <route id="e-n" color="1,0,0" edges="emp em mn"/>
>    <flow id="en1" color="1,1,0"  begin="0" end="100000"
> probability="0.008" type="car_s" route="e-n"/>
>
> On the wiki I read the following:
>
> A persons plan has the same role has a vehicles route: A person may
> reference a plan or a distribution of plans using the attribute plan.
> Likewise a person may include a plan or a distribution of plans as a child
> element. A plan is a sequence of stages (rides, walks and stops<
> http://sumo.dlr.de/wiki/Specification#Stops>).
> Attribute
>
> Type
>
> Range
>
> Default
>
> Remark
>
> probability
>
> float
>
> ≥0
>
> 1
>
> this is only evaluated if a person has multiple plans, the probability
> values of all plans do not have to add to 1, they are scaled accordingly
> before choosing
>
>
> So I tried the following in my .rou.xml file:
> <plan id="person0" probability="0.1">
>         <walk from="wmp" to="em" departPos="0" arrivalPos="55"/>
> </plan>
>
> If I try the same with a "person" instead of "plan" and replace
> "probability=0.1" with "depart=1", there is 1 person walking this route. So
> is this the correct use of "plan" or is it not possible to use it like the
> "flow" for vehicles? The person is also very small, is there a way to make
> them bigger?
>
> Thanks,
>
> Robbin Blokpoel MSc.
> Senior Traffic Engineering Researcher
> T. +31 33 454 1731  | M. +31 6 2940 9806 | E. [email protected]
> <mailto:[email protected]>
> [Description: Description: Imtech Traffic & Infra]
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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