0% found this document useful (0 votes)
105 views8 pages

OpenTrack Api

The document describes OpenTrack, a railway simulation software that communicates with third party applications via an API. The OpenTrack API uses messages to exchange information between the simulation and external programs, similar to real-world railway systems. Messages from OpenTrack provide status updates, while messages to OpenTrack can control train speeds, timetables, and more. The API allows applications to test and analyze dispatching algorithms, concepts for train control, and railway operations.

Uploaded by

Dwi Hartanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views8 pages

OpenTrack Api

The document describes OpenTrack, a railway simulation software that communicates with third party applications via an API. The OpenTrack API uses messages to exchange information between the simulation and external programs, similar to real-world railway systems. Messages from OpenTrack provide status updates, while messages to OpenTrack can control train speeds, timetables, and more. The API allows applications to test and analyze dispatching algorithms, concepts for train control, and railway operations.

Uploaded by

Dwi Hartanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

OpenTrack - Simulation of Railway Systems

Presentation of the
OpenTrack API

Bernhard Seybold
Daniel Huerlimann
The new OpenTrack API (application
programming interface)

• OpenTrack is able to communicate with a 3rd


Party Application (over the Internet)

• OpenTrack accepts Commands (Messages to


OpenTrack) and sends Status Messages
(Messages from OpenTrack)
Messages from OpenTrack
(Status Messages)
3rd Party Tool
Messages to OpenTrack Simulation
(Commands)
OpenTrack API: Messages

• Messages are designed such that they correspond


to those exchanged in a real-world Railway System
between Trains, Interlocking and Dispatching Units

• Messages from OpenTrack (e.g. Status Messages,


Arrival and Departure at Stations, Interlocking
Messages, ...)

• Messages to OpenTrack (e.g. Speed Commands,


Timetable Changes, Dispatching Decisions, ...)
OpenTrack API: Messages from OpenTrack

• Train Messages (Train created, Train deleted)


• Timetable Messages (Train Arrival, Train Departure,
Train passed Station)

• Block Section / Routes Messages (Route reserved,


Route released, Part of Route released,
Infrastructure Element occupied, ...)

• Simulation Messages (Simulation started,


Simulation ended)
OpenTrack API: Messages to OpenTrack

• Train Messages (set requested Speed, set


Performance, set Engine Switch)

• Timetable Messages (set Arrival Time, set Departure


Time, set Connection, cancel Connection)

• Block Section / Routes Messages (reserve Route,


set Route, cancel Route, ... )

• Simulation Messages (Start Simulation, Stop


Simulation, ...)
OpenTrack API: SOAP-Communication

Example: SOAP over HTTP

POST /otd HTTP/1.1


Host: localhost
SOAPAction:
Connection: close
Content-Type: text/xml; charset=us-ascii
Content-Length: 238

<?xml version="1.0" encoding="UTF-8"?>


<SOAP-ENV:Envelope xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/
envelope/">
<SOAP-ENV:Body>
! <trainDeparture trainID="IC4001" stationID="BD" time="36520" />
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
OpenTrack API: Applications

• Implementation of customer-specific Dispatching


Algorithms

• Comparison of new Dispatching Strategies


• Development and Analysis of new Concepts in Train
Control (e.g. optimizing Energy Consumption,
reducing Delays and Conflicts)

• In-depth Evaluation of Railway Operations


Demo Tool OpenTrack Dispatcher

• OpenTrack acts as the


Replacement of the Reality
OTD


OpenTrack
Dispatcher The same type of Information
OpenTrack API is exchanged as in Reality:
(DIME/SOAP)
Commands to OpenTrack
and Status Messages from
OpenTrack)

• Application: developing and


Simulation Reality
testing of new Dispatching
Algorithms

• Prototype in Co-operation
with ZHAW, trafIT solutions
and IBM using DIME/SOAP

You might also like