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 for Windows
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user