To get a quick start on the project I decided to use a simulation to represent
the train system. When I inherited the project the trains were still in boxes
from transporting them to a new building. Thus in order to start the project
as soon as possible I started to write a simulation in visual basic. This
simulation allows the user to add an active train to the track, change its
direction, toggle the tournouts, and simulate a covered photocell. Thus, with
this type of simulation I could avoid the confusion with the actual model railroad
and concentrate more on the alorithms to keep track of the trains.