Hello,
for definition of public transport schedules, see
https://sumo.dlr.de/docs/Simulation/Public_Transport.html#public_transport_schedules
If you want to model busses that keep going around in circles (only after
the route from A to B has finished can the reverse part from B to A begin)
then you should model the circular route explicitly by repeating the edges.
Also, you need to model the repeating stops explicitly by including the
same stop multiple times in a route.
regards,
Jakob

Am Fr., 14. Feb. 2020 um 10:01 Uhr schrieb Mari Fadi <
[email protected]>:

> Good morning,
>
> I would like to have three buses run in a certain time. These buses are
> supposed to drive a short distance in the early morning and drive this
> route again in the evening at the end. These buses should run at intervals,
> i.e. if the first bus is at the last station then the next should start at
> the first station and so on until the end of operations(from 6 am. to 5
> pm.). I don't know how to do it but I started to define the stops and a
> route. Could you please help me. Thanks alot!
>
> <additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd
> ">
>     <vType id="pt_bus" length="5.00" maxSpeed="4.2" accel="0.5"
> decel="3.5" sigma="0.5" tau="1.0" carFollowModel= "Krauss" vClass="bus"
> color="0,255,255" guiShape="bus"/>
> <busStop id="busStop_-301878794#1_2_9" lane="301878794#1_0"
> friendlyPos="1" startPos="4.97" endPos="14.97"/>
>     <busStop id="busStop_-318361418#3_2_2" lane="-318361418#3_2"
> friendlyPos="1" startPos="26.19" endPos="36.19"/>
> <busStop id="busStop_306390346#1_2_9" lane="306390346#1_2" friendlyPos="1"
> startPos="0.47" endPos="10.26"/>
>
> <route id="bus1" edges="edge1 edge2 edge3 edge4">
> </route>
>
> <route id="bus2" edges="-301878794#1 -335039769#3 -318361418#3
> -318361418#0.39 306390346#1 306390346#2 306390346#3 306390346#5 306390346#6
> 306390346#7">
> <stop busStop="busStop_-301878794#1_2_9" duration="60"/>
> <stop busStop="busStop_-318361418#3_2_2" duration="30"/>
> <stop busStop="busStop_306390346#1_2_9" duration="30"/>
> </route>
>
>    <flow id="b1" type="pt_bus" route="bus1" begin="21600" end="61200"
> number="3" line="l" departPos="base">
>         <param key="name" value="BusLine1"/>
>         <param key="completeness" value="0.06"/>
>     </flow>
>
> <flow id="b2" type="pt_bus" route="bus2" begin="21600" end="61200"
> period="" line="l" departPos="base">
>         <param key="name" value="Busline1"/>
>         <param key="completeness" value="0.06"/>
>     </flow>
> </additional>
>
> kind regards,
> Mary Fadi
>
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to