Short Documentation about BAHN (Railway Simulation Software)

Status: 2011-May-28

Current version: 3.86r1 (05/2011)


BAHN3.86 - translation of former BAHN.TXT file
originally by A. J. Flavell, updated by J. Bochmann, using parts of F. Ostrander's translation for BAHN 3.40


Contents:

Preliminaries
Introduction: BAHN - What is it?
Technical Requirements and Installation Process
Off we go...
Viewing and Editing
Editor and Keyboard
Cursor Movement
Building, Modifying and Clearing
Further Functions
Clicking to Elements
Editor and Mouse
Menus and their Functions
Overview
The File Menu
The Edit Menu
Routes
The Search Functions Submenu
The View Menu
Display Settings
The Trains Menu
Trains (Properties)
Train Management Functions
Vehicle Management Functions
The Options Menu
The Colors Submenu
Miscelleanous Options / Various Settings
File Options
The Dispatcher Messages Submenu
The Window Menu
The Help / Info Menu
Abbreviation Keys ("Hot-Keys"/Shortcuts)
Graphic Symbols (Elements)
General
Simple Driving Way
Turnouts (Points / Switches)
Stops / Stations
Timing Points (Termini)
Platforms
Depots/Carbarns/Garages
Signal Systems
Track Termination, Buffers/Bumpers
Bridges, Tunnels, Ramps
Speed Restriction Sections
Shunting Points (Reversal Points)
Data Change Points
Sound Points
Error Messages
Conditions of Use
Standard Version (Shareware)
Viewer Version (Freeware)
For All Versions
Author

Preliminaries

If you already know an older version of BAHN, then please pay attention to the files readme.txt and history.html, that contain update information and a list of changes.

This is a short documentation, that makes no claim to completeness. If BAHN runs different than written here, the error may be in the documentation, too. Further and more detailed information comes from the help system while the program is running. You can call up the help system from inside the program by using F1.

Please observe the Conditions of Use and service announcements.

This documentation describes both the Standard version and the Viewer version.

MS-DOS and MS-Windows are registered trademarks of Microsoft corp.

Introduction: What is BAHN?

BAHN is a program for simulation of railway networks (especially trams or street cars, but also train lines). It has been designed for large layouts with many trains running full-automatically, but details of graphics and technology are of lower importance. It is also possible to run buses and ships on their own ways, but the handling is similar to railway technics.

Should you be a model rail enthusiast, but not have an installation at your disposal, then BAHN can help out. With this program you can fit several hundred kilometers of rail line and over 1000 trains simultaneously in the PC, even in a Laptop. Using BAHN you can train as a traffic engineer: If you have been disappointed that your city's public transportation system doesn't run often enough, or doesn't run at all, BAHN lets you see how things could be improved. BAHN is also useful to show such ideas to others for presentation purposes.

With this program train systems of quite respectable size can be built up and put into motion (e.g. the complete metro systems of London or Paris, or of the entire main rail lines of Germany).

You can assemble trains from a stock of over 10,000 different streetcars and other rolling stock in a bright array of colors. There are many types of European Streetcars available (among others: Gotha, ČKD, Alstom, Konstal, Düwag, Bombardier, ABB), some in certain colorings. Representing the German State Railway are a choice of several Locomotives and other rolling stock. Equipment from other railways is available from BR, DB, SBB, ÖBB, SNCB, SNCF, Amtrak and others, including passenger and freight trains from the days Steam to today's fast trains. The (elevated) S-Bahn and metro (subway) are also represented.

A big advantage of this program over traditional model railroad layouts is its ability to run over 1000 trains simultaneously; all this while you are laying new track! On the other hand one should proceed with caution when influencing the traffic flow. Otherwise interruptions in traffic flow could occur.

Technical Requirements and Installation Process

The readme.txt file informs you on these topics.

If you read this document, then probably you have installed BAHN succesfully.

Off we go...

The program is started by clicking the icon on the desktop or via the Windows Start menu. The Standard version has a red icon but the Viewer version is marked by a blue one.

It is possible to transfer additional parameters via "Program properties". However, it is usually not needed.

On startup the program makes itself known with a title picture, which contains the version number.

If the program finds any obstacles (e.g. not enough memory), then it aborts with an error report.

To proceed from the start picture, use the Enter or Return key (denoted ET in what follows) or the left mouse button. The title picture is cleared and the actual program begins.

Two windows will be opended: The upper one is called the "Status window", the window below is an "Edit window". In the Edit window there runs initially a small start example with one train. Also a white rectangle can be seen. This is called the cursor and marks the spot where you can undertake changes in the network.

If any error occurs, then an appropriate report is output. After pressing ET or Esc it continues.

At nearly any point, by pressing the F1 key you can get a help summary of the current actions. If a pushbutton "Help" can be seen, you can left-click this with the mouse and also get help.

If you don't know yet BAHN, then have a look to the Help menu. There you find a topic "First steps" and other information about help. The accompanying layouts (networks) also give an overview about the possibilities of the program. To load a layout file, press F3 and select a file. You will find many more layouts in the Internet, see the layouts.html page for more details.

Viewing and Editing

After a successful start of BAHN the program opens two windows: The upper window is called the "Status window", the larger window below is called an "Edit window". You can change the positions of the windows by mouse or keyboard, but the Status window has fixed size. There is only one Status window, but you can open more Edit windows. At least one Edit window always is available. Change between the windows by the F6 key or mouse. The operation of menu functions is explained in Menus section.

After first start the view in the Edit window runs in so-called Standard mode (scale 1:1). That means that you see only a rather small section of the available area, but can see most details.

Editor and Keyboard

In the following, possible actions with the keyboard are explained, and then, the differences when the mouse is used are given. Naturally you can use both at the same time, this is also often effective and convenient.

Cursor Movement

The current position of the cursor is shown as a co-ordinate triple in the Status window. There are the x, y and z directions, where x and y represent West-East and North-South. These co-ordinates move in range 0 to 32767. The z direction defines the level (0 = surface, -1 to -4 underground).

The point (0,0,0) is at Northwest on surface (upper left).

As the entire space available for the layout cannot be fitted all at once onto a window, only a section of the network is shown, such that the cursor is always visible. Normally, the level is displayed where the cursor is currently located.

By the cursor keys (arrows) you can move the cursor by one position.

Also you can move the cursor by a whole page, as follows

English KeyboardGerman KeyboardFunction
DelEntf1 page to West
EndEnde1 page to East
Pg UpBild hoch1 page to North
Pg DownBild ab1 page to South
Ctrl+ any arrowStrg+ any arrow1 page in arrow's direction
Alt + any arrowAlt + any arrow 1 step of principal grid lines in the respective direction
Ctrl+ Pg DownStrg+ Bild ab1 level down
Ctrl+ Pg UpStrg+ Bild hoch1 level up

With this you can very quickly get lost. In such a case, mostly you can use the key Home or Pos1 to put the cursor to a central point of the layout. Furthermore, you can revoke the last cursor movement by using the Backspace key. With Ctrl+Backspace you can repeat the movement, if you have revoked too much.

Building, Modifying and Clearing

By pressing one of the digit keys 0 to 9, a graphic symbol is deposited at the cursor position and the cursor moved by one position in a direction dependent on the graphic element.

Which symbol belongs to which key (from 0 to 9) is shown in the Status window in a symbol bar. Each symbol has a number directly above it. Other graphic symbols can be reached by using the function "Graphic symbols" on the Edit menu, or by pressing various keys (see more functions).

The order of the graphic symbols in the block of 10 may seem somewhat unlogical to you. Several symbols are present repeatedly, and one behind the other they mostly don't seem to fit. If you turn on NUM LOCK and use the digit keys on the numeric pad, then the graphic symbols are mostly ordered for creating an anti-clockwise ring (i.e in right hand running).

Several graphic elements are not so simple to recognize E.g. some turnouts and crossings look very similar. To avoid confusion, the fundamental function of the 10 current graphic symbols is given as text below. With F10 you can instead inspect the exact geometry of track (driving way) symbols.

Depositing graphic symbols does not work in every case. You can for example fundamentally not overwrite trains.

For erasing there is no specific function. Instead you simply deposit the empty symbol at the respective spot (area of background color, standard is green, mostly assigned to 0 key).

