1. Instead of using a walk to the first busStop you can also define your
personFlow with
<personFlow id="pers2_4_" begin="0" end="3963" number="504" color="1,1,0">
    <stop busStop="B2" duration="0/>
    <ride busStop="B4" lines="1"/>
  </personFlow>

Note, that this ignores the personCapacity of the busStop whereas
approaching the busStop with a walk with respect capacity and may cause
jamming on the sidewalk.

If you wish to create bus schedules with until and duration values
automatically, (i.e. based on a sequence of stops), see
https://sumo.dlr.de/docs/Simulation/Public_Transport.html#importing_public_transport

2. No. You need two personFlows for this.

regards,
Jakob

Am Sa., 2. Okt. 2021 um 12:01 Uhr schrieb Harald Schaefer <
[email protected]>:

> Hi Ifezue,
>
> i have build a simple model with 7 generic stations, my flows look like
> this
>
>   <personFlow id="pers1_5_" begin="0" end="3963" number="2016"
> color="1,0,1">
>     <walk from="AB1" busStop="B1"/>
>     <ride busStop="B5" lines="1"/>
>     <walk to="AB5"/>
>   </personFlow>
>   <personFlow id="pers2_3_" begin="0" end="3963" number="144"
> color="1,0,0">
>     <walk from="AB2" busStop="B2"/>
>     <ride busStop="B3" lines="1"/>
>     <walk to="AB3"/>
>   </personFlow>
>   <personFlow id="pers2_4_" begin="0" end="3963" number="504"
> color="1,1,0">
>     <walk from="AB2" busStop="B2"/>
>     <ride busStop="B4" lines="1"/>
>     <walk to="AB4"/>
>   </personFlow>
>
> I have above two flows originating at station B2 and ending at station B3
> resp B4. My passengers have colors according to there destination.
>
> I have a script createFlow(root, start, to, number) and can use lines like
> this
>
>   createFlow(root, 1, 2,  432)
>   createFlow(root, 1, 3, 1584)
>   createFlow(root, 1, 4, 2592)
>   createFlow(root, 1, 5, 2016)
>   createFlow(root, 2, 3,  144)
>   createFlow(root, 2, 4 , 504)
>   createFlow(root, 2, 5,  612)
>   createFlow(root, 2, 6 , 396)
>
> to create personFlows according to a simple O/D-Matrix
>
> Best regards, Harald
> Am 01.10.21 um 23:55 schrieb vincentobiako:
>
> Hello everyone
>
>
>
> I have two questions or issues.
>
>
>
> *First question or issue:*
>
> I am currently trying to have a person flow appear at specific bus stops
> within my network and I was wondering if there is a way to have persons
> appear at a bus stop no matter the time of arrival and have them enter a
> bus when it arrives at the designated stop that the persons are located? I
> was wondering because using keywords such as ‘until’ and ‘duration’ seem
> quite tedious to use in my application of SUMO that has a large road and
> bus network. Do you use the ‘triggered’ attribute? Also for some reference
> please see the attached xml file for the ‘personFlow’ I am referring to.
>
>
>
> Please know that I am trying to make the bus ridership in simulation
> follow a specific ridership distribution.
>
>
>
> *Second question or issue:*
>
> I was wondering if you could have a person flow start at a one bus stop
> and end at two different bus stop locations? If this is possible how do you
> implement this in xml?
>
>
>
> Thank you in advance
>
> Ifezue
>
>
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows
>
>
>
> _______________________________________________
> sumo-user mailing [email protected]
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to