Difference between revisions of "PBS"

From #openttdcoop wiki

Jump to: navigation, search
(PBS bridges)
Line 6: Line 6:
 
==How it works==
 
==How it works==
 
For an explanation on the basics of YAPP and some examples, please check [http://wiki.openttd.org/index.php/Yet_Another_PBS_Patch the YAPP page] on the OpenTTD site.
 
For an explanation on the basics of YAPP and some examples, please check [http://wiki.openttd.org/index.php/Yet_Another_PBS_Patch the YAPP page] on the OpenTTD site.
 +
  
 
==Examples from #OpenTTDCoop games==
 
==Examples from #OpenTTDCoop games==
Line 24: Line 25:
  
 
[[Image:Pbs_depot.jpg|center|thumb|PBS depot. Notice that one train enters the depot while the other leaves, sharing the same tile.]]
 
[[Image:Pbs_depot.jpg|center|thumb|PBS depot. Notice that one train enters the depot while the other leaves, sharing the same tile.]]
 +
 +
===Hints for using PBS===
 +
* Enable 'Show reserved tracks' in the OpenTTD patches to show ingame which tracks are being taken by trains entering sections. In the screenshots above you can see this, the track is a little darker.
 +
* A train can stop at any signal, it's important to avoid that a train can block important track. An example is the terminus station, where the exit is built a few tiles away. Should you build the exit signal on the first exit tile, chances are that the train leaving the station has to stop for something and blocks several tracks. Guideline is to build the signal far enough to have your trains fit into the section between the switch tiles and the signal.

Revision as of 22:51, 9 August 2008

Description

PBS stand for Path Based Signaling, which is a different way of signaling trains when they can enter a certain track segment. Although primarily intended in OpenTDD (and in the real world) to provide bi-directional track, without the deadlocks that will occur with regular signaling. Besides that it can also be used to increase performance in certain situations.

At the time of writing, a new implementation of PBS has made its way into the development branch of OpenTTD and might thus be encountered on the #OpenTTDCoop server. The implementation, named YAPP, adds two additional signals. Because PBS takes some getting used to we've collected some examples and hints to work with.

How it works

For an explanation on the basics of YAPP and some examples, please check the YAPP page on the OpenTTD site.


Examples from #OpenTTDCoop games

Terminus station

This is a normal terminus station, except that PBS is used to allow more than one train to be in the signaling block in front of the station. The entry has a one-way PBS signal, each station track has a normal PBS signal facing the station. The exit has a regular one-way exit signal. The advantage of the station shown in the screenshot is that it allows a train to leave the station while another train enter it. This could improve throughput, depending on how large your station is. Please note that the exit signal has a gap, to avoid that a train waiting in front of that signal will block the track.

Example of PBS signaling used at a terminus station. As you can see, one train leaves the station taking the left most track to the exit. At the same time a train is entering the station on the middle track.

PBS bridges

The bridges shown here have only one signal placed in front of them, with regular signals after them. As you can see from the screenshot, there is very few track in front of the bridge, because there are no signals needed in front of the bridge.


Second train is using the second bridge, with only a single signal.

PBS depot

This depot setup slightly improves the amount of trains that can be serviced. It basically allows for two trains to be on the same tile, for example to have one train exit the depot while the other enters it.

PBS depot. Notice that one train enters the depot while the other leaves, sharing the same tile.

Hints for using PBS

  • Enable 'Show reserved tracks' in the OpenTTD patches to show ingame which tracks are being taken by trains entering sections. In the screenshots above you can see this, the track is a little darker.
  • A train can stop at any signal, it's important to avoid that a train can block important track. An example is the terminus station, where the exit is built a few tiles away. Should you build the exit signal on the first exit tile, chances are that the train leaving the station has to stop for something and blocks several tracks. Guideline is to build the signal far enough to have your trains fit into the section between the switch tiles and the signal.
Powered by MediaWiki