Further Functions
Help and Help index

By pressing F1 the help system is activated and you get information on usage of the help system and on various further themes. The key combination Shift+F1 shows the list of all Help topics.

Selection of graphics elements

The keys F7 and F8 select another block of graphics elements and thus change the assignment of the keys 0 to 9 to the graphics symbols. The symbols are collected into groups of ten. F7 moves in one direction and F8 into the opposite direction. The ten symbols of each group mostly belong together, some symbols appear multiple in different groups. The function of the different symbols is explained in section Graphics symbols.

Changing serially between symbol groups this way would take much too long. So there's a division into tracks (driving way), roads, scenery and user-defined elements. Switching between these groups is possible with the function "Graphic symbols" of the Edit menu, with key combinations Ctrl+F7, Ctrl+F8, or various letters. They are the following keys:

Letter KeyElementsLetter KeyElements
APlatforms (straight) OCrossings 45 degrees
BBridges/tunnel gates PBuffers/track terminations
C(Motor-)Roads 90 degree (scenic) QSwitch contacts for signal systems
DDepots RSimple tracks/driving way 90 degree
ERail installations (buildings) SStop signals
FRivers/ponds/lakes TTiming points
GShunting points UUser-defined scenic symbols
HHalts (stations/tramstops) VTracks/driving way 45 degree
IIndustrial objects WTurnouts 45 degrees
JData change points XHouses, single
KEnglish points (double) YHousing blocks
LSpeed limit signs Z3-way turnouts
NNature elements (trees, bushes)

When a group is selected to which such a letter is assigned, the letter will be displayed to the right of the elements in the Status window (beneath the scrollbar).

Changing the driving way type / Mirroring of scenic elements

Whenever a driving way elements (track/road/water way) are selected, then with F9 you can switch between the driving way types. Ctrl+F9 works the same but in reverse order.
In the case of scenic features, F9 produces a mirror image of the symbol.

For driving ways, with F10 you select between a text description or a display of the schematic track geometry.

When building a stretch on the road you need not only the relevant track but also the street edges. Toggle with Shift+F9 between both. Alt+F9 works similar but switches back to bus way instead of rails. Both swap also between water way and water area.

Clicking to Elements

On pressing the ET key there are various possible reactions from the program. That depends on which graphic symbol is at the cursor position.

With trains, halts, turnouts (points:GB/switches:US), signals and similar objects, you can alter specific parameters or get information about their properties. At the most positions you can input or edit information texts.

To access an element that is located under a train but in the same level then try Ctrl+ET.

Editor and Mouse

At program start, the mouse cursor is represented as a white mouse. This is the normal mouse cursor. In the function "Mouse options" of the Options menu this can be changed to an arrow. When you click with the left mouse button on a position in the edit window, the cursor will be placed at this point.

With a double-click the program proceeds as if you had hit the Enter key. For clicking on a train, a single press of the left mouse button suffices.

The right mouse button opens a so-called local context menu at the cursor position, that offers some important functions.

Clicking the scrollbars of an Edit window moves the cursor to the respective direction. The window contents will not scroll before the cursor reaches the window's border (or shortly before). The scrollbars can be turned off in the view menu.

If the mouse is near to the window's border, then also pressing the right mouse button moves the cursor. While the mouse cursor is in the respective border area, it will be shown as compass card.

You can also scroll the display by dragging the mouse cursor while left mouse button is pressed.

All these options can be controled in the "mouse options" function. For changing the level, use the scrollbar in the Status window left above, beneath the cursor position display.

Clicking on one of the symbols in the symbol bar in the Status window selects the element and marks it by a white frame. Additionally the mouse cursor turns into a building machine, that looks like a digger or crane. When you click with the building machine cursor in the Edit window, the cursor is placed at the mouse position and the selected graphic symbol is deposited there. So, you can also make network changes and extensions with the mouse.

When you want to change the crane cursor into the normal mouse cursor, for example to avoid accidentally building something, then simply click the right mouse button. Clicking on menus will also reinstate the normal mouse cursor in any case.

In the Status window you can click on the various infos and thereby activate an associated menu function (for example, by clicking on the telephone, the function appears for dealing with dispatcher messages). For choosing of graphic symbols by mouse click to the scrollbars and the symbols right of these.

The "hot spot" of the mouse is in the mouse's teeth, at the crane hook of the building machine, at the arrow's point or in the middle of the compass card.

During some slow operations the mouse turns into a snail. This informs you that BAHN will not react to mouse clicks until the operation ends.

Menus

Overview

Most functions are called up via menus. Several functions can also be called up via so-called hot-keys, thereby avoiding the trip via the menus. Which functions and keys are involved, will be mentioned under the function explanations. Furthermore, the hot-keys will be shown in the buttons of the menus. Hot keys only work when the edit window is active, but not if the menu is still open. There are the following menus:

MenuContents
FileFile functions (load, store, output, terminate program)
EditEditing functions
ViewChange of view (Zoom, details)
TrainsManaging trains (create, alter, erase)
OptionsSetting of parameters
WindowOpen, close and arrange of Edit windows
Help/InfoHelp system, and various information and listings

The File Menu

This menu offers functions for working on layout files (network files). The standard file extension is ".nt3", this extension does not need to be given. The individual functions:

New: Clear all and start again

With this command, all available data are cleared, so that you can build a completely new layout. After "New" the dataset name "noname.nt3" is set. Further, the dialog for setting the scale factor will be invoked.

Open (hot-key F3)

This function loads a layout file. When an error occurs in loading, then an appropriate report is given and the function "New" is carried out, i.e. a defective file can not be loaded partially.

Save (hot-key F2)

The current layout file will be saved without any dialog. Thereby, a possibly existing older version is overwritten.
In the case that Backup-Mode is turned on, the most recent version of the file will not be overwritten, but renamed by giving it the file extension ".000.nt2".

This function is not available in the Viewer version.

If you want a different name, please use the "Save As". In the case that the name is "noname.nt3", then "Save As" will be automatically called.

See also file settings

Save As

Here, you can store the current layout under a new filename. A dialog window appears, which looks like the one used by "Open". You can input the new name, inspect the existing file names and change the data path (folder). Names for files and folders should not contain empty space characters. This function is not available in the Viewer version.

Import

