Hello, I have the same issue, that is, tried to simulate bus service. For a line (or public transit route), several vehicles (fleet) repeatedly make many trips according to headway (period in SUMO) or frequency. As per the suggestions @Jackob, I tried the following.
<route id="14" edges="78[0] 56a 56b 77bc 77cd 53cd 53[0] 78[1][1] 189[0] 189[1][0]+20000 189[1][1] 188 87[0] 20001+87[1][0] 87[1][1] m90 89[0] 20002+89[1][0] 89[1][1] 91 186 109[0] 109[1][0]+20003 109[1][1] 116 46 134 134b 133 31 115 110 185 92 90 m91 88 187 190 77[0] 53[1][0] 53[1][1][0] 77[1][0] 77ab 77bc 77cd 53cd 53[0] 78[1][1] 189[0] 189[1][0]+20000"> <stop busStop="busStop#31" until="0"/> <stop busStop="busStop#32" until="120"/> <stop busStop="busStop#33" until="240"/> <stop busStop="busStop#34" until="360"/> <!--stop busStop="busStop#21" until="480" duration="600"/--> <stop busStop="busStop#21" until="480"/> <stop busStop="busStop#22" unitl="1080"/> <stop busStop="busStop#9" unitl="1200"/> <stop busStop="busStop#6" unitl="1320"/> <stop busStop="busStop#3" unitl="1440"/> <stop busStop="busStop#2" unitl="1560"/> <!--stop busStop="busStop#31" unitl="1680" duration="600"/--> <stop busStop="busStop#31" unitl="1680" duration="600"/> </route> <flow id="bus_14" begin="0" end="3600" period="240" departLane="best" line="14" type="bus" route="14"/> However, it resulted in (i) infinite loop, simulated did not end (ii) no lines or vehicles are repeated as per the output files. I am also waiting to see a solution to it. thanks and regards, Dillip Rout On Fri, 12 Jun 2020 at 07:07, Chris Weinhaupl <chrisweinha...@gmail.com> wrote: > Thanks @namdre > > I would like 70 buses to repeat a 40km loop stopping at defined > busstops along the way. > I tried re-router but I cant make the bus stop the second time around. > > I tried to figure out a config that matches your suggestion.(just below). > > May I ask for a sample config of a repeating transit bus. > > > Thanks everyone. > Cheers > > > > > Notes from Github: > I'm not sure what your question is. > > - if you want to keep the same vehicle circulation (vehicle id stays > the same) then you can either > - define a vehicle or trip with lots of repeating stops > - define a route that loops back to the start once and uses > attribute 'repeat'. then assign that route to a vehicle > - if you want to keep sending a new vehicle on the same route > repeatedly you can use a flow. > > Of course, both things can be combined if you want multiple vehicles > running the same repeating loop. > > > > Ref: > https://github.com/eclipse/sumo/issues/7127 > > @namdre > > For clarification regarding repeating PT. > I am wanting to have the same type vehicle repeat its route. > > I tried repeating edges and stops in router and flow. > I think I misunderstood your comments regarding this question: > https://github.com/eclipse/sumo/issues/6550 > > ``` > <flow id="f1" color="1,1,0" begin="0" end= "3600" period="30" > type="12passenger"> > <route edges="north gneE0 city gneE1 north gneE0 city gneE1 north > gneE0 city gneE1 north gneE0 city gneE1"/> > <stop busStop="busStop_north_0_1" duration="10"/> > <stop busStop="busStop_city_0_0" duration="10"/> > <stop busStop="busStop_north_0_1" duration="10"/> > <stop busStop="busStop_city_0_0" duration="10"/> > <stop busStop="busStop_north_0_1" duration="10"/> > <stop busStop="busStop_city_0_0" duration="10"/> > <stop busStop="busStop_north_0_1" duration="10"/> > <stop busStop="busStop_city_0_0" duration="10"/> > </flow> > ``` > > ``` > <route id="r_north_to_city" edges="north gneE0 city gneE1 north gneE0 > city gneE1 north gneE0 city gneE1 north gneE0 city gneE1"> > <stop busStop="busStop_north_0_1" duration="10"/> > <stop busStop="busStop_city_0_0" duration="10"/> > <stop busStop="busStop_north_0_1" duration="10"/> > <stop busStop="busStop_city_0_0" duration="10"/> > <stop busStop="busStop_north_0_1" duration="10"/> > <stop busStop="busStop_city_0_0" duration="10"/> > </route> > ``` > _______________________________________________ > 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