Dev:How To Reference Infrastructure

From railML 2 Wiki
Jump to navigation Jump to search
UnderConstruction.png This page is under construction since March 13th 2023. Task: Misleading information – Compete overhaul planned. Sorry for temporary problems. See the discussion page to find a summary of the tasks and to coordinate the work on this page. Recognize that the content of this page may change quickly. RailML Coord Documentation (talk) 12:33, 13 March 2023 (CET)


This article explains basic concepts of referencing infrastructure within the timetable subschema.

Dieser Artikel erklärt die Grundlagen, wie man innerhalb des Timetable-Subschemas Infrastruktur referenziert.

How to reference infrastructure / Referenzierung von Infrastruktur

A train part is described as a sequence of several operation control points <ocpTT>. The related <ocp> elements and the used parts of <track>s in-between are part of the <infrastructure>. The way from one <ocpTT> to the next is described in the <ocpTT>s sub-element <sectionTT>. Part of the description is the reference to the infrastructure <track> element by using <trackRef>.
Ein Zuglauf <trainPart> besteht im Wesentlichen aus der Abfolge der befahrenen Betriebsstellen <ocpTT>. Diese Betriebsstellen (<ocp>) und die dazwischen liegenden befahrenen Gleise (<track>) sind Teil der Infrastruktur. Der Weg bis zur nächsten angegebenen Betriebstelle wird im Unterelement <sectionTT> des Ursprungs-<ocpTT> näher beschrieben. Dazu gehört auch die Angabe der konkret befahrenen Gleise als Referenz <trackRef> auf die jeweiligen Infrastrukturelemente.

Different usages of the infrastructure schema

The macroscopic infrastructure model considers tracks as a connection between ocps. This model is typical for a timetable view.

The microscopic infrastructure model considers tracks as a connection between switches. This model is the preferred one for a simulation tool or a signal box view of the infrastructure.

To create unique references from a train part to the infrastructure with these two models, it is assumed that

  • in the macroscopic model in railML there are 'long' tracks, i. e. the tracks cross several switches, junctions, or OCPs.
  • in the microscopic model in railML there are 'short' tracks, i. e. the tracks are only defined between two switches or junctions but usually do not cross switches or junctions.

Das makroskopische Infrastrukturmodell betrachtet Gleise als eine Verbindung zwischen Ocps. Dieses Modell ist typisch für eine Fahrplansicht.

Das mikroskopische Infrastrukturmodell betrachtet Gleise als eine Verbindung zwischen Weichen. Dieses Modell ist das bevorzugte Modell für ein Simulationswerkzeug oder eine Stellwerkssicht der Infrastruktur.

Um mit diesen beiden Modellen eindeutige Referenzen von einem Zugteil zur Infrastruktur herzustellen, wird angenommen, dass es

  • im makroskopischen Modell in railML 'lange' Gleise gibt, d. h. die Gleise queren mehrere Weichen, Kreuzungen oder OCPs.
  • Im mikroskopischen Modell in railML 'kurze' Gleise gibt, d.h. die Gleise sind nur zwischen zwei Weichen oder Kreuzungen definiert, und queren normalerweise keine Weichen oder Kreuzungen.

How to define it with railML?

Example 1

If the infrastructure is used in the macroscopic way, only one <trackRef> element should be used for an <ocpTT>.

Example 2

If the infrastructure is used in the microscopic way, you will have to list all tracks (from switch to switch) as <trackRef> elements until you reach a track which contains a <crossSection> element related to the next <ocpTT>.

To list more than one track at <trackRef> shall only be done if the tracks are 'short', i. e. if they are defined between two switches or junctions only but not longer. This secures the description of a train part's route to be unique.