Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Defining bidirectional line or bus service

Hello,
In general, if a transit line (bus service route) is provided then it is bidirectional. That is, a bus assigned to this line, goes from depot A to depot B, and then comes back from depot B to depot A in the exactly reverse path in the opposite direction. This is also known as up and down journey of the line (or bus instance) respectively.  

I have defined a route and corresponding flow as follows in my input file as follows.      <route id="13" edges="55 55b 125 114">
        <stop busStop="busStop#35" until="0"/>
        <stop busStop="busStop#36" until="120"/>
    </route>
   <flow id="bus_13" begin="0" end="3600" period="300" departLane="best" line="13" type="bus" route="13"/>

The above input works fine in a single direction. That is, every vehicle (bus) assigned to this line moves from busStop#35 to busStop#36. However, the same vehicle or any other vehicles do not come back or run from busStop#36 to busStop#35. It does not simulate the real-life scenario of bus service.

Kindly, suggest the modification so that I can achieve bidirectional line service and corresponding output.

thanks and regards,
Dillip Rout

Back to the top