Physical AI System Design for Rail Fleets
Summary
Pixel’s announcement highlights an open reference architecture for tracking each vehicle’s maintenance and condition history across two train builders. It describes source-linked condition cases and work orders, an advisory-only design that does not affect train control, and a reusable model released under CC BY 4.0.
DEV Community
System design for physical AI: one history per vehicle across two builders
By Muhammad Umar. This is the engineering summary of an open reference architecture. The paper, its object model as JSON and the model register are free to reuse under CC BY 4.0: https://codeatoms.ai/passenger-rail-fleet-saudi-arabia/. DOI 10.5281/zenodo.24048549. The operator is described by class, never by name. A passenger rail operator in Saudi Arabia runs push pull trainsets of locomotives and coaches over long desert routes, with depots at the ends of the line and more trainsets coming from a second builder, maintenance included. A door fault seen on board three times this month is never joined to the work order closed last month for the same door, because the condition data arrives from the builder's platform in the builder's words and the depot closes work orders in its own. A locomotive whose traction converter is drifting is scheduled by the timetable rather than by its condition, and fails in the desert. When a train is late, the control room and the depot each tell a different story, and the availability figures the new contract will be measured against cannot be computed cleanly today. 1. Read everything, write nothing below The design is a projection over the systems of record, never a copy of them and never a migration. A data lake aggregating the builders' feeds was set aside, because the question is one history per door with every fact tied to its source, and copied schemas cannot answer that with citations. The systems of record are read in place and never written; the single write path in the whole design is into the model's own two objects, the ConditionCase and the AgentDraft. The platform is advisory and non vital: it reads and drafts, touches nothing in signalling or train control, and so stays outside the safety case while staying inside the governance, with its introduction filed as a significance decision under the safety management system before any contract facing output goes live. Fleet and passenger data never leave the operator's network, and no third party model service is called. 2. Two adapter families, ten sources Ten sources feed the design. Eight are the operator's systems of record, all read only: the builder's remote monitoring platform, the on board diagnostic logs, the maintenance management system, the depot work orders, the timetable and train running system, the track condition monitoring service, the spare parts stock system and the passenger incident log. The other two are depot camera feeds, the inspection road and the siding overview, kept as context for an offered depot tier. Two adapter families carry them: integration adapters over the builders' documented APIs and the operator's own systems, and telemetry adapters for streams. Every fact enters stamped with its provenance class, a builder's diagnostic code enters exactly as the builder wrote it so translation happens in the ontology where it can be cited, and each source keeps its own clock offset, because every claim that this fault followed that closure depends on the builders' and the depot's clocks agreeing. No packaged integration product reconciles two builders' vocabularies, so the connectors are bespoke read paths. Apache Kafka 4.4 in KRaft mode runs inside the operator's network, ordered per source key so events from one vehicle keep their sequence, delivered at least once with deduplication on event identity so a repeat fault baseline never double counts. Connectivity from moving assets is intermittent, so the adapters buffer rather than block: when a trainset's link drops on a desert route, events queue and replay in order on reconnection. The time series store is chosen as a class and sized only after phase one counts events per day. Harbor holds every artifact, Keycloak holds identity on site, Prometheus 3.13 LTS with Grafana and Loki watches the running system, and Frigate NVR records the depot cameras. Time comes from a software time class over existing GNSS disciplined sources with per source offsets kept,...

Powered by Readybot.io