Difference between revisions of "HowPresignalsWork"

From TTWiki
Jump to navigationJump to search
m (6 revisions)
 
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
   
'''''Detailed information about the prinicples behind pre-signals'''''
 
   
 
=How pre-signals work=
 
=How pre-signals work=
Line 8: Line 7:
 
TTDPatch's pre-signals work differently, more like most real-life station signals, or similar to advance signals. They state whether a train can enter a station by looking if there is a free platform, not just by looking if the entrance is clear.
 
TTDPatch's pre-signals work differently, more like most real-life station signals, or similar to advance signals. They state whether a train can enter a station by looking if there is a free platform, not just by looking if the entrance is clear.
   
The basic principle is very simple: a pre-signal shows a green light if, and only if, there is a green exit from the block behind it (or if there are ''no'' exits at all).  In the context of a station entrance, for example, this means that trains will enter the entrance only when there is at least one platform it can go to.  If there isn't, it will wait in front of the pre-signal, and not block the station entrance.
+
The basic principle is very simple: a pre-signal shows a green light if, and only if, there is a green exit from the block behind it (or if there are ''no'' exits at all). In the context of a station entrance, for example, this means that trains will enter the entrance only when there is at least one platform it can go to. If there isn't, it will wait in front of the pre-signal, and not block the station entrance.
   
 
src=http://www.ttdpatch.net/Manual/presig1.png
 
src=http://www.ttdpatch.net/Manual/presig1.png
   
This simple principle can allow you to build very efficient yet simple stations, but first you have to understand how.  The next few sections attempt to explain in more detail what the different types of signals are.
+
This simple principle can allow you to build very efficient yet simple stations, but first you have to understand how. The next few sections attempt to explain in more detail what the different types of signals are.
   
 
With these signals, is quite easy to have a small and yet very efficient station without the usual problems you get with busy stations, because now trains will be able to queue in front of a station, and get to the platforms in the order that they've arrived in.
 
With these signals, is quite easy to have a small and yet very efficient station without the usual problems you get with busy stations, because now trains will be able to queue in front of a station, and get to the platforms in the order that they've arrived in.
   
Note that pre-signals ''do not'' change ''where'' a train goes, only ''when''.  You cannot use them to tell trains where to go, instead you  should use waypoints for that (see [[NewNonstopHandling|New Non-stop Handling]]).
+
Note that pre-signals ''do not'' change ''where'' a train goes, only ''when''. You cannot use them to tell trains where to go, instead you should use waypoints for that (see [[NewNonstopHandling| New Non-stop Handling]]).
   
-=Types of signals=-
+
==Types of signals==
   
 
In the context of pre-signals, there are four different types of signals: plain signals, pre-signals, pre-signal exits, and combo signals.
 
In the context of pre-signals, there are four different types of signals: plain signals, pre-signals, pre-signal exits, and combo signals.
   
  +
{|
||Type |Appearance |Function
+
!Type !!Appearance !!Function
   
  +
|-
Plain signals |Single green light, no bar |normal
+
|Plain signals ||Single green light, no bar ||normal
   
  +
|-
Pre-signals |Double green light, horizontal yellow bar |Entrance to a pre-signal block
+
|Pre-signals ||Double green light, horizontal yellow bar ||Entrance to a pre-signal block
   
  +
|-
Exits |Double green light, vertical gray bar |Exit from a pre-signal block
+
|Exits ||Double green light, vertical gray bar ||Exit from a pre-signal block
   
  +
|-
Combo |Double green light, vertical yellow bar |Between two pre-signal blocks||
+
|Combo ||Double green light, vertical yellow bar ||Between two pre-signal blocks
  +
|}
   
 
Pre-signals and combo signals are the only signals that really ''behave'' differently, the exits only affect how the other signals behave.
 
Pre-signals and combo signals are the only signals that really ''behave'' differently, the exits only affect how the other signals behave.
Line 36: Line 41:
 
src=http://www.ttdpatch.net/Manual/presig2.png
 
src=http://www.ttdpatch.net/Manual/presig2.png
   
Pre-signals will show a green light if any of the exits or combo signals behind it show green.  They prevent a train from entering a block unless it can leave it quickly.  A pre-signal with no exit signals will behave as a normal signal, to allow the use of two-way pre-signals  (where the other direction would usually lead to a route serviced by one train only). The pre-signal only considers actual exit signals when deciding whether to go green or remain red,  even if there are other, non-exit signals that would allow a train to leave the block.  Pre-signals can be either one-way or two-way signals, but will usually be one-ways.
+
Pre-signals will show a green light if any of the exits or combo signals behind it show green. They prevent a train from entering a block unless it can leave it quickly. A pre-signal with no exit signals will behave as a normal signal, to allow the use of two-way pre-signals (where the other direction would usually lead to a route serviced by one train only). The pre-signal only considers actual exit signals when deciding whether to go green or remain red, even if there are other, non-exit signals that would allow a train to leave the block. Pre-signals can be either one-way or two-way signals, but will usually be one-ways.
   
