TT:trainPartSequence

From wiki.railML.org
Jump to: navigation, search

trainPartSequence
 


Scheme description / Schemenbeschreibung / Description du schéma

Position of trainPartSequence in the XML-Tree / Position von trainPartSequence im XML-Baum / position de trainPartSequence dans l’aborescence XML

Multiplicity / Anzahl / Multiplicité

[1..∞]

Semantics / Bedeutung / Sémantique

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 / Attributs de 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 could be used if a train is involved in a train paths allocation process. Possible values are:

Missinginformation.png In this article there is information missing with respect to the semantics of the enumeration items. Please help improving the railML® wiki by filling the gaps. Possibly, you will find further details on the discussion pageFerri Leberl (talk) 16:24, 25 April 2018 (CEST)
  • planned
  • ordered
  • confirmed
  • detailsRefused
  • cancelled
  • notAvailable
  • 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.
  • xs:anyAttribute: This provides an extension point for non-railML attributes in a foreign namespace. How to use it?

Syntactic Constraints / Syntaktische Beschränkungen / Contraintes syntactiques

  • 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 / Bonnes pratiques & exemples

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 / Notes

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/Pedenzen / Questions ouvertes

Not yet described. / Noch nicht beschrieben. / Pas encore décrit.