Skip to content

RailCast

RailCast is my rail data warehouse. Since March 2026, it has polled Deutsche Bahn’s delay reports about once a minute and recorded which delay Deutsche Bahn displayed, and when. A model predicts delays one hour before departure. The current evaluations are on railcast.de.

In operation, as of 23 November 2026 · Access: public at railcast.de (in German)

What the display showed one hour before

How many of the later delays were already on the display one hour before?

27.6%

Of 160,739 departures that were at least 6 minutes late in Deutsche Bahn’s last estimate, 44,300 were already on the display with at least 6 minutes one hour before.

How many of the displayed delays stayed?

92.1%

Of 48,111 departures for which the display showed at least 6 minutes one hour before, 44,300 were also at least 6 minutes late in the last estimate.

If the display reports a delay one hour before, the delay usually remains. For most delayed departures, however, the display one hour before still showed less than 6 minutes.

At least 6 minutes already shown, by lead time

Share of the 160,739 departures with at least 6 minutes in Deutsche Bahn’s last estimate. The empty part of each bar is the rest: less than 6 minutes shown.

  1. 4 h4.7%
  2. 2 h13.7%
  3. 1 h27.6%
  4. 30 min41.6%
  5. 15 min53.7%
  6. 5 min63.4%

Five minutes before departure, 58,817 of these departures (36.6%) still showed less than 6 minutes on the display.

Only these six steps are evaluated; the gaps between them are not to scale.

Cancelled departures are not counted here. Of 25,828 cancellations, 3,935 (15.2%) only appeared on the display after the scheduled departure.

88 measuring points, a fixed selection of stations; scheduled departures 8 September to 1 October 2026 (German local time); fixed evaluation from 5 October 2026. Data: Deutsche Bahn AG (DB Station&Service AG), IRIS-TTS, CC BY 4.0; evaluated by RailCast.

The model

My model predicts the delay of a stop 60 minutes before the scheduled departure and uses only what is known at that moment. It outputs three values: the delay in minutes, an upper value that the delay should not exceed in eight out of ten cases, and the probability of at least 6 minutes. It was trained on data from August 2026 and tested on 1 to 5 September; the model version is from 7 September 2026.

Since 7 September 2026, the model has been running in the background. Each prediction is stored with its timestamp before departure, so it can later be measured against Deutsche Bahn’s last estimate. I do not publish its predictions; there is no ongoing evaluation of their quality yet.

One stop: IC 2040 at Wuppertal Hbf, Monday, 21 September 2026, scheduled departure 08:14

0 6 12 05:00 06:00 07:00 08:00 3 11.6
  • displayed delay in minutes, from 05:10; dotted: no snapshot before that, so the scheduled time applies
  • prediction stored at 07:12: 11.6 minutes
  • Deutsche Bahn’s last estimate, displayed from 08:09: 3 minutes; that it remained the last one only became clear after departure
  • scheduled departure 08:14; dashed: 6 minutes

One stop chosen by a fixed rule, not an average, not evidence of quality. The rule was set before looking at the data: the first ICE, IC or EC from 08:00 on that day at Wuppertal Hbf with a stored 60-minute prediction. The line shows the IRIS snapshots polled by RailCast; no snapshot is stored before 05:10, so the scheduled time applies. Stored at 07:12: 11.6 minutes, upper value 19.6 minutes, probability of at least 6 minutes 79%. Deutsche Bahn’s last estimate: 3 minutes, polled at 08:09, before the scheduled departure at 08:14; that it remained the last one only became clear after departure. Data: Deutsche Bahn AG (DB Station&Service AG), CC BY 4.0; model version 7 September 2026.

At 07:14, one hour before departure, the display showed 5 minutes (snapshot from 07:11).

The data collection

RailCast polls Deutsche Bahn’s IRIS interface about once a minute, currently for 148 stations (as of 22 October 2026). It stores Deutsche Bahn’s delays and messages with the time at which they were visible, plus weather data. Since March 2026, 4,941,733 train stops have been recorded (as of 30 September 2026, 14:46). railcast.de (in German) recomputes the evaluations every night.

How the data moves through RailCast

Collection server DB IRIS every minute Open-Meteo every 20 minutes Collector runs continuously Live database SQLite, new rows only Raw responses gzip, per hour every 15 minutes Receipt Analysis server Data warehouse SQLite, full history DELFI weekly DWD hourly Forecasts every minute Evaluations every night railcast.de
  1. Fetch. Deutsche Bahn reports a delay of 6 minutes for a departure. The collector requests each station’s changes about once a minute and picks up the report on the next request.
  2. Store. The report goes into the live database as a new row with the time it was fetched; earlier states stay in place. The unchanged response from Deutsche Bahn is compressed and filed in the archive for the current hour.
  3. Transfer. Every 15 minutes the analysis server pulls the new rows and raw responses. It remembers how far it got in each table, so an interrupted run resumes there. The collection server deletes old data only after the analysis server has acknowledged it.
  4. Forecast. One hour before departure the model records its forecast. It is not changed afterwards and is compared every hour with the latest time Deutsche Bahn reported.
  5. Evaluation. Every night the analysis server recomputes the evaluations with the new data and transfers them to railcast.de.

The collection server also serves railcast.de. The analysis server fetches the scheduled timetable from DELFI and the German Weather Service (DWD) forecasts along the routes itself. Size on 24 November 2026: data warehouse 205 GB, forecasts 27 GB.

What goes along with delays

For five circumstances, RailCast compared how many departures were at least 6 minutes late. Departures are compared at the same station in the same month; train category, time band and day-of-week group match, except when that feature is the one being compared. This describes what occurs together, not what causes the delay.

Difference in the share of late departures in percentage points, point with range Storm gusts vs gusts up to 50 km/h +9.2 Moderate or heavy rain vs dry +4.8 Long-distance vs regional trains +28.3 4:00–7:59 pm vs 10:00 am–3:59 pm +4.3 Sunday/holiday vs Mon–Fri excl. holidays −9.4 −10 0 +10 +20 +30 percentage points Source: RailCast, own analysis · as of 22 Nov 2026
8 September to 20 November 2026 (German local time), data as of 22 November 2026, 85 stations. Delay shares count 1,914,725 departures that were not cancelled; cancellation shares also count 85,257 reported cancellations. Late means: the railway’s last status for the departure was at least 6 minutes late, an estimate by the railway, not a measured departure. Weather is a model value assigned to the station afterwards (Open-Meteo), not the weather along the line. The range shows where the difference would lie with a different selection of weeks. Coverage is the share of the departures in question that had a comparable group.

Frost and storm gusts at many stations at once were too rare in this period to compare. 8 September to 20 November 2026, as of 22 November 2026.

In detail

Back to the home page