Table of Contents

Locations Details

ContentObjectsLocations





Prioritization

Normal or blocklist selection.
See: Location prioritization


Flow management

The flow management of a location controls outgoing trains and is very well suited to manage hidden yards: The minimal occupancy grants the yard remains partly filled while the Fifo option allows the trains to exit alternately.

Requirements

The flow management is controlled by the following two parameters:

Minimal Occupied

Setting this option to values greater than zero will activate the location flow of trains.
No train is allowed to depart if the number of trains is lower than this value.
Or with other words:
Only if the number of trains in the location is equal or greater than this value a train is allowed to exit the location.
If there are staging blocks in the location, all trains in staging blocks are counted.

With hidden stations this allows to control the amount of traffic on the layout: If in a hidden yard consisting of five tracks four trains are always to remain the value has to be set to five (a train is allowed to depart not until five trains are in the yard). Rule of thumb: Number of trains to remain in the yard plus one. The maximal reasonable value is equal to the number of tracks in the yard.

Nr. Automatic Locomotives

The "Minimal Occupied" value will be used if this option is set to zero, default, or the number of locomotives running in automatic mode is equal or greater than this option.

FIFO

In conjunction with Minimal Occupied (see above) this option will allow departing trains to regard the "First In, First Out" rule.

Downgrade

If the top locomotive can not find a new destination it will be moved to the bottom of the FIFO after one or more retries.

Random

A random "FIFO" sequence is created at the start of a Rocrail session.

Remark: The last locomotive arrival time, is taken into account if FIFO is set without random.
Remark: Thus the block sequence in the location no longer plays a role.

Trains

Only locomotives with an assigned train are allowed in this location.


Select shortest block

See: Select shortest block
Note: The "Enable" checkbox must be set to activate this option.

Partner

A free block must be available in one of the partner locations to be able to depart. Without an entry the option is deactivated.
The CSV list can be modified by the three dot button on the right. The will open another Locations Dialog for selecting partners.

Maximal occupied

Total

Set the maximal occupancy in the location if it needs some free blocks to move trains without deadlocking. A value of zero disables the maximal occupied option.
This option can be specified for both enter sides.
The Number of Commuter trains plus Others1) should be set equal to the total.

Commuter train

Maximal number of commuter trains in this location. (Independent of the enter side)

Others

Maximal number of none commuter trains, others, in this location. (Independent of the enter side)

Type

Maximal number of a type in this location. (Independent of the enter side)


Timetable

Timetable Dialog Formated in HTML. Plain text.

Schedule Requirements

Generate timetable

Generate a timetable on the fly in RCP format. This is also for use with MQTT and Node-RED.
In case of actions the %callertext% variable will be set with plain ASCII or HTML.

Publish

Publish the timetable to all clients.
Rocview will automatically popup Timetable dialogs if wanted. (No actions needed.)

To reset the schedules to the last position and size shown, the option Restore dialog size must be activated.
If this does not happen after Rocrail has been restarted, (then one time only) the popup windows will have to be closed manually.

HTML

Format the timetable in HTML for actions.
The receiving text object should have the HTML option enabled.


Actions

See Actions for more details.

Timetable

Action state: "scheduleupdate"

Location action control


Sub state

If a block is selected as sub state the first entry for this block from the timetable will be used to set the following text variables:

Text action



Occupancy

Action state: "occupdate"


Flow management examples

Example 1

Location 1 has Fifo active and minimal occupancy 3.
Location 2 has Fifo active and minimal occupancy 2.

Put Rocrail in automode and start all locos.

Example 2

Location “Schattenbahnhof” has Fifo active, minimal occupancy 3, permission nothing chosen.
Location “Fernverkehr” has Fifo active, minimal occupancy 2, permission of type “Intercity”.
Location “Güterverkehr” has Fifo active, minimal occupancy 2, permission of type “Freight”.

"Ortschaft" = Location
Put Rocrail in automode and start all locos.


Dynamic Text

With the XMLScript command "info" an overview of a location can be set in a Text object.

<?xml version="1.0" encoding="UTF-8"?>
<xmlscript>
  <location id="Blaak" cmd="info" svalue="tx1"/>
</xmlscript>

All loco's are checked if they have a schedule assigned, and the schedules will be scanned if blocks are in it for the selected location.

Line Format

Depart time,Destination Location ID,Block ID,Train/Loco ID,Optional text|


1)
"Other" here does not mean the type, but all other types, except commuter trains