Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] One more idea for repeated routes

Hello,

lets assume we want to construct a cyclic timetable for a whole day (say from 0 sec to 10000 sec) without the need to compute the necessary repeats.

We set the repeat count to a large number and in the flow we define a routeEnd time.

So the repeat loop in the route ends with either the requested repeats or when a vehicle wants to start a new repeat after routeEnd time.

  <route id="startLeft" repeat="1000">
    <stop busStop="leftStop" duration="20"/>
    <stop busStop="rightStop" duration="20"/>
  </route>
  <flow id="tram1" type="RB628" begin="01" end="800" departLane="best" departSpeed="max" route="startLeft" routeEnd="10000" period="100">
     <stop busStop="depotStop" duration="5" index="0"/>
     <stop busStop="depotStop" duration="5" index="end"/>
   </flow>

Best regards, Harald



Back to the top