PlantOccupancy

From ATCSMon Wiki
Revision as of 01:07, 7 August 2016 by Erben22 (talk | contribs) (Migrating PlantOccupancy from old TWiki site.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TK Signal Requirement

(Originally by garyhahn.geo) The reason for the TK to require a signal is that TKs are route dependent. The signal apparently provides a starting point for route determination. If you have a signal onto a facing point switch, which TK "squares" should you light? Clearly the first square and the switch itself, but then what... follow the lined switch route. In fact, you'll note that if you hover over the first square behind a green signal on the dispatcher display, you'll see that the square lists something like A:T>, where the greater than symbol apparently indicates the route determination start point.

If there was no such signal starting point one could argue that logic could be applied to simply pick a spot and work both directions to determine the route, but that has not been implemented (not sure it's even really possible). I think what would have to happen is this for a TK example:

  • Pick a spot that is always T and attempt a route.
  • If you hit a wrong switch throw, start over, but pick a different T spot and try again.
  • If you hit a block division or a different T (such as 2T), quit.

Programming nightmare? Beats me.

If you want to see what I mean, simply convert your TK block to a non-dummy approach block, and you'll see that it becomes ugly right quickly.

I agree that it would be nice if it could be done for:

  • Trains talked thru signals
  • Missed greens (dropped packets)
  • Rail yards with switch and track, but obviously no signals

As for forcing the TK divisions, take a look at the Garrett interlocking on the CSX Garrett sub layout in the files area for example of how to implement this.

Note that TK blocks are automatically named by ATCSMon, and don't need to be named within TrackBuilder. The naming of the TK is based on the signals that lead into it. For instance, in TrackBuilder, if you've assigned the signals leading to an interlocking plant as WG/RW, WG/NW, and EG ATCSMon will name the block in the plant TK. If the signals are named 1WG/RW, 1WG/NW, 1EG then ATCSMon will automatically name the block in the plant 1TK, etc. If you have a plant that doesn't show occupancy correctly when a train goes through, check your signal naming, you just may have a mix signal numbers!

-- Main.BrianSwan - 24 Oct 2006