How to map train composition and wagon changes in a rail freight integration
Treat train composition as an operational record for a defined train run or section. A consignment note records the goods movement, not the current set of wagons. Link them without overwriting either history.
Pin the interface and the relevant journey section.
The ERA Telematics Applications TSI overview covers train preparation and freight data exchange under TEL TSI. For an integration, confirm which message version and transition rules the receiving party uses. Store the applicable train and journey section, wagon associations, source and effective time. Keep the underlying goods or document reference as a separate link.
A wagon is removed before the next section.
In a synthetic yard event, a wagon is detached after the first section. Preserve the earlier composition and record the revised set from the relevant change point. The affected consignment remains open until its next movement is confirmed; do not mark it as transported on the later section merely because the train departed.
Test ordering, coverage and stale updates.
- Test a revised composition effective only on the next section.
- Check that a later-arriving older message cannot undo a verified change.
- Keep message validation separate from train readiness and any infrastructure acceptance.
Continue with a scoped check.
Plan versioned transport data integrations
Keep rail document scope independent of equipment assignments