TT:trainPartSequence train

From railML 2 Wiki
Jump to navigation Jump to search


trainPartSequence
 


Scheme description / Schemenbeschreibung

Position of trainPartSequence in the XML-Tree / Position von trainPartSequence im XML-Baum

Multiplicity / Anzahl

[1..∞]

Semantics / Bedeutung

The element trainPartSequence groups all elements trainPart belonging to a train. The sequence herein is supposed to be used for successive parts along the train route. This is not to be mixed up with the sequence of rolling stock inside a train formation or a chronological sequence during an operating period or during a day. Therefore all referenced elements trainPart of a trainPartSequence should have the same starting point and end point. Otherwise you should define smaller (shorter) trainParts.

Das Element trainPartSequence gruppiert alle zu einem Zug gehörigen Elemente trainPart. Dabei ist die sequence im Sinne einer Abfolge der Betriebsstellen im Zuglauf zu verstehen. Dies darf nicht verwechselt werden mit der Abfolge der Zugteile innerhalb einer Zugkonfiguration und auch nicht mit der zeitlichen Abfolge von Betriebstagen innerhalb einer Verkehrsperiode. Die innerhalb einer trainPartSequence referenzierten Zuglaufteile trainPart müssen daher alle den gleichen Start- und Endpunkt aufweisen. Ansonsten müssen kleinere (kürzere) Zuglaufteile trainPart als Bausteine definiert werden.

Attributes of trainPartSequence / Attribute von trainPartSequence

  • sequence: This is the sequence of successive train parts along the train route (xs:integer)
  • pathStatus: This is the status of the train times in a train paths allocation (called: slot) process and encodes information relevant for the slot ordering process between a railway undertaking (RU) and infrastructre manager (IM) only.

    Currently possible values are:
  • planned The train is planned by the RU for ordering at the IM, but no order has yet been sent by the RU (initial state). No action is taken by the IM.
    Der Zug wurde durch das Eisenbahnverkehrsunternehmen (EVU) geplant und eine Trasse soll beim Infrastrukturbetreiber (EIU) bestellt werden, eine Bestellung ist aber noch nicht erfolgt (Initialzustand). Durch das EIU werden keine Aktivitäten durchgeführt.
  • ordered The train has been ordered by the RU at the IM.
    Die Trasse für den Zug wurde durch das EVU beim EIU bestellt.
  • (introduced with version 2.5) Currently (April 2020) there is a discussion to extend the enum values with version 2.5 by "offered" to describe a trainPath that has been offered by the IM in response to an ordered trainPath submitted by the RU.
  • confirmed The IM has submitted an offer for a train path to the RU and the RU has accepted this offer.
    Das EIU hat dem EVU ein Trassenangebot unterbreitet, das vom EVU angenommen wurde.
  • detailsRefused The IM has received the order from the RU, but cannot fulfill all requirements and changed some details in order to offer the RU some train path related to the order.
    Das EIU hat eine Bestellung erhalten, konnte diese aber nicht in allen Aspekten berücksichtigen und hat daher einige Details der Bestellung geändert, um dem EVU ein Angebot machen zu können
  • cancelled The RU has rejected or cancelled the slot at the IM.
    (introduced with version 2.3) As of version 2.3 it is possible to differentiate between a cancelled slot and a cancelled service by using cancellation of <train> or <trainPart>.
    Das EVU hat die Trasse beim EIU abgelehnt oder abgesagt.
    (introduced with version 2.3) Ab Version 2.3 ist es möglich zwischen einer abgesagten Trasse und einer ausgefallenen Fahrleistung zu unterscheiden. Dazu kann das Attribut cancellation an <train> bzw. <trainPart> genutzt werden.
  • notAvailable The IM has rejected or cancelled the slot at the RU.
    Das EIU hat die Trasse beim EVU abgelehnt oder abgesagt.
  • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
  • xs:anyAttribute: This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?

Syntactic Constraints / Syntaktische Beschränkungen

  • pathStatus: union of (restriction of xs:string, tOtherEnumerationValue); tOtherEnumerationValue is an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML® enumeration lists, optional

Best practice & Examples / Empfohlene Anwendung & Beispiele

Train City Night Line 242:

<train id="o242" type="operational" description="Berlin - Paris" trainNumber="242">
  <trainPartSequence sequence="1"> <!-- Berlin to Hannover -->
    <trainPartRef position="1" ref="CNL_242_1"/>
    <trainPartRef position="2" ref="CNL_1242_1"/>
  </trainPartSequence>
  <trainPartSequence sequence="2"> <!-- Hannover to Paris-Nord -->
    <trainPartRef ref="CNL_242_2"/>
  </trainPartSequence>
</train>

Notes / Anmerkungen

Each train names all its train parts in its element <trainPartRef> with the attributes ref and position. A train may consist of more than one train part either in one section or in subsequent sections of its route. There may be several elements <trainPartRef> with the same position if the corresponding train parts apply in different sections.

More than one train part in one section applies for instance with train coupling and sharing.
More than one train part in subsequent sections applies for instance if the operating days change at an intermediate station.

For more information, please read Train coupling and Sharing - On trains and train parts in general.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.