I'm wondering whether it makes sense to define public transport with a fixed stop-schedule but without a fixed time-schedule. In what contexts does this come up? Or is this about figuring out the number of repeats you can fit in one day? As soon as you use stop 'until' with 'repeat' you need to somehow determine the cycleTime. Once you have that, computing the number of repeats is trivial.
best regards, Jakob Am Di., 16. Juni 2020 um 10:53 Uhr schrieb Harald Schaefer < fechs...@gmail.com>: > 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 > > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user