Darwin On-track test

64 views
Skip to first unread message

Pablo Garcia

unread,
Apr 24, 2019, 4:36:44 AM4/24/19
to A gathering place for the Open Rail Data community
Hi all,

I'm thinking about how to test Darwin's feeds on a train PIS system (on-track test) if the Commercial journeys are not  yet available.  I would also want to test real-time updates (Changes in calling patterns, cancelled stations...). 

I could use a "simulator" but it will not be the best approach. Do you know if it is possible to introduce "test" routes in Darwin and generate changes during the journey?

Thanks in advance

Rail Delivery Group

unread,
Apr 24, 2019, 4:56:40 AM4/24/19
to A gathering place for the Open Rail Data community
Hi Pablo,

No, it isn't possible to add in test routes into the live Darwin service. RDG do provide a staging service where it is possible to do this but it is only available to TOCs or to companies providing services to TOCs. As you mention a train PIS, if you are working for a TOC then they can request access for you to the Darwin staging service.

Please note that there is a specific service, Darwin4Trains, which is designed to support train PIS. You may want to investigate gaining access to this service, if you haven't already, as it may save you some time and effort.

Andrew

Pablo Garcia

unread,
Apr 24, 2019, 7:14:56 AM4/24/19
to A gathering place for the Open Rail Data community
Thanks for your fast response.

Since how long has this "staging service" been available?
Message has been deleted

Rail Delivery Group

unread,
Apr 24, 2019, 7:29:50 AM4/24/19
to A gathering place for the Open Rail Data community
Hi Pablo,

The staging service has always been available to those who are allowed to use Darwin directly (TOCs or organisations sponsored by (i.e. providing services to) TOCs). Making changes to services (changing schedules, controlling realtime values for test purposes) requires access to a Darwin API via a VPN (which comes with an initial set-up cost, if you are unable to access through a TOC sponsor's network where a VPN will already be in place)

RDG

Pablo Garcia

unread,
Apr 24, 2019, 9:36:51 AM4/24/19
to A gathering place for the Open Rail Data community
Hi,

Thanks again for the reply and one more question there..

Does this service allows to add a complete route configuration (headcodes, UID, calling pattern, associations..) and  then make changes during the journey (e.g to delete a stop)?

What I assume is that this staging service will "replace" live Darwin connection during testing, allowing to simulate Darwin behaviour. It is correct?

Regards

Rail Delivery Group

unread,
Apr 24, 2019, 10:22:29 AM4/24/19
to A gathering place for the Open Rail Data community
Hi,

Yes. You could create a brand new schedule in staging and then manipulate it using the API. And you're also right in that you would connect to the staging data stream instead of the live data stream to see the results of your manipulation.

Please be aware that using the direct Darwin service, including its staging version, is similar but not identical to using the NRDP service (the message formats are the same but there are subtle differences around how you connect and use the Darwin direct Pub/Sub services as opposed to the NRDP Pub/Sub service) so if you are currently using darwin push port through NRDP then it would take some adaption before you could use staging data stream.

RDG
Reply all
Reply to author
Forward
0 new messages