TT:connection

From railML 2 Wiki
Revision as of 18:32, 11 October 2022 by RailML Coord Timetable (talk | contribs) (added missing link to announcement ref)
Jump to navigation Jump to search


connection
 


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl

[0..∞]

Semantics / Bedeutung

The Element connection describes any connection between this train and another one.

Das Element connection beschreibt Anschlussbeziehungen zwischen diesem und einem anderen Zug. Flügelungen und Umlaufübergänge werden aber dabei nicht betrachtet.

Attributes of connection / Attribute von connection

  • trainRef: This refers to the id attribute of the associated train element.
    Used to reference the train that is the target of this connection. The role of the referenced train is defined by the attribute @connOperation (feeder, connector or both).
  • minConnTime: Specifies the minimal time between the feeder's arrival and the connector's departure that is considered necessary to realise the connection. The parameters of this estimate are unspecified and need to be agreed upon by the communicating parties. The minimal connection time is an estimate that should cover all relevant transfer profiles. It is up to the interface users to agree on what profiles (f.ex. high/limited mobility) and parameters (f.ex. peak hours, temporary elevator disruption) are relevant. The minimal connection time does not affect the arrival or departure times of the participating trains in the railML file. A timetable may contain connections that cannot be realised according to the minimal connection time estimate. It is up to the receiver to accept or refuse such a timetable, and initiate the appropriate error handling.
  • maxConnTime: This attribute describes the maximum duration between the scheduled feeders arrival and the departure of the connector for the connection to be considered. If the attribute optional @trainPartRef is omitted this means that trains that depart from the station defined by the enclosing <ocpTT> or the explicitly specified @ocpRef after the feeders scheduled arrival plus the @minConnectionTime and the feeders scheduled arrival plus the @maxConnTime are considered as connection targets. If the attribute @trainPartRef is provided, @maxConnTime is understood as the time after the scheduled arrival of the feeder that the connector is scheduled to wait. This means that @maxConnTime implicitly specifies the maximum delay of the connector that is acceptable in order to hold this connection.
  • connType: (introduced with version 2.2) This is the connection type. Possible values are:
  • commercial Indicates that the purpose of the enclosing connection is the transfer of passengers or goods between the enclosing <trainPart> and another.
  • operational Indicates that the purpose of the enclosing connection is of an operational nature. This could for example be the transfer of staff between the enclosing <trainPart> and another.
  • connOperation: This is the connection operation. Possible values are:
  • none There is an unspecific connection to another train.
  • meet The train meets another train. Passengers/goods may change trains in both directions.
  • IsWaitingFor The train is waiting for another train. The considered train may be receiving passengers/goods from the referenced connection train. Anschluss auf einen Zubringer-Zug.
  • IsExpectedBy The train is expected by another train. The referenced connection train may be receiving passengers/goods from the considered train. Anschluss auf einen Abbringer-Zug.
  • join The train will be coupled together with another train.
    (deprecated with version 2.1) The element connection should not be used for splitting and joining of trains, use trains with 'type="commercial"' instead.
  • split This part of the train will go on as another train.
    (deprecated with version 2.1) The element connection should not be used for splitting and joining of trains, use trains with 'type="commercial"' instead.
  • turnaround The train will go on as another train.
    (deprecated with version 2.1) The element connection should not be used for splitting and joining of trains, use trains with 'type="commercial"' instead.
  • 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.
  • ocpRef: This refers to the id attribute of the associated <ocp> element.
    (introduced with version 2.2) This reference could be used in the case that the passenger/goods change to or from a different nearby ocp.
  • trainPartRef: This refers to the id attribute of the associated <trainPart> element.
    (introduced with version 2.2) In case the train referenced by @trainRef stops at the ocp indicated by the enclosing <ocpTT> or the @ocpRef provided here more than once, this reference to the <trainPart> of the train shall be used to resolve this ambiguity. The primary attribute for referencing a train that is included in the enclosing railML® 2 document, however, is @trainRef.
  • operatingPeriodRef: This refers to the id attribute of the associated <operatingPeriod> element.
    (introduced with version 2.3) References a reduction of the operating days of the connection compared to the operating days of the train part
  • notGuaranteed (introduced with version 2.3): This indicates if the connection can not be guaranteed.
  • nonConnection (introduced with version 2.3): This indicates that no such connection should be generated or communicated, in order to lead passengers/goods transport orders to the appropriate connection.
  • samePlatform (introduced with version 2.3): This indicates if the connection is on the same platform.
  • xs:anyAttribute(introduced with version 2.2) This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?

Syntactic Constraints / Syntaktische Beschränkungen

  • trainRef: xs:IDREF, optional (was mandatory until version 2.2)
  • minConnTime: xs:duration, optional
  • connType: 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
  • connOperation: 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

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

If a connecting train is passing an ocp multiple times, the described connection may seem ambiguous to ready systems. If the connecting train is part of the encoding railML the attribute @trainPartRef shall be used to clarify which ocpTT of connecting train is meant. If the connecting train is not part of the encoding railML the timeframe shall be used to identify the correct stop of the connecting train.
Wenn ein verbundener Zug einen Halt mehrfach anfährt, kann es zu einer Zweideutigkeit kommen. Ist der verbundene Zug Teil des railML, so ist das Attribut @trainPartRef zu verwenden diese Zweideutigkeit aufzulösen. Ist der Zug nicht Teil des railML, so soll die Ankunfts- und Abfahrtszeit des verbundenen Zuges genutzt werden um den entsprechenden Halt für den Anschluss zu identifizieren.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.