Serves for creating BAHN layouts from other data formats. Actually only ".bna" files are supported. These are text files, similar to a simple programming language (documentation is to be found at the author's website). While importing the data are added to resp. deleted from the current layout.

Statistics output

Creates a statistics report about the current layout file as text file. Included are train, depot and route lists, departure times at timing points and further details. The standard file extension is ".dat".

Graphics output

With this the current layout can be output in the form of a map as a graphic dataset. PCX or BMP format is used. Both can be processed by many graphics programs. If a section selected, then only this section is used, otherwise the entire layout. In any case, the surface is output (level 0).

User graphics

Here you can enter the names of files containing user-defined data (graphics symbols and vehicles). These data are loaded together with the current network file. The files must be located in the same subdirectory (folder) as the layout file.

Registration

This function serves for unlocking the software. So it will continue running without restrictions after the shareware trial period. Here you have to type the registration code and keyword. You will find more details in section Conditions of use. This function is not available in the View version.

Keyword protection

At this point you can define or erase a password for the current layout. If a keyword has been set, then BAHN requires to type it before storing the layout. So you can protect your layouts against changes by third ones. This function does not work in the unregistered Shareware version. This function is not available in the View version.

Exit (hot-key Alt+X)

This menu item terminates BAHN.

List of filenames

Below the last menu entry a list of the last recent used layouts appears. A click to one of these entries will load the resp. file. The maximum number of entries can be set at file options.

The Edit Menu

This menu offers functions for editing various data, as well as for building longer stretches.

Graphic symbols

Choose a group of graphic elements. The currently chosen group is shown in the Status window.

Routes

This function manages the routes.

Search functions

Here you get into the Search submenu.

Edit general Info: Editing of File information

To each layout file there belong a title, the author details, and a text of 20000 characters, where you can enter explanations. With New these are set to "No information available" resp. "Unknown". These texts can be altered with here.

Edit Text (hot-key: spacebar)

Here you can input or alter a text of max. 100 characters, to be entered at the cursor position in the layout.

Edit local info text (hot-key Ctrl+I)

Used for adding or altering a local information text at the cursor position. These texts are marked by a white "i" on blue background.

Edit Log point (hot-key Ctrl+P)

Create/Change/Delete a log point at the current cursor position. These points are useful on driving ways only: They report passing trains in the protocol file, if logging is turned on (hot-key F11). You find a list of all log points in the Help menu.

Manage positions (hot-key F5)

Here you can store the current position of the cursor, and later go back there. Further, you can set the positions for the Home key, for the corners of the selected area for shifting and copying and the start point for building a connection.

Set cursor position (hot-key Ctrl+F5)

Sets the cursor to any desired position in the layout.

Undo cursor moving" (hot-key: Backspace)

Here you can revoke the last cursor movements.

Redo cursor moving (hot-key Ctrl+Backspace)

When you have revoked more cursor movements than intended, then you can repeat them here.

Build connection

This function builds or erases a long stretch as a railway, road, path or river. It was created for fast building of extended layouts. You can quickly add or remove a connection between two cursor positions.

Rebuild connections

This exchanges all elements of a certain driving way type by another type (e.g. motorway by tracks, to change a bus line into a tram line). If no section selected, then this function works with the entire layout.

Build area

Here you can let the computer design a landscape, although, mostly, manual adjustment will be wanted. The function build up to 5000 blocks as housing estate, woods, industrial estate or mixed. It can work around the cursor position, or at random in a specific area. Thus in the shortest time you can create random estates and then get down to the task of joining them up with traffic arteries.

Replace element

The element at the current cursor position is replaced by another one. The function can also work as "Find and Replace" in a section or in the whole layout.

Shift network / section: Move partially or entire layout

With this operation you can shift a part or the entire layout, within limits. The shift is however very time consuming, and doesn't work in some case. If no part is selected (marked) then the function works with the whole layout in all levels.

Stretch / Rescaling

Here you can stretch a section or the whole layout. However, only the positions of the single elements are recalculated. Between, there occur gaps that must be filled manually later. Rescaling is time consuming and doesn't always work. If no section is selected then the function works with the whole layout in all levels.

Cut (hot-key Shift+Del)

This operation copies a part of the layout into the clipboard and erases this section from the current layout. If no selection is marked, this function is inactive.

Copy (hot-key Ctrl+C)

This operation works like "Cut" but the original part in the layout remains unchanged.

Paste (hot-key Ctrl+V)

Copies and inserts a layout part from the clipboard into the current layout. The destination section must be empty. The current cursor position will be proposed as target position for the upper left corner. Some objects are not inserted when in the target network already an object of same name exists.

Delete (hot-key Ctrl+Del)

Erases a part of the current layout. If no selection is marked, this function is inactive.

Selecting and Marking a Section

Several functions can or need to work inside a partial section of the layout.

The partial section has a rectangular area and can consist of multiple levels, i.e. it may describe a rectangular solid, defined by two corners that are located diagonally via-á-vis. About interpretation of z co-ordinates see miscelleanous settings.

Routes

To each train is assigned a fixed route code (called base route), under which it is registered and can be found. This route code is generally required for functions of the train menu. Furthermore there is per train also a current route code, which is used for example for decisions at turnouts and at timing points. Mostly, both designations are the same, but the current route code is changeable underway. To each route code there can be many trains.

Names of max. 12 characters are allowed as route code designations. Letters, digits and the signs "-", "/", "_" and "." can be used, also accented letters and special characters.
Examples for route code designations:

1 12 407 E7 12E A U5 S75 6/9 500G 2-7 241.1 S1_A

The function "Routes" (Edit and Help menus) serves for managing the route codes. It displays all currently known route codes with designation and various statistics. Further you can register new route codes, delete and rename them and change the order in the list. When renaming, all information relating to the route code will be automatically taken over. That affects all references (e.g. at turnouts and at timing points) and trains, that will be re-sorted if necessary.

The Search Functions Submenu

This menu offers functions to search for various information.

Search text (hot-key Ctrl+F)

Here you can search for a text in the layout. This finds places, streets, squares etc. if they have been correctly captioned.

Search graphic symbols

Here you can locate the ten graphic symbols that are currently displayed in the Status window.

Search again (hot-key Ctrl+L)

Continues the previous search from the current position, to conveniently find the next occurrence of the same text or graphic symbol.

Search signal system

This function leads to the dialog for the parameters of the signal system. From there, you can get also an overview about the elements of the signal system, i.e. signals, contacts, connected depots and turnouts.

Search turnout

Search for turnout, if you know its assigned number.

Get next info text (hot-key Alt+I)

If there are local info texts in the layout, this will place the cursor successively on one text after the other.

Get next log point (hot-key Alt+P)

If there are log points in the layout, this will place the cursor successively on one point after the other.

The View Menu

This menu serves to switch the mode of display in Edit windows. All entries except Display settings influence the respective Edit window only.

By the menu item "Tracks and trains only" showing the scenery will be switched off. "Show all" turnes it on again (hot-key for both Ctrl+U).

The second menu entry turns the scrollbars on the right and bottom of the edit window off or on again.

The view can be magnified and reduced using the menu items "Zoom In" (hot-key Numpad *) and "Zoom Out" (hot-key Numpad /).

The normal view is 1:1. Then the size of a simple graphic symbol is 32x16 pixels. This view can be magnified by 4 steps: 2:1, 4:1, 6:1 and 8:1. For some objects and vehicles, more details become visible, when additional Zoom2 or Zoom4 graphics are available.

When reduced, a more schematic depiction is used, in which all details can no longer be seen (similar to the diagrams in railway signalling centres). There are 4 sizes of schematic view: 1:2,1:4,1:8 and 1:16.

When you continue to reduce the view then the map modes will be used. Here more details will be omitted, eg no signals will be shown. The cursor is shown as a cross in these modes. In the map mode 1:32 one graphic symbol is represented by one pixel. In the less modes, adjacent elements are combined. Trains and driving ways have highest priority. In these modes the cursor can be set to certain positions only.

Display Settings

The settings in this dialog are sufficient for all Edit windows:

Mark local info texts

On: The positions in the layout at which information texts are located will be denoted by a blue sign. You can incorporate such info texts at practically any point in the layout. For locating such info texts, the submenu Search functions contains a function "Next info text".

Mark Log points

On: The positions in the layout at which log points are located will be denoted by a red sign. For locating such points, the submenu "Search functions" contains a function "Get next log point".

Show OFF/ON-contacts

Off: All signal contacts will be displayed as normal track/way. Although no longer recognizable, they are still operative.

Show all signals...shunting points

On: All mentioned objects are displayed, undependent whether locally turned off.

Show data change points (hot-key Ctrl+D)

Off: All data change points will be displayed as normal track/way. Although no longer recognizable, they are still operative.

Show texts (hot-key Ctrl+X)

Off: Texts in the layout are not displayed.

Show train texts (hot-key Ctrl+Y)

On: At trains in the layout there is shown their current route code, train number, departure or a combination (possible in zoom 1:16 and higher).

Display train texts on transparent background

On: Only the characters are displayed, but no rectangle in background color before.

Show gravel on own trackbed

Off: Tracks on own trackbed are shown without gravel.

Mark way on water (ship lines)

Off: The point lines for water ways are turned off. Although no longer visible, they are still working.

Mark way on road (bus line)

Off: The point lines for road ways are turned off. Although no longer visible, they are still working.

Animated graphics (hot-key Ctrl+Z)

When this option is turned off, train movements and signal changes are no longer depicted on the screen. The simulation runs seriously faster. Further, sounds are not played.

Animations ON/OFF (hot-key: Ctrl+A)

Some graphic elements are animated, e.g. smoking chimneys, "live" animals or clocks. You can switch them off, to speed the simulation and save some memory.

Show marked section (network part) (hot-key Ctrl+M)

The display of the selected section is done by light gray pixel lines and can be switched ON/OFF here.

Use extra graphics for Zoom

On: In the magnified view modes, graphics are used that show more details. Such graphics are available for many scenic elements, driving way objects and vehicles. More and updated ones are available for download in the Internet.

Show turnout numbers...logpoint names, Display object texts on transparent background

On: The numbers resp. names of the mentioned objects are shown in the layout (in zoom 1:16 and higher). If you like, only the characters are displayed, but no rectangle in background color before.

Framerate (Output frequency) (hot-key Shift+'Numpad +' or 'Numpad -')

Defines as often the simulation status is output to the screen. Low values result in lower quality: The trains begin to "jump". High values result in high loading of the computer and may brake the whole simulation.

The Trains Menu

Trains (Properties)

In BAHN a train is each unity of at least one vehicle that can run on the layout. Also ships and motor cars are called trains, the same as a single loco or a single wagon.

Each train in BAHN is uniquely identified by its base route code and its train number. The train number (equiv. German "Kursnummer" in tram operation) is a number in the range 1 to 99999 and serves to distinguish between the separate trains of a route. Train numbers don't need to be sequential, i.e. they can certainly have gaps.

For each train a set of data is stored. It consists of a train set (sequence of vehicles), a Home depot, the current, allowed and top speed and accelerations for speed up and braking, the min. and max. waiting time, sets of into- and out-of-service times and depots, train type (i.e. species and category), the base and current route code, the driving way and an information text. Most of these data can be altered after deploying a train.

The train set (make-up or consist) specifies the vehicles and thus defines the view and length of the train. Not all vehicles are available at all times, rather, you must first use the functions of the Train menu to install the ones you need. The program BAHN handles all vehicles the same, that means you can certainly drive a tram as an express train at 350km/h, run steam locos on tram tracks and suchlike.

The Home depot is of importance when you deploy a train and when it goes to depot. For trains that are not meant to go to depot, you can, after they have been put into service, erase the indication of their home depot.

Each train has a current status, made up of partial states that are determined and changed by the program. Some state changes can be commanded from the Train menu. There are the following partial states:

StatusAbbreviationFunction / Meaning
On way / underwayO The train is travelling. It follows its current route and serves the stops and timing points in accordance with their times, in so far as they apply to a train of its type and route code.
BlockedB The train is waiting before an obstacle. That may be an other train or a signal showing danger. When the line will be freed, the train will continue to run.
Halt at stop/stationH The train has been halted and waits for a certain time. After it will go back to the state "on way". This is mostly when standing at a stop/station.
Halt at timing pointT The train is standing at a timing point and waiting for the next listed departure time. If before departure time the clock reaches a go-to-depot time for this train, then it will set off at that time.
Parked in depotD The train is standing in a depot (not necessarily its home depot). You don't see it when in this status.
StoppedS The train stays where it is, until the STOP status is cleared. It needs no CPU time and ignores the automatic into- and out-of-service mechanism. Steam locos don't smoke.
Waiting (shunting)W The train has been halted and waits for a certain time. After, it will return to the status "on way". This occurs while shunting and at line endings (bumpers).
CouplingC The train waits until another train approaches from front or rear. Then the trains are coupled together to form a new train. Most data are taken from the train with the lower train-number.
Going to depot
(going off-duty)
R At junctions and shunting points, the train seeks the way to the designated depot. It follows its normal route, if there is no indication towards that depot. At timing points it will not wait for a departure time, but serve it like a stop/station and then travel on.
Going to depotr As "R" but as non-revenue trip: Stops and timing points are passed without stopping.
Coming from depot
(going on-duty)
V The train has left a depot and is going into service. It travels by data of its route, however it may not have reached it. The status is cleared when arriving to a valid timing point.
Going on-dutyv As "V" but as non-revenue trip: Stops are passed without stopping.

In case of "H" and "T" status, the doors are opened if possible.

The top speed vmax is the speed with that the train can move. The target speed vtarg is the speed that the train is allowed to run with (e.g. limited by a speed restriction). The current speed vcurr is the speed that the train really runs in the moment.
Valid values for speeds are 0.001 to 600 km/h.

The acceleration for speeding up and braking determines like the current speed is changed. But there is no "target braking", i.e. when stopping the speed is set to 0 immediatly.

The go on-duty time determines at what time the train automatically goes into the status "on way", and leaves the depot that is indicated against this time. Should the train not be in a depot at this time, it does not change its state. The same applies for the status "going-to-depot", i.e a train heading for depot does not change its mind on the way.

The go off-duty time determines at what time the train goes automatically into status "go-to-depot". When and whether the train actually goes into a depot depends on the stretch to be travelled. In the event of the train being at a timing point at this time, it heads off immediately.

There is no requirement to give times for going on- and off-duty: Such trains never change their status by themselves.

As there are extras operated in peak periods, you can give up to six sets of on-duty/off-duty times and depots. Thus the train/tram can spend the middle of the day in a depot and be deployed again in the afternoon. It can also be parked for an interval in a different depot. The times can be restricted to certain days of week. Going on-duty/ off-duty can be implemented as normal journey or as empty (or non-revenue) movement, marked by a "#" behind the depot name.

By means of option keep crossings clear (intersections) the trains try to avoid node points getting tied up. It is recommended to always have this option turned on. Otherwise you need to keep your sections problem-free by designing clever signal systems.

A shuttle train is a train that should never be split at shunting points. That is for example appropriate for multiple units.
The shunting length denotes where the train should normally be split at shunting points. That is normally the number of power vehicles, i.e. 1. This number is often not needed at all, as the split position can often be fixed at the shunting points.

The waiting time at stops is given as interval from Stopmin to Stopmax. BAHN selects a random value in this range. To specify an exact value, enter equal values for both. Any values from 1 to 960 sec can be chosen. For train categories "G" and "S", the waiting time is needed rarely and set to (1..1) if none are input. The values of the train are ignored if there are ones typed at the stop.

The train type consists of a category and a species. For both, there are a base and a current value. The current value determines which actions occur at stops and termini. In addition it is needed for choosing the direction on train type turnouts and for setting the speed at speed-restrictions. The current value can change at data changing points, the base value is altered manually only.
The categories are passenger train, goods/freight train and special.
For all three there are the same species. Their names are oriented on passenger trains, however you can also use them to distinguish trains of other categories. There are the following species, incl. typical usage with reference to German train categories:

AbbreviationExamples
L Local service, metro, tram, bus
C Commuter service, alternative to L (e.g. for A-/B-trains)
A Accelerated service, Stadtexpreß (SE)
R Regional train (RSB, RE)
E Semi-fast (regional fast train, IRE)
F Fast train (long distance train, D)
I Fast train, Interregio (IR), FD
X Express, InterCity, EuroCity
T Express, TEE, TGV, ICE
S Express (Sprinter)

Special trains ignore timing points. At stops you can select the effect for the certain train species of passenger trains.

The driving way determines on which driving way symbols the train can travel. See remarks (especially for motor cars/buses) at graphic symbols.

Train Management Functions
Create train

A dialog box appears, for input of train parameters. The button "Select train's cars" opens a window to specify the make-up/consist. There, vehicles can be selected from the installed vehicle collections (car fleets) and coupled together. Also, further vehicle collections can be loaded. The button "OK, leave depot now" puts the train immediately into service. "OK" leaves the train in "parked at depot" status in its home depot.

Go on-duty

Puts one or more trains into service from a depot. Trains get the new status "on way" and, provided track (driving way) and space are available, they set off in the appropriate direction from the depot.

Go off-duty

Puts a train, or all trains of a route, or all available trains, into the state "going-to-depot". At junctions the trains will then principally follow the direction to their home depot. They will continue along their normal route at junctions where there is no indication towards their depot. When they reach a depot, they go into status "in depot" i.e. disappear from the screen, although they still exist.

The function "Go off-duty" is only meaningful if there exist tracks that make it possible to reach a depot. In complicated networks it is not simple to comply with this requirement.

This function is inoperative for trains that are in status "STOP".

Delete train

The route code/train number and associated memory are freed, and available for further allocation.

Edit train

Most parameters of a train can be altered. If you give train number 0, the dialog box will appear in sequence for every train of the given route code. Even if you exit from the dialog box with Esc you will still be taken through the dialog for the remaining trains.

Follow a train

Here, you can observe a train. The location of the chosen train will always be shown in an Edit window. "Manual control" of a train is possible. That means that at specific points you can manually control which direction the train takes. If required, all info texts that the train passes can be displayed.

While train-following, all program functions are available, but it is not useful to build anything, because the screen may switch to another loaction.

The followed train can be held in the middle of the window, but that is only advisable on fast computers.

Table of trains

This functions offers an overview of all trains or trains belonging to a route code or to a depot. It's possible to select and edit trains from inside the list.

Vehicle Management Functions
Install car fleet

Loads a collection of vehicles to the layout. Only after this are the vehicles of a collection available for assignment to trains.

Remove car fleet

This de-assigns a car fleet from the current layout. A vehicle collection can only be de-installed when there are no trains that use vehicles from that collection.

Car List

Here, all vehicle types are displayed of that at least one is in use in some train. These trains can be listed. For the selected car, you can edit or create Zoom graphics.

The Options Menu

This menu offers functions for setting various parameters. Several of them are stored in the options file, so that they will be used again when BAHN is next started. The name of the options file is by default "bahn.ini" for the Standard version and "bahnview.ini" for the Viewer version.

STOP / CONTINUE (hot-key Alt+S)

This menu entry stops or continues the simulation. While running the simulation, the entry shows "STOP", otherwise "CONTINUE" is displayed accordingly.

Speed - Set simulation speed and braking factor (hot-keys + and - for speed)

Speed is controlled by having time lapse more slowly or quickly: The speed of the trains (in distance units per time unit) is not altered. Values are 1 to 20, where 1 is equal to real time and 20 is as fast as possible. The values 2 to 19 should be between, but depend on the computer. They can be adjusted by the braking factor.

Turning on "Control via Windows timer" is efficient only for speed 1 to 19. It reduces the CPU loading, but may result in irregular display.

Set time

All values from 0:00 to 24:00 are possible, and a day of week.

Trains at timing points amend their departure time according to the new clock. Depot status is unaffected. If the clock is moved from 5:31 to 6:45, a train that should start service at 5:45 remains in the depot, until the next time it's 5:45.

Auto stop time

A clock time at which the simulation is to be ended, and a report output. By giving a count, the simulation will run over more than 24h resp. multiple weeks. The auto stop time will be shown in the Status window while the simulation is running. Otherwise, this field shows "STOP".

Scale / Grid

Scale is the conversion factor used for time and speed control. It is in elements per km, with values from 2 to 90. Altering the scale of an existing layout can have severe consequences, because the train will need another time for running the same distance. It is appropriate to choose the scale of a new network at the start, and not change it subsequently.

The units of scale are elements (cells) per Kilometer. Values between 2 (500 m or 1640 ft per cell) and 90 (11.1 m or 36.5 ft per cell) are permitted. The default value of 40 cells per km results in a length per cell of 25 meters or 82 ft. The number of meters per cell is equal to 1000 divided by the number of cells per kilometer:

m per cell = 1000 / (cells per km)

For English units use 1 km = 0.62 mi. or 1 mi. = 1.6 km. The number of feet per cell is equal to 3280.8 divided by the number of cells per kilometer:

ft per cell = 3280.8 / (cells per km)

The scale depends on the size of the area that you want to depict. You need to choose the scale such that the depicted area lies within the available 32768x32768 elements. With a subsequent alteration of the scale, only the time behaviour will change: No extension or contraction of the trackage will be done. However, you may do it extra using the Stretch function in the Edit menu.

The "Status info" dialog in the Help menu shows the scale and the computed size of the network in km.

Vehicles and buildings are always depicted at the same size in elements, irrespective of the scale chosen. At a scale of 2 el/km, trains of over 1km length can readily be created. If you are interested in a realistic simulation of traffic flow, then choose trains of fitting length. The vehicles correspond to an approximate scale of 60 to 70 elements per km.

[Transl.note: if you prefer to think in miles rather than km, you might want to just pretend that the program works in miles. The range of scale factors, vehicle speeds etc. available in the program seem to make this a feasible suggestion. Naturally, you can convert your distances and speeds into metric units if you prefer. You'd need to take this decision, and choose an appropriate scale in elements per (mile or km), before starting to build the network.]

To help orientation, grid lines can be shown. You can choose the origin and step size of the grid, which has main divisions and subdivisions. Display of grid lines can be turned on and off with the hot-key Ctrl+G. By means of Alt and the appropriate arrow key, the cursor can be moved by one main division of the grid line in the relevant direction, even when the grid lines are turned off.

Background picture

In the Edit windows, a picture can be displayed instead of the normally unicolor background. Using this, you can underlay the layout by a map and build your layout on this map. However, it needs much memory and the display slows down. The picture is a bitmap graphics file with ".bmp" extension. That is a MS-Windows-typical graphics format and can be created by nearly any graphics software. The picture file must be stored in the same path as the layout file.

The picture can be positioned freely in the layout. For that, enter the co-ordinates of the North-West edge (left above), and the extents to East and South, all in BAHN co-ordinates. The extents of the picture may differ from these: BAHN stretches and shrinks the picture data as needed while output.

Colors

Leads to Colors submenu. The Day-and-Night switching is to be found here, too. The colors mentioned in documentation and help are the standard values.

"Miscelleanous options" and "File options"

See various settings and file settings.

Fonts / Character sets

This function selects fonts for use in BAHN in certain situations. The possible selection depends on the fonts installed on the computer. The most output areas in BAHN have fixed size: Choose suitable fonts that fit where they are used. Unfortunately there is not a general rule because the fonts differ between different computers.

Mouse options

Dialog window for setting cursor movement by mouse and for standard mouse cursor

Abbreviation keys (Hot-keys)

Here you can alter the assignment of keys and key combinations to actions. For the default assignment see shortcut keys.

Graphics output

Various parameters for output of the network layout as graphics file. PCX and BMP are bitmap file formats that can be loaded by many graphic software.

Statistics output

Various parameters for output of statistical data of the current layout.

Messages

Opens the submenu for settings about dispatcher messages.

Language

Opens a submenu for using BAHN with other languages. You can select other text resource files for the program ("Name.lng") and for the standard vehicles ("Name.lnv") and a help file ("Name.chm").

These files need to be stored in the same folder (directory) as the "bahn386.exe" file. The "bahn.lng" and "bahn.lnv" files must exist in any case.

Log files / Protocol

The traffic flow can be reported in text files. This function sets the needed parameters.

The report will be started and stopped by hot-key F11. You can create log points by "Edit log point" (Edit menu).

BAHN creates the names of log files as "bahn_nn.log" where "nn" is a number from 00 to 99. While reporting is running, the name is shown in the title line of the Status window.

Sounds - Acoustic signals

There are several sounds that are stored in ".wav" files in the "sound" subdirectory of the BAHN folder. Here, you can turn off them alltogether or in single groups. The detailed assignment is done in the "bahn.skf" file.

Save options

Store the current parameters into the options file for use at the next startup.

The Colors Submenu

This menu offers functions for setting various colors.

The descriptions in this document and in the online help refer of course to the standard colors, i.e. they are no longer correct if you re-assign the colors.

Color distribution

Here you can determine various colors. This could improve e.g. the readability of texts. You can assign colors for some elements of the dialog windows, for the Status window and for different contents of the Edit windows, e.g. background color and the grid lines.

Day/Night switching

Depending on the simulation time, BAHN can alter the colors more darkely. Nevertheless, lamps and windows may light. You can set here the begin of dawn, day, dusk and night. You can also deactivate the day/night feature (hot-key Ctrl+T). It works on the surface (level 0) only. In the tunnel levels you can set daylight or night as you like, but without dawn and dusk.

Miscelleanous Options / Various Settings

In this dialog you can alter the following:

Auto-save options on exit

When this option is enabled, then the currently selected parameter settings will be automatically written to the options file when the program is terminated.

Reverse cursor direction while constructing (hot-key Ctrl+R)

When building or erasing arbitrary graphic symbols, the cursor moves in a direction determined by the respective symbol. However, sometimes the exact opposite movement is preferred.

Store stopping point options and signal system options

When creating a new stopping point resp. signal system, BAHN pre-sets the values of the object last recently built/edited, instead of the default values.

Warning before deleting data objects

BAHN warns you in case of some actions or inputs. If you don't like this, turn it off here.

Line-breaks in multiline route lists

At some objects you can enter quite long lists of routes, e.g. at data change points, timing points or junctions. Using this option, such lists are seperated into multiple lines. That may make the display less confusing.

Z co-ordinates of selected layout part

For complex Edit operations, you can select a section (partial layout). Normally, this is a rectangular solid over multiple levels, or an flat area in one level only. The meaning of the z co-ordinates of the defining corner points may be changed here.

File Options

This dialog contains settings for handling files:

Explorer style file dialogs

Dialog windows for selecting or typing of filenames and folders (directories) can be used in the style of the Windows Explorer. Then the current path is not shown, further the help system and color settings work only partially.

Warning for dangerous filenames

Some filenames can cause trouble, especially when changing the operating system or in the Internet.

Additional files

When saving a layout, you can attach the additional files needed for it, directly to the layout file. When loading the layout elsewhere later, BAHN will restore these files. That is done e.g. with files with user-defined graphics. Using this makes it easier to publish layout files. However, it can result in very large files.

Number of layout file names in the File menu

Sets the maximum number of layout file names which are shown in the File menu below.

Backup files per layout file

Whenever a Save is performed, the previous version of the file will be rescued with file extension ".000.nt2" beforehand. Before the next-previous version will be renamed into ".001.nt2" and so on. The number of these security copies can be set here. The next-previous copy will be deleted. When set to "0" then no copies will be made, i.e. the Backup mode is turned off.

Automated Storing of layout files

The current layout can be stored automated in regular intervals. Here you find the respective settings. This function is not available in the View version. It does not work when the name of the layout is "noname.nt3".

Codepage for conversion of text data

BAHN uses so-called Unicode (UTF-16) for text data. When loading or storing text data, sometimes conversion is needed between Unicode (codepage 1200) and other codings (ANSI, UTF-8).

The Dispatcher Messages Submenu

BAHN informs you about various operational problems via dispatcher messages. In the status window right there is a telephone, whose appearance can change:

Color and GraphicsMeaning
GREENThere are no messages
YELLOW (ringing)At least one unseen message has arrived
YELLOW (silent)Only messages that you have already seen
REDToo many messages, new ones will be ignored

Using the function "Messages" of the Help menu (hot-Key Alt+M) you can read current messages, and delete them. There are various settings related to the messages, that you can alter via the submenu "Messages" of the Options menu.

Control

Here you can determine whether simulation shall continue after arrival of a message. However, this can be defined for each message type separately. Further, you can turn the acoustic alert on and off.

General

Here you can turn on or off each type of message that is concerned with problems on the track, on signalling systems or in running BAHN.

Scheduling

This collects the messages concerned with going on/off duty and with problems at timing points, e.g. failed and late departures.

Shunting

This collects the messages concerned with shunting. These also may be individually turned on and off.

The Window Menu

This menu serves for managing the windows. Up to 6 Edit windows can be opened. The cursor is shown only in the active Edit window. You can let train following run in one window while editing undisturbed in another.

The window menu offers the following variations:

New window (hot-key Ctrl+F3)

Opening a new Edit window.

Close window (hot-key Alt+F3)

Closing the current Edit window. If only one Edit window is opened, then the program terminates.

Next window (hot-key F6)

Activates the next window. The order is defined by the numbers (the Status window is #0). You may change between the windows also by mouse click or by pressing Alt+digit where digit is the window's number.

Previous window (hot-key Ctrl+F6)

Activates the previous window (Inverse order compared with "Next window").

Arrange windows (hot-key Shift+F6)

Arranges the windows on the screen. The Status window will be placed on the upper screen area. The Edit windows will be arranged below in a way that they do not overlap. The exact arrangement depends on the count of opened windows.

Status window wide / narrow

Makes the width of the status window suitable to the desktop width. "Wide" is screen width, "Narrow" is 800 pixels.

Show / Hide Clock window

The clock window contains the simulation time only. Normally, it is placed above all other windows ("top-most").

The Help / Info Menu

About this program - General information

Here you can get information about the program version you are using. In addition there are addresses for service and updates, about registration and about the history of the software.

Status info

Shows various data and memory usage of the current layout. Some data depend on other software running simultanously with BAHN.

About help

Shows a text about the help system self.

Help index (hot-key Shift+F1)

A list of all help topics is displayed. You may select a term from the list and get shown the information available about it. At "Errors and Messages" there you can find a list of error messages.

List depots

Here, all currently registered depots are shown with name, tracks and some more values.

List routes

Display and Managing of routes.

List timing points

List of all timing points, alphabetically

List data changes

List of all data-change points, alphabetically

List signal systems

Overview of signalling systems with some parameters

List signal system elements

Displays all signals and switch contacts.

List turnouts

All points/switches, sorted by number, construction or function

List shunting points

All shunting points

List log points

All log points with their options

Messages (hot-key Alt+M)

Here you can read the current dispatcher messages about operational situations, and clear them if required.

Abbreviation Keys ("Hot-Keys / Accelerators / Shortcuts")

Some menu functions can be called directly by pressing a shortcut key combination. Indication of hot keys are repeated in the menu items after the name of the button. The direct call works by pressing the hot-key, outside the menu.

You can alter the assignment in the Options menu. All hot-keys mentioned in this text refer to the standard configuration as follows:

Key / Key CombinationMeaning
Alt+XTerminate program
F1Help
Shift+F1Help index (list of help topics)
F2Save without filename dialog and without change of filename
F3Load/open a layout file
Ctrl+F3Open new Edit window
Alt+F3Close Edit window
F4Switch signal system to 0 or maximum (toggle)
Ctrl+F4Switch signal system to 0
Shift+F4Switch signal system to maximum
F5Manage cursor positions
Strg+F5Set cursor position
F6Change to next window
Ctrl+F6Change to previous window
Shift+F6Arrange windows
F7, F8Choose graphic symbols with similar function
Ctrl+F7, Ctrl+F8Choose graphic symbols with different function
F9Choose graphics track/road resp. mirror image (scenery)
Ctrl+F9As F9 but opposite sequence
Shift+F9Swap between track on road and matching road (without track) resp. between water way and water area
Alt+F9Swap between bus way and matching road (without track)
F10Swap display function of track as text / as schematic graphics
F11Start/stop logging (writing to report file)
F12Change driving way at cursor position or mirror scenic symbol there
Ctrl+F12As F12 but opposite sequence
Alt+F12Copy single element to clipboard
Shift+F12Paste single element from clipboard
BackspaceUndo cursor movement
Ctrl+BackspaceRedo cursor movement
SpacebarInput/edit text at cursor position
Shift+DelCut a layout part to clipboard
Ctrl+CCopy a layout part to clipboard
Ctrl+VInsert a layout part from clipboard
Ctrl+DelDelete a layout part
+ resp. -Simulation speed raise/lower
Numpad * resp. Numpad /Magnify/reduce display (Zoom)
Alt+SSimulation stop/continue
Alt+MShow current dispatcher messages
Alt+ISet cursor to next local information text
Alt+PSet cursor to next log point
Ctrl+BDisplay of background picture on/off
Ctrl+FSearch for text in the layout
Ctrl+LRepeat previous search (text/graph) from cursor
Ctrl+IInput/edit information text at cursor position
Ctrl+PInput/edit log point at cursor position
Ctrl+ZMoving graphics off/on (trains and signals)
Ctrl+AAnimations (chimneys, animals, clocks) on/off
Ctrl+GGrid lines on/off
Ctrl+RInverse cursor direction while building/erasing
Ctrl+TDay/Night switching on/off
Ctrl+MMarking of selected section on/off
Ctrl+UDisplay of scenery on/off
Ctrl+DDisplay of data change points on/off
Ctrl+XDisplay of texts on/off
Ctrl+YDisplay of train texts (current route/number/departure) on/off/combined
Menu keyOpen local context menu at cursor position
Alt+Return/EnterEdit graphics of the element at cursor pos. (Zoom1/2/4)
EscToggle cursor while train following

Graphic Symbols (Elements)

General

The whole layout consists of fixed elements, the so-called graphic symbols. At any position there is one graphic symbol, but it can overlap some of the neighbouring symbols. Some elements are fitted with animations.

The symbols can be divided into scenic (landscape) symbols and driving way symbols. On the driving ways the trains can move. Graphic symbols can be selected with the function "Grapic symbols" of the Edit menu. Also you can search for the presence of such symbols in the network.

Scenic symbols consist of roads (without track, no driving way), industry, nature, residential, userdefined and others. Most of that groups are not exactly defined, but that is not needed, because these symbols have illustrative character only.

The empty symbol plays a special role: Normally it is a simple area in background color. However, you can declare it as "transparent", resulting in allowing a view into the next level below.

The "User defined" elements consist of 9900 graphic symbols without further function (scenery) and some designs of signals and simple driving ways. These are stored in extra files that can be published together with the layout. By a suitable editor software, you can create and modify these elements yourself. BAHN self includes a simple integrated editor. To start it, set the cursor onto the element in the layout you like to edit and call the local menu (mouse click right mousebutton).

The driving way symbols consist of 3 types: tracks, water ways and roads. Tracks exist on road and on own trackbed, both in some versions. There are road symbols and tracks on road with borders which overlap with neighbouring symbols. In BAHN ships and motor cars also run on "tracks": These do not have rails but are marked with small points in normal viewing mode (except the path way). The function is the same as for normal tracks.

Track symbols comprise simple track, crossings, turnouts (points|switches), halts (tram stops, rail stations), timing points, depots, signal systems, tunnel gates and ramps, speed restriction signs, track terminations (buffers|bumpers/stop-blocks), shunting points and data change points.

Simple Driving Way

Vehicles follow the way. In the event of a track ending or not being correctly connected, an arriving train will stop and wait for you to build onwards. It is not recommended to put incomplete tracks into service.

There is an exception for trains with driving way "road": These also run on tracks if these are on the road. Normally they follow the direction of tracks. But if a driving way symbol is reached where the track is unsuitable (eg crosswise), then these trains run straight. So you can build grade crossings or crossings between tram and bus lines in a simple way.

Turnouts (Points / Switches)

In BAHN, we mostly call "turnouts" what is known as "points" (UK) or "switches" (US).

BAHN supports simple left and right turnouts with 45 degrees and some with 90 degree angles. There are also double-45 degree, 3-way turnouts, slip points (English points) and combined turnouts. The last both consist of a 45 degree crossing and 2 or 4 turnouts (single resp. double slip point).

For separating the driving ways track and road there are special 3-way turnouts that have two lanes for cars only.

BAHN defines 7 turnout types by their function. These are explained in detail in the help system with examples:

Turnout TypeFunction
Trailing pointshould only be driven trailing-point
Sprung turnoutalways same direction
Junction/Branchingdecision by current route and simulation time, train number and more conditions
Alternating turnoutdecision by a number ratio
Random turnoutchoosing a direction at random
Train type dependent t.decision by current train type (categoy/species)
Signal dependent t.depending on status of signalling systems

[Translator's summary from BAHN 3.58 here...

            2
             \
         1 -------- 3

Points that are meant to be approached from directions 1 and 2 are called "Stumpf" in German (literal: blunt, obtuse) and trains always exit by direction 3, of course. These are properly called "trailing" turnouts.

All the other kinds of points can also be approached from the trailing direction and behave in the same way. They differ in their behaviour when approached from direction 3, called "Spitz" (literal: pointed, sharp, acute) in German - properly called the "facing" direction in English.

Approach from direction 3 - the "facing" direction - needs a decision whether to exit by 1 or 2. A "Sprung" turnout is sprung so that all trains leave by the one direction: when building a "Sprung" turnout you choose this direction to be either straight or turn. They would be appropriate for example where regular dual track changes to single track.

A "Junction" or "Branching" is a junction: trains will select their route according to their route code (if under way) or depot (if heading for depot). You get to choose the primary direction, then you list the route codes that take the other direction. You also list the depots that are reached in each direction.

Finally, a "Alternating" turnout changes direction on a numerical basis, for example to distribute the traffic between a limited number of platforms at a station. You get to specify the number of trains that pass in each direction before the points change to the other direction: 1:1 would be the most usual.]

Each turnout has an unique number. Additionally, the parts of English and combined points are marked with the letters a to d.

Stops / Stations

These elements are marked by a sign beside the driving way. There are versions with yellow mast with a round yellow-green plate (typical German design for tram or bus stop), but also with rectangular plates (railway station-name board) and other colors.

An arriving passenger train waits a while and then proceeds. You may specify which train species and routes stop and in which direction the stop is valid. Further a list of waiting times can be given which are used instead of the train's stop time interval. Additionally, stopping trains can get a new target speed (new speed restriction). Each stop can be used as double or triple stop.

Timing Points (Termini)

These elements look like the stopping points but are denoted by an additional "T" letter. Timing points are mostly located at termini (end stations), which is why in BAHN versions to 3.20 they were called Endpoints.

At these points you can lay down the times at which trains shall depart. A train arriving at a timing point does not leave until the next listed departure time is reached. You can operate a timetable by this means. It is possible to restrict the action to specific route-codes and time periods. Further, you can specify the direction in which the timing point is operative. It is possible to have trains change their route-code at a timing point. Trains for which the timing point is inoperative can optionally run through, or stop as at a normal Stop. For stopping trains a new speed limit can be set. For different days of week, you may give different data.

Timing points can count a certain number of failed departures. If trains will arrive later, then they only will stop shortly, to compensate the fault. You can set the maximum value and some reset times for the counter. The reset times prevent transmission of faults for a longer time (e.g. to the next day).

If you assign the same name to several timing points, then these are combined into a single timing point with multiple tracks. Then at each assigned time, just one train departs, chosen in the order in which they arrived (FIFO principle).

Station Platforms

Work like a simple track. They are used for designing railway stations, tram stops on own trackbed etc. You can add a platform to simple driving way symbols, by clicking the symbol in layout and then selecting the platform. For some of the other symbols, there are versions with a suitable platform to combine.

Depots/Carbarns/Garages

A depot is a point where trains can be created and parked.

Depicted normally as a hall, out of which a track can lead on two sides. Further, there are pseudo-depots, marked only by a working pit or the letter "D".

A depot must be registered, before it can be used: Put the cursor on the depot and hit ET. Now you can enter the needed parameters. For each depot, a name and a short name must be assigned. The short name is used at some places when not enough space to display the long name. Use up to 16 characters for the long name and at max. 4 for the short one. A depot always has a track number from 1 to 99. Multiple tracks with the same name are joined to one depot.

You can rename or erase depots. After erasing the depot cannot be used for trains, and all references to the depot at turnouts and shunting points will deleted. When renaming, all references will get the new name, too.

Depots can be associated with signal systems, in order to avoid collisions when entering or leaving. Details in the help system.

Signal Systems

Signal systems can be used for securing all sections that may only be passed by a limited number of trains (mostly one) at a time, e.g. single track sections, turning wyes or block sections. Furthermore, you can protect rail/road crossings (level crossings / grade crossings).

A signal system has a name and a counter. Depending on the counter value, it controls signals. When passing switching contacts, the counter value is altered. That is also possible at defined times (similar with timing points).

Signals only take effect in one direction of travel. Depending on construction, they are to the right or left of the train. There are stop signals, distant signals, combined signals and signals for grade crossings. For all of them you can select from a variety of different designs that have the same function.

The status of a signal is calculated by a switching function from the counter values of signal systems. Exception: A distant signal depends directly on a stop signal.

Switching contacts are denoted by a "-", "+", "x" oder "S" and an arrow denoting the normal direction in which it acts. A single contact can influence the counter of multiple signal systems. In the reverse driving direction, a different effect can be set.

Stop signals and combined ones can additionally act as contacts.

The effect of signals and contacts can be restricted to trains of certain routes and trains going off-duty to certain depots. Stop signals can allow permissive running.

Additionally, depots can be coupled with signal systems. Furthermore there are turnouts, where the direction depends on the status of one or more signalling systems.

Operation and construction of signal system is explained in the help system with graphical examples.

To avoid the frequent errors experienced in constructing new single track sections and signal systems, it is useful to have a test train run the new section and verify correct operation on the screen. Once a collision has occurred, it can only be relieved by reversing or even erasing a train.

Track Termination, Buffers/Bumpers

Shown on street tracks as a straight section with a red plate; on own track bed as buffers, on road as traffic sign and on water as a yellow buoy or white-red sign.

On reaching a track termination, the train proceeds backwards. That is appropriate for shuttle operation with multiple units, for turnaround at terminal stations, or for tram turning wyes. The section that is operated in both directions should be protected with a signal system. Further a waiting time can be set: The train waits in "Waiting" status.

Bridges, Tunnels, Ramps

Tunnels are marked with entry and exit gates. Bridges are simply short tunnels.

When passing a tunnel entry, the trains changes into the next level down. For that, a suitable ramp must exist exactly below the tunnel gate. There are 4 tunnel levels that are counted from -1 to -4. The surface is level 0. In the tunnel levels, you may build any driving ways you like, inclusive underground stations and parking tracks.

Speed Restriction Sections

Start and end of sections are marked with signs. There are different versions: triangle, rectangle, traffic signs, red-white resp. blue rectangle for water way. A new sign cancels the values of the previous one. The input "0km/h" marks the end of the speed restriction. The train responds to the signs when the train's top reaches the sign.

You can set different maximum speeds for each train type (category/species). Non-revenue trips (going on/off duty) can be handled as special trains. The effect can be limited to certain routes or train numbers.

Shunting Points (Reversal Points)

These are recognized by a blue sign with the letter "H" (water way: blue buoy). There is also a version with a white half-circle plate. In contrast to track termination, not all trains turn here. You get to specify the routes to turn and at what times. All other trains continue ahead.

According to the shunting options chosen, trains can also be split and re-coupled. Details of this are found in the help system.

Data Change Points

Denoted by a green sign with the letter "D" (water way: green buoy). At this point, trains can change many of their individual data, e.g. the current route-code, train type, stopping interval, driving way and accelerations. To be specified by route-code, train number and time.

Sound Points

These are marked by a sign with a violett horn (optionally crossed out), or by horn/bell plates by German or Dutch originals. If a sound point turns on continuous ringing, then you can terminate it at another one. The sounds can be turned off in the Options menu.

Error Messages

The following list contains only errors that can occur at program start. Information about error reports during program execution must be gotten via the Help system (press F1 key resp. click the "Help" button). After some of the following errors, the program can nevertheless start up, but be prepared for problems during execution.

Error NumberProblemTry for a Solution
1..14Out of memory (Insufficient memory) Try to give BAHN as much main memory as possible. Terminate other programs and close open windows.
21File not found: "bahn.fm1" If this file (dataset) is missing, then BAHN cannot run. Check whether the file exists and is stored in the same directory (folder) as the "bahn386.exe" file, and copy the file to there if needed.
22, 23File damaged: "bahn.fm1" Either the file is really defective, or it belongs to a different version of BAHN. Get a correct file (e.g. from a security copy) and copy this into the directory (folder) where "bahn386.exe" is stored.
24as 22, but "bahn.fzg" Proceed as for error 22.
25Out of memory (Insufficient memory) Proceed as for errors 1..14.
31File not found: "bahn.fx1" Proceed as for error 21.
32File not found: "bahn.fw1" Proceed as for error 21.
46..48as 21..23, but "bahn.tbd" Proceed as for errors 21..23.
52, 53File damaged: "bahn.exe" The file "bahn386.exe" resp. "bahn386v.exe" is corrupted. If caused by a virus, then the virus is already active!
Restart your computer with a virus test program.
In any case you should erase the defective file and replace it with a correct one (e.g. from a security copy).
This message can also occur, if the program file has been processed with a so-called "EXE-Packer". Thus, the file has been altered too, and BAHN cannot recognize the cause. You could then start BAHN with the "/nfc" switch to suppress the self-test.
56as 21, but "bahn.txt" Proceed as for error 21.
67..69as 21..23, but "bahn.fzg" Proceed as for errors 21..23.
71..73as 21..23, but "bahn.lng" Proceed as for errors 21..23.
80At least Pentium/80586 CPU needed BAHN needs such a micro processor (or newer, or compatible)
85At least Windows95 or NT needed BAHN needs MS-Windows 95 or higher or a compatible system (e.g. Windows98, ME, NT, 2000, XP, Vista, Win7)
Instead of Win95, the use of Win98 at least is recommended: On Win95, some problems may occur with the menus.

Conditions of Use (Subset)

(partially, changes are reserved: You can find the current full text at the program's author's website)

Standard Version (Shareware)

BAHN is distributed as Shareware. Shareware is Test-before-pay-software. You can test these programs for a certain time without paying for it. Only the (low) cost for the download or a Shareware CDROM are needed, but the programmers get nothing of this money. These charges are for the distribution service only and are not a payment for the software. The distribution of so-called Full versions is an exception. In this case, the registration fee is payed when purchasing the software.

After installing the operation is nearly unlimited in any way. So you can test it as you like. After 92 days some functions of the software will be locked. You can unlock them by entering your registration data. This makes the program a registered full version. The "Register" function belongs to the File menu. There you have to type the registration code and keyword. You will get both from the program's author or from someone who has been authorized by the program's author, after paying the registration fee (details below). When selling a full-version, the data are included with the package.

Private users: Please send the user fee to the author or wire it to the account stated at "About this program". We accept traveller's checks (Amex, J. Cook; any currency, rounded). You can also send cash, stamps (German) or Postal Check. Current details about paying from out of Germany and/or by credit card/debit card can be found on the author's website.

COD (cash on delivery) is not available.

There is no registration form, as many users write long e-mails or letters which would not fit on the form. Any size paper is acceptable. More important is readable handwriting. You may write in English too.

Registered users will receive information on updates, etc. To do so, we must store your address data (at least e-mail). These data serve for managing only, they are stored encoded and not published to 3rd parties.
Alternatively you can tell us not to store your data ("anonymous registration"). In that case you will not receive update information.

The registered version can be installed on more than one computer, but only one person is allowed to use it at any time.

You can get information about current user fees at the author's website. There may be special offers for upgrades, pupils and certain countries, also with limitations in time or country.

Additional offers for registered users only are possible, too. For the shipping of data media there are additional charges. When distributed by third parties (resellers), then the fees may differ, e.g. by adding a sales tax.

Continued at for all versions

Viewer Version (Freeware)

BAHN/Viewer is Freeware.

You can use this program as long as you like for free.

Compared with the Standard version, some functions are missing, especially the functions for storing layout files.

There is no registration as user of this software.

For All Versions

CDROMs will be sent in a simple envelope - for ecological as well as economic reasons. Losses have not been a problem. Damaged data media will be replaced.

If you want to use BAHN in any commercial way, please contact the author. Commercial use includes, but is not limited to, use for advertisement, instruction or resale - either as a stand-alone product or bundled with other programs.

Please feel free to copy the software and distribute it to others, provided you include all the documentation ("*.txt", "*.html" and "*.chm"). Please do not alter in any way either the program or accompanying documentation.

No liability is accepted for any kind of damages or loss of hardware, software or data, incurred as a result of using this program. Responsibility is limited to the payed registration fee, at maximum. However, if you registered BAHN then we assume you have installed and tested the software successfully and you found it suitable for your system and requirements. We cannot provide refunds for registration if you later change your mind, because there is no way how to make you forget the keyword.

Every effort has been made to make the program reliable. It has been extensively tested over a period of several months. Despite this, the possibility of errors remains.
If you are not sure if BAHN runs correctly on your computer then do not use it.

If you experience a problem, that you think is a bug, please contact the author. Explain the circumstances that led to the problem and whether you were able to repeat the problem.

Wire Transfers: See Help menu:, "About this program", and website of the author
Please state "Jan Bochmann" as the account's owner.

Important when wiring money to author's accounts:

Your name resp. address must be in the field "Verwendungszweck" of the transmission form, because normally only this field and the amount are transmitted by the banks. It is strongly advised that you also send an e-mail or letter stating the details of the transfer, because the banks often transfer incomplete or broken data.

Because of the small registration fees it is impossible to establish a phone support hotline. Please use the following information ways:

Author

Up to date info on the WWW: http://www.jbss.de
(inclusive message boards and "FAQ" = Frequently asked questions)

E-Mail: bahn@jbss.de

Standard mail:

Jan Bochmann
PF 32 02 53
D-01014 Dresden
Germany

These addresses are only cleared about once a week.