Dev:How To Reference Infrastructure
How to reference infrastructure / Referenzierung von Infrastruktur
To train parts consists of sequence of several reached control points <ocpTT>. The related <ocp> elements and the used tracks inbetween a part of the infrastructure. The way from one <ocpTT> to the next is described in the 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 und die dazwischen liegenden befahrenen Gleise sind Teil der Infrastruktur. Der Weg bis zur nächsten angegebenen Betriebstelle wird im Unterelement <sectionTT> 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.
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>.