Pre-signal exits are signals leading away from the pre-signal block, and should normally be two-way signals, so as to give the train a choice.  If they were one-way signals, the trains would all attempt to go to what they consider the "best" choice, even if there are other green signals they could go to as well.  Therefore, an exit will in almost all cases have to be a two-way signal.
+
Pre-signal exits are signals leading away from the pre-signal block, and should normally be two-way signals, so as to give the train a choice. If they were one-way signals, the trains would all attempt to go to what they consider the "best" choice, even if there are other green signals they could go to as well. Therefore, an exit will in almost all cases have to be a two-way signal.
   
Combo signals are a combination of both pre-signals and exits.  They serve as exit to a prior pre-signal, but are a pre-signal themselves.  As such, they are to be placed between two pre-signal blocks, so that trains can go to the additional exits behind a combo signal if they need to, but the blocks are still separate and allow a train in each block.  Please see below for a specific example.  Note that combo signals are not as useful as they should be, because they currently have some limitations.  In the case where all exits are blocked, and  trains are waiting at both pre-signal blocks, both trains will start moving when one exit becomes available, but of course there is only one platform, so one train ends up waiting in the pre-signal block.
+
Combo signals are a combination of both pre-signals and exits. They serve as exit to a prior pre-signal, but are a pre-signal themselves. As such, they are to be placed between two pre-signal blocks, so that trains can go to the additional exits behind a combo signal if they need to, but the blocks are still separate and allow a train in each block. Please see below for a specific example. Note that combo signals are not as useful as they should be, because they currently have some limitations. In the case where all exits are blocked, and trains are waiting at both pre-signal blocks, both trains will start moving when one exit becomes available, but of course there is only one platform, so one train ends up waiting in the pre-signal block.
   
 
Unlike pre-signals, combo signals with no exit signals always show red.
 
Unlike pre-signals, combo signals with no exit signals always show red.

Revision as of 11:25, 15 June 2011


How pre-signals work

Detailed information about the prinicples behind pre-signals

TTDPatch's pre-signals work differently, more like most real-life station signals, or similar to advance signals. They state whether a train can enter a station by looking if there is a free platform, not just by looking if the entrance is clear.

The basic principle is very simple: a pre-signal shows a green light if, and only if, there is a green exit from the block behind it (or if there are no exits at all). In the context of a station entrance, for example, this means that trains will enter the entrance only when there is at least one platform it can go to. If there isn't, it will wait in front of the pre-signal, and not block the station entrance.

src=http://www.ttdpatch.net/Manual/presig1.png

This simple principle can allow you to build very efficient yet simple stations, but first you have to understand how. The next few sections attempt to explain in more detail what the different types of signals are.

With these signals, is quite easy to have a small and yet very efficient station without the usual problems you get with busy stations, because now trains will be able to queue in front of a station, and get to the platforms in the order that they've arrived in.

Note that pre-signals do not change where a train goes, only when. You cannot use them to tell trains where to go, instead you should use waypoints for that (see New Non-stop Handling).

Types of signals

In the context of pre-signals, there are four different types of signals: plain signals, pre-signals, pre-signal exits, and combo signals.

Type Appearance Function
Plain signals Single green light, no bar normal
Pre-signals Double green light, horizontal yellow bar Entrance to a pre-signal block
Exits Double green light, vertical gray bar Exit from a pre-signal block
Combo Double green light, vertical yellow bar Between two pre-signal blocks

Pre-signals and combo signals are the only signals that really behave differently, the exits only affect how the other signals behave.

src=http://www.ttdpatch.net/Manual/presig2.png

Pre-signals will show a green light if any of the exits or combo signals behind it show green. They prevent a train from entering a block unless it can leave it quickly. A pre-signal with no exit signals will behave as a normal signal, to allow the use of two-way pre-signals (where the other direction would usually lead to a route serviced by one train only). The pre-signal only considers actual exit signals when deciding whether to go green or remain red, even if there are other, non-exit signals that would allow a train to leave the block. Pre-signals can be either one-way or two-way signals, but will usually be one-ways.

Pre-signal exits are signals leading away from the pre-signal block, and should normally be two-way signals, so as to give the train a choice. If they were one-way signals, the trains would all attempt to go to what they consider the "best" choice, even if there are other green signals they could go to as well. Therefore, an exit will in almost all cases have to be a two-way signal.

Combo signals are a combination of both pre-signals and exits. They serve as exit to a prior pre-signal, but are a pre-signal themselves. As such, they are to be placed between two pre-signal blocks, so that trains can go to the additional exits behind a combo signal if they need to, but the blocks are still separate and allow a train in each block. Please see below for a specific example. Note that combo signals are not as useful as they should be, because they currently have some limitations. In the case where all exits are blocked, and trains are waiting at both pre-signal blocks, both trains will start moving when one exit becomes available, but of course there is only one platform, so one train ends up waiting in the pre-signal block.

Unlike pre-signals, combo signals with no exit signals always show red.