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 path. It is used if a train is involved in a train paths allocation process and encodes information relevant for the ordering process only. Please note: Currently 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. Currently possible values are:
  • planned The train is planned for ordering at the infrastructure manager (IM), but no order has yet been issued (initial state).
    Der Zug wurde geplant und eine Trasse soll beim Imfrastrukturbetreiber (IM) bestellt werden, eine Bestellung ist aber noch nicht erfolgt (Initialzustand).
  • ordered The train has been ordered at the IM.
    Die Trasse für den Zug wurde beim IM bestellt.
  • confirmed The IM has submitted an offer for a train path to the railway undertaking (RU) and the RU has accepted this offer.
    Der IM hat als Reaktion auf eine Trassenbestellung ein Angebot unterbreitet, das vom Eisenbahnverkehrsunternehmen angenommen wurde.
  • detailsRefused The IM has received the order but cannot fulfill all requirements and changed some details in order to offer some train path related to the order.
    Der Infrastrukturbetreiber hat eine Bestellung erhalten, konnte diese aber nicht in allen Aspekten berücksichtigen und hat daher einige Details der Bestellung geändert um ein Angebot machen zu können
  • cancelled The RU has cancelled the train at the IM.
    Das Eisenbahnverkehrsunternehmen hat den Zug abgesagt.
  • notAvailable The IM has rejected the order of then train path.
  • 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.