Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] bus/rail stops

Hi SUMO Users,

I successfully implemented my first rail stop, but JTRROUTER warned that the beginning and ending edges of the route were not connected to the edge with the stop on it, even though they are connected, as evidenced by the fact that the simulation runs properly with trains stopping where they should (and there's only a single track in each direction). Also, if I don't specify the "to" edge, the trains disappear after leaving the stop (accept-all-destinations="true"). Here's the additional file which JTRROUTER reads:
<additional >
    <railStop id="MountainViewNB" lane="MountainView_NB_0" startPos="75" endPos="225" />
    <railStop id="MountainViewSB" lane="MountainView_SB_0" startPos="75" endPos="225" />

    <vType id="rail" length="150" maxSpeed="13" accel="0.8" decel="0.5" sigma="0.1" speedDev="0.1" color="1,1,0" vClass="rail"/>

    <flow id="NB_Caltrain" type="rail" begin="0" end="3600" from="beg_NB_Caltrain" to="end_NB_Caltrain" number="6" >
<stop railStop="MountainViewNB" duration="90"/>
    </flow>
    <flow id="SB_Caltrain" type="rail" begin="300" end="3900" from="beg_SB_Caltrain" to="end_SB_Caltrain" number="6" >
<stop railStop="MountainViewSB" duration="90"/>
    </flow>
</additional>

It's just an annoyance since the simulation does run properly, but is there a reason for this odd behavior?

Thanks,
Albert

Back to the top