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.
- 4 h4.7%
- 2 h13.7%
- 1 h27.6%
- 30 min41.6%
- 15 min53.7%
- 5 min63.4%
One hour before: 44,300 of 160,739 departures (27.6%) already showing at least 6 minutes on the display, 116,439 (72.4%) still showing less.
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
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- With storm gusts of about 65 km/h or more at the station, 40.4% of departures were at least 6 minutes late; with gusts up to 50 km/h, 31.2% (range of the difference 4.2 to 13.7 percentage points). 12.8% of departures were cancelled against 6.5%; with eleven weeks of data, this difference cannot be reliably told apart from zero. Coverage 99.9%.
- In moderate or heavy rain, 31.3% of departures were at least 6 minutes late, in dry weather 26.5% (range 3.0 to 6.1 percentage points). 6.3% were cancelled against 4.8%; this difference pointed in opposite directions in the two halves of the period. Coverage 99.8%.
- At the same station, 48.9% of long-distance departures were at least 6 minutes late, against 20.6% of regional trains (range 27.1 to 29.6 percentage points). 4.3% were cancelled against 3.7%. Coverage 98.6%.
- For scheduled departures from 4:00 to 7:59 pm, 29.0% were late, from 10:00 am to 3:59 pm 24.8% (range 3.5 to 5.0 percentage points). 4.7% were cancelled against 4.3%. Coverage over 99.9%.
- On Sundays and public holidays, 17.8% were late, Monday to Friday excluding holidays 27.2% (range −10.7 to −7.8 percentage points). 3.1% were cancelled against 4.4%. Coverage over 99.9%.
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
- Base set: 160,739 departures at 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. The shares in this list refer to these departures.
- Share by lead time: among all departures with at least 6 minutes in Deutsche Bahn’s last estimate, the share for which the display already reported at least 6 minutes of delay at the given lead time.
- Late: the last IRIS estimate was at least 6 minutes. This is an estimate by Deutsche Bahn, not a measured departure.
- Display: what Deutsche Bahn’s IRIS interface reported for the departure at that moment, as RailCast polled it about once a minute. What counts is the latest snapshot observed at the given moment, not whether the delay had been reported at some earlier point. Without a report, the scheduled time applies.
- What is not counted: cancellations and 12,153 stops for which no timetable had been polled. For all 160,739 late departures, the timetable had already been polled 4 hours before. That does not say whether every change to the display was captured in that time.
- What this does not say: the figures describe the IRIS snapshots polled by RailCast, not what was visible in an app or on the platform, and they apply to 88 stations, not the whole network.
- At least 1 minute: the same calculation with a threshold of 1 minute on the display gives 7.8% (4 h), 21.5% (2 h), 43.7% (1 h), 64.2% (30 min), 78.9% (15 min) and 86.0% (5 min).
- Why railcast.de shows different figures: it is recomputed every night with new data. This page shows the fixed evaluation from 5 October 2026.
- Upper value: the 80% quantile of the prediction.