Train Infomation which Association Category = LK

49 views
Skip to first unread message

Dean Zhong

unread,
Aug 22, 2025, 4:43:11 AM (14 days ago) Aug 22
to A gathering place for the Open Rail Data community
Hi All,

 In RSPS7020, we notice that darwin AS message that assoc type=LK mean Bus Replacement service, but these replacement trains‘ information is incomplete.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Pport xmlns="http://www.thalesgroup.com/rtti/PushPort/v16" xmlns:ns2="http://www.thalesgroup.com/rtti/PushPort/Schedules/v3" xmlns:ns3="http://www.thalesgroup.com/rtti/PushPort/Schedules/v2" xmlns:ns4="http://www.thalesgroup.com/rtti/PushPort/Formations/v2" xmlns:ns5="http://www.thalesgroup.com/rtti/PushPort/Forecasts/v3" xmlns:ns6="http://www.thalesgroup.com/rtti/PushPort/Formations/v1" xmlns:ns7="http://www.thalesgroup.com/rtti/PushPort/StationMessages/v1" xmlns:ns8="http://www.thalesgroup.com/rtti/PushPort/TrainAlerts/v1" xmlns:ns9="http://www.thalesgroup.com/rtti/PushPort/TrainOrder/v1" xmlns:ns10="http://www.thalesgroup.com/rtti/PushPort/TDData/v1" xmlns:ns11="http://www.thalesgroup.com/rtti/PushPort/Alarms/v1" xmlns:ns12="http://thalesgroup.com/RTTI/PushPortStatus/root_1" ts="2025-08-22T00:35:32.5429497+01:00" version="16.0"><sR><association tiploc="PTRSFLD" category="LK" isCancelled="true"><ns3:main rid="202508217651923" wta="00:49:30" wtd="00:50:30" pta="00:50" ptd="00:50"/><ns3:assoc rid="202508227944603" wtd="01:00" ptd="01:00"/></association><association tiploc="HASLEMR" category="LK" isDeleted="true"><ns3:main rid="202508217651923" wta="00:33" pta="00:33"/><ns3:assoc rid="202508227944729" wtd="00:40" ptd="00:40"/></association><association tiploc="HASLEMR" category="LK"><ns3:main rid="202508217651923" wta="00:33" pta="00:33"/><ns3:assoc rid="202508227944730" wtd="00:40" ptd="00:40"/></association></sR></Pport>

The information about the train from darwin is  the SC type message:
<schedule rid="202508227944730"uid="O44730"trainId="0B00"ssd="2025-08-22"toc="SW"status="B"trainCat="BR">

Due to the lack of information (retailServiceId, sleepers, reservations, uicCode, atocCode), we cannot use these trains as if they were parsing from DTD data, and can we tell where the information about these bus replacement numbers should be obtained?


assocLK.png

Dean Zhong

Peter Hicks

unread,
Aug 22, 2025, 5:07:12 AM (14 days ago) Aug 22
to openrail...@googlegroups.com
Hi Dean

On Friday, 22 August 2025 at 09:43, Dean Zhong <dean...@gmail.com> wrote:

In RSPS7020, we notice that darwin AS message that assoc type=LK mean Bus Replacement service, but these replacement trains‘ information is incomplete.

For the example you've given, the link between RID 202508217651923 and 202508227944603 at Petersfield has isCancelled set to true, and the link between 202508217651923 and 202508227944729 at Haslemere is deleted.

I think the original intent of this was to terminate the 2332 Waterloo - Fratton (L51923) at Petersfield at 0050, and run a bus to Portsmouth Harbour (O44536), but this appears to have been changed to terminate at Haslemere at 0033 and run a bus to Portsmouth Harbour (O44730).

I don't have time to look at the entire timeline, but given Darwin is a real-time system, you can likely troubleshoot this yourself by looking at all the messages received for the RIDs concerned, laying them out in order of receipt and working out what data you have received and what you haven't.

Bear in mind that this could be a bug within Darwin due to a lack of strong business rules that require a consistent state of the timetable.


Peter

Reply all
Reply to author
Forward
0 new messages