Home » railML newsgroups » railml.timetable » [railML3] Use of @next= to link operationalTrainParts into a sequence (operationalTrains may be linked into sequences for a number of different reasons. Should the original reason for the linkage be captured?)
[railML3] Use of @next= to link operationalTrainParts into a sequence [message #3993] Wed, 06 May 2026 16:27 Go to next message
Mike Stallybrass is currently offline  Mike Stallybrass
Messages: 2
Registered: May 2026
Junior Member
I am a long-time railway timetable and real-time operations expert, having worked in the railway industry for over 50 years. Over that time, I have worked on the front-line as a timetabler, as an operations controller and manager, but have also designed and developed a number of timetableing and real-time control systems that are in use around the world today. While the majority of my career has been UK based, I have been seconded to both DB in Germany and Amtrak in the USA, have worked as a consultant for railways in over 25 countries, on every continent except Antartica, and am now (through membership of the UK BSI) participating in CEN and ISO standards development.

I note that railML has an @next= attribute on an operationalTrainPart, which allows them to be linked together into a sequence of train movements. Ultimately, such linkages represent a thread for the deployment of rolling-stock. But in my experience, there are three distinct reasons why, in a passenger railway operational timetable, one train or train-part may be explicitly linked to a following one.

    1. As a commercial constraint on later vehicle scheduling, to indicate a commercial requirement for through coaches between trains or train parts, enabling passengers to make a through journey without changing seat. Such constraints are normally created by the train operator during the conceptual development of a timetable. At the time that the constraint is initially created, there may be no information about formations, as no vehicle scheduling will have been done.

    2. As an operational constraint on later vehicle scheduling, to indicate an operational requirement for one arrival to become a subsequent departure. Such constraints are commonly imposed for reasons of terminal station capacity, and are normally created by the infrastructure manager during the later stages of development of a conceptual timetable, when the total infrastructure impact of all relevant timetables at a particular location can be considered. I know that such infrastructure capacity driven constraints have been applied at locations such as Charing Cross in London and Hamburg Hauptbahnhof. Again, at the time that the constraint is initially created, there may be no information about formations, as it is unlikely that vehicle scheduling will have been done at that stage of the process by the operator.

    3. As a result of vehicle scheduling, to detail the intended sequence of journeys to be performed by the rolling-stock. Such linkages are normally created by the train operator during the vehicle scheduling associated with a timetable. Note that the vehicle scheduling may change the calendar granularity of the timetable, for example if a different train formation is to be used on some days of the week.
Because these three reasons for having an embedded linkage in the timetable have arisen from three very different use cases, would it be sensible to add an additional attribute to indicate if the linkage is there as a pre-vehicle scheduling constraint, and if so, whether it is there for commercial (at seat journey) or operational (capacity) reasons.

[Updated on: Wed, 06 May 2026 19:21] by Moderator

Report message to a moderator

Re: [railML3] Use of @next= to link operationalTrainParts into a sequence [message #4003 is a reply to message #3993] Mon, 11 May 2026 10:28 Go to previous messageGo to next message
David Lichti is currently offline  David Lichti
Messages: 60
Registered: December 2020
Member
Hi Mike,
Welcome to the railML community.

I'd just like to add that the operationalTrainSectionPart@next attribute is not the only way of modeling sequences of train movements:

The commercial constraint can already be modeled by a commercial train, and the corresponding commercial schedulings. In case of a through coach, there would be a commercial train covering the entire (commercial) journey of this through coach throughout different operational trains.

For individual vehicle schedulings, there is the vehicle rostering model. It can reference existing operational train section parts. This is especially useful, because these schedulings can have validities of their own, thus avoiding splitting and duplicating the existing operational train variants in the vehicle planning process.
Re: [railML3] Use of @next= to link operationalTrainParts into a sequence [message #4059 is a reply to message #4003] Mon, 22 June 2026 10:55 Go to previous message
Milan Wölke is currently offline  Milan Wölke
Messages: 240
Registered: April 2007
Senior Member
Hi Mike,

sorry for the late reply and thanks for bringing this up. We discussed your scenario in the timetable developer group. The opinion of the developers was that this kind of operational constraint should be modelled using the operationalConnection, introduced with railML 3.3. However, we found that the current description using operationalConnections could be improved.
With the operationalConnection it is possible to describe the connection between two trains. So far this was done for crew changes or also for scenarios where one train would need to wait for another to arrive of to be overtaken by another. What you describe is a new scenario indeed. What we found missing is a enumeration value for the attribute reason of the isTripDependency element. The enumeration currently contains the following values:

* OccupationCrossing - Two trains travelling in opposite direction meet at the operational point. The connector has to wait for the feeder clearing the line to continue.

* OccupationOvertaking - Two trains traveling in the same direction meet at the operational point. The connector is reaching the operational point first, but has to let the feeder pass.

and

* Rollingstock - The connector depends on some of or the entire rollingstock of the feeder.

In a way Rollingstock seems to be the correct value here, but as it is a very special kind of dependency on the rollingstock of the connected train, we thought it may be a good idea to introduce a new value for this. Unfortunately, we didnt come up with something self-explanatory. Maybe something like RequiredShortturn? Do you or any other of the community have a good suggestion on how to call such enumeration value?

Your help is appreciated. Thanks in advance.

Best regards, Milan


Milan Hoffmann – Timetable schema coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Previous Topic: [railML3] Name of attribute tenderState in <patternTrain>
Next Topic: [railML 3] LTP and STP Variants
Goto Forum:
  


Current Time: Wed Nov 18 18:33:31 GMT+1 2026