Prio question
Moderator: OpenTTD Developers
Prio question
Maybe some of the more experienced network builders can help me.
I have a sideline entering a mainline, with prio on the mainline. Basically as explained in the first couple of screenshots here: http://wiki.openttdcoop.org/Priority
Now my problem is that my trains are fast, but take quite a while to accelerate to that speed. So if a train standing still on the sideline would want to enter the mainline without a train on the mainline having to slow down behind it, my prio would have to be very long. On the other hand, this will unnecessarily block trains coming from the sideline at full speed that would otherwise be able to enter the mainline without causing jams.
Is there any nice solution for this?
I have a sideline entering a mainline, with prio on the mainline. Basically as explained in the first couple of screenshots here: http://wiki.openttdcoop.org/Priority
Now my problem is that my trains are fast, but take quite a while to accelerate to that speed. So if a train standing still on the sideline would want to enter the mainline without a train on the mainline having to slow down behind it, my prio would have to be very long. On the other hand, this will unnecessarily block trains coming from the sideline at full speed that would otherwise be able to enter the mainline without causing jams.
Is there any nice solution for this?
Re: Prio question
It depends on your notion of nice.
People build a cyclotron for this case.
People build a cyclotron for this case.
-
- Engineer
- Posts: 32
- Joined: 05 May 2010 09:38
Re: Prio question
If they take a long time to accelerate due to the length and weight of their loads you could try shortening loads to increase their acceleration to match the length of your prio's
Re: Prio question
You could try combining SML with classic prio join. It's used rarely, but it *should* work.
The SML part shifts at full speed and thus requires only small priority. If the train cannot shift, it'll continue to classic priority join (just note you need to penalize track leading to classic join, so the trains prefer SML). Trains at normal priority join can join starting at either full speed or zero speed, just adjust the prio length accordingly (this priority shouldn't go past SML, though).
You also need some buffer space between SML and classic join, because if the SML jams, you risk ML jams, too. You can either build huge buffer space or overflow depots.
Beware of the fact, that SML only works with yapf.rail_firstred_twoway_eol set to true.
The SML part shifts at full speed and thus requires only small priority. If the train cannot shift, it'll continue to classic priority join (just note you need to penalize track leading to classic join, so the trains prefer SML). Trains at normal priority join can join starting at either full speed or zero speed, just adjust the prio length accordingly (this priority shouldn't go past SML, though).
You also need some buffer space between SML and classic join, because if the SML jams, you risk ML jams, too. You can either build huge buffer space or overflow depots.
Beware of the fact, that SML only works with yapf.rail_firstred_twoway_eol set to true.
- Attachments
-
- SML + classing join
- combined_join.png (17.81 KiB) Viewed 1709 times
Re: Prio question
The picture looks quite nice, but what exactly do you mean with yapf.rail_firstred_twoway_eol? I found it in my ini and it's already set to true.Vitus wrote:You could try combining SML with classic prio join. It's used rarely, but it *should* work.
Beware of the fact, that SML only works with yapf.rail_firstred_twoway_eol set to true.
Thanks for the advice everyone.
Re: Prio question
With this setting, pathfinder treats red twoway block signals (in current signal block) as end-of-line. This setting is essential for many constructions (SML included).
In the case of SML, it makes sure that train shifts only when the entry signal is green. Otherwise the train takes next (cheapest) available route.
In the case of SML, it makes sure that train shifts only when the entry signal is green. Otherwise the train takes next (cheapest) available route.
Re: Prio question
That is only true if the red two-way signal is the first signal after a split/join though. If a two way is red somewhere half way it will still be threated as any other red signal.Vitus wrote:With this setting, pathfinder treats red twoway block signals (in current signal block) as end-of-line.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Re: Prio question
That's why I noted "in current signal block"XeryusTC wrote:That is only true if the red two-way signal is the first signal after a split/join though. If a two way is red somewhere half way it will still be threated as any other red signal.
Who is online
Users browsing this forum: orudge and 12 guests