Use case · regional AI strategy
A digital twin of two networks.
One live picture of MiWay and Brampton Transit together: where every bus is, how full, how late, what the month looked like, and what would happen if a planner changed something. Built so that neither agency has to change anything to take part.
- 2agencies, sharing different amounts
- 4questions, one per box
- 3kinds of reader: planners, control rooms, the public
- 0fare records that leave an agency
Two agencies, two shapes.
Named as a real example, not as partners. The region takes what each one already publishes. Nothing here asks either to change.
MiWay
- Open timetable, live positions and bus fullness, published today
- Shares, proposed passenger load per stop per 15 minutes, monthly totals
- Answers at home fare questions under a contract, totals only
- Keeps every stop visit, every fare tap, every card
- In our sample 5.45 million stop visits and 1.69 million fare taps from one month, all converted to the standard shape
Brampton Transit
- Open timetable and live positions, published today. No fullness in the feed
- Shares, proposed a monthly totals file
- Answers at home nothing yet; no contract in the example
- Keeps everything else
- In our sample nothing; it appears as the operator riders transferred from
The gap is the point. Where Brampton shares less, the twin says unknown; it never fills a Brampton bus with a MiWay estimate. The regional body is the natural operator of the exchange, but no such arrangement exists.
Four questions, four boxes.
Offline and online, crossed with supply and demand. Each box names what the twin shows and where the data comes from.
Service reports
- Trips run, hours, on-time by route
- From both agencies' monthly files
- Stored by the region as totals
Where every bus is
- Position, lateness, next stops
- From both open live feeds
- Arrival time prediction, planned, sits here
Ridership reports
- Passengers per month, transfers between the two
- Each agency counts its own; the region adds
- Fare totals only under a contract
How full it is
- MiWay: load per stop per 15 min, and fullness live
- Brampton: unknown, shown as such
- No card in any of it
The freshness numbers are design targets, not measurements. Our sample is monthly files, so the online boxes are untested.
What stays home, what the region holds, what is public.
Three custody classes from the third draft, filled in for this twin.
Stays home
- Every stop visit with its counts
- Every fare tap and every card
- Vehicle and operator records
- Region may send a question under contract and receive totals
Regional aggregates
- Load per stop per 15 minutes, no minimum group size, no rider in it
- Monthly trips, hours, passengers, cost
- Transfer counts each agency observed
- Fare totals of ten or more cards, where a contract allows
- Deleted when the agency leaves
Public feeds
- Both timetables
- Both live position feeds
- MiWay's fullness level per bus
- Mirrored by the region, dropped if an agency leaves
The data, moving.
Pick a story and follow the dots. Tap any part for one line about it.
What if.
Four levers a planner may pull. The engine replays stored history under simple rules, so every answer can be explained.
A what-if about Brampton's crowding returns unknown, because Brampton shares no loads. The engine is not an agent-based simulator; that was considered and set aside for version one.
What the public gets.
One journey across both networks, with live times and fullness along the whole route.
Journey planners already stitch the two timetables together from the open GTFS. What the region adds is the live part at the transfer: is the connecting bus on time, and is there room on it. For a MiWay bus the answer comes from its open feed. For a Brampton bus the twin shows the time and says nothing about room.
The public view is built from the public feeds only. No aggregate and nothing from inside an agency reaches it.
- Readers
- Regional planners, both control rooms, the public
- Out
- JSON through an API, or GraphQL; each agency draws its own charts
- Model inside
- Arrival time prediction, a simple explainable model, planned
- Decided in
- ADRs 0001 to 0005 in the repository
- Status
- Planned. A design, not a system