TransitAI Core

Digital twin · decisions, 16 November 2026

Two use cases, seventeen decisions.

From the instructor's fifteen use cases, Track 3 locked two: transfer analysis (offline) and anomaly detection (online). This page shows what was decided, mostly in pictures. The full record is decisions 24 to 40 in DECISIONS.md.

Picked for reach: one offline, one online, both on any mode.

Bunching only happens to buses. Transfers and disruptions happen to ferries, trains and bikes too.

Why these twoA two-by-two of the candidate use cases: offline or online across, one mode or any mode up; transfer analysis and anomaly detection sit in the any-mode row. offline ← how fresh the answer must be → online one mode ← works for → any mode Bunching prediction: buses only Schedule evaluation: fixed-route modes Arrival time prediction Load forecast Transfer analysis: picked, offline Anomaly detection: picked, online
Decision 24. Each gets its own architecture and its own cost analysis.

A transfer is already written on the tap.

PRESTO is one card system. On the second tap, the record names the operator the rider came from. No card is ever matched across agencies.

How a transfer is countedSeven steps from a tap on a TTC bus to a regional transfer report, with the only crossing of the agency border highlighted. Inside MiWay The region Tap on aMiWay bus Record says"from TTC"PRESTO wrote it Countat home Hide rowsunder5 cards Check andadd up Planners'report nightly totals from TTC · to route · date · 3-hour band · count taps and cards never leave
Decisions 25 to 27. Detection from PRESTO's flag; counted at home; a nightly push under a published data contract; small counts hidden.

Wait time is worked out at home too.

The tap says when the rider boarded MiWay. The region's archive of public feeds says when the last TTC bus arrived. The gap is the wait.

Wait timeA timeline with a TTC arrival at 8:02 from the public feed and a MiWay tap at 8:11, showing a nine-minute wait. TTC bus arrives · 8:02from the public feed archive Tap on MiWay · 8:11from the fare record, at home 9 minutes
Decision 28. Only medians and shares of long waits cross; one rider's wait never does.

Anomalies: watch what is public, alert everyone affected.

Feed gaps, frozen buses, dead counters, sudden delays and crowds. The transfer totals say which neighbours to warn.

How an anomaly is found and who hearsPublic feeds and five-minute loads enter a stream; rules and CloudWatch anomaly detection raise an alert that fans out to the agency, the region and affected neighbours. Public live feedsall seven parties, polled 5-minute loadswhere an agency shares them Streamstream · Kinesis Rulesgap, frozen, jump, dead counter Expected vs seenCloudWatch anomaly detection Alert The agency The region Neighbourswhose transfers break Nothing is trained on our data: rules, plus a ready-made detector used for inference only. A pre-trained forecaster (Chronos) is costed as the upgrade.
Decisions 29 to 31, 40.

Two alert speeds, both priced.

The team picks with the figures in hand.

Alert freshness optionsTwo bars: an alert within one minute and an alert within five minutes, both to be costed. Within 1 minutefeeds every 10–30 s; more false alarms; cost: to come Within 5 minutesmatches the load window
Decision 32.

The region we cost it for: six full sharers and one feed-only party.

Circles scale with road vehicles. Bikes are counted apart.

The costing scenarioProportional circles for TTC, YRT, Brampton, MiWay, GO and Durham by road vehicles, and a dashed circle for Bike Share Toronto, feed-only. TTC2,388 buses and streetcarsplus 848 subway cars YRT530 MiWay498 · our sample Brampton500+ GO443 buses, plus trains Durham200 Bike Share10,400 bikes feed-only: polled, no contract About 4,550 road vehicles in all. Fleet figures checked 16 November 2026; sources in docs/scenario.md.
Decisions 36 and 37. Transfers to Bike Share are shown as unknown, never estimated.

How it will be shown: two pages, one picture each.

Under the DT tab. Shared parts are drawn and costed in both, so each page stands alone.

Transfer analysis pageA swimlane sketch with four lanes: TTC, MiWay, region, planners. TTC MiWay Region Planners
Transfer analysis: a swimlane, offline.
Anomaly detection pageA data-flow sketch: feeds, stream, rules, alerts fanning out. stream · Kinesis
Anomaly detection: a data-flow picture, online.

Decisions 33 to 35, 38 and 39: at most 9 boxes and 12 arrows each, a step-by-step Play, only the border crossing highlighted, and every box named in plain words with the recommended service beside it.

So what.

The record.

Decisions 24 to 40, one line each. Owner, 16 November 2026.

#Decision
24Two use cases: transfer analysis (offline) and anomaly detection (online), each with its own architecture and cost analysis.
25Transfers come from PRESTO's transfer flag, counted at home; nightly totals by from-operator, route, date and 3-hour band.
26Transfer totals from fewer than 5 distinct cards are hidden.
27Totals reach the region by a nightly push under a published data contract.
28Wait times are computed at home from the region's archive of public arrivals; only medians and shares cross.
29Anomaly detection covers feed health and service disruptions, on public feeds plus shared 5-minute loads.
30Rules plus a ready-made detector, inference only; nothing trained on our data.
31Alerts go to the agency, the region and neighbours whose transfers are affected.
32Alert freshness costed at 1 minute and 5 minutes; the team chooses.
33Two separate architectures, one per use case.
34Shared parts drawn and costed in both.
35Boxes carry the general name with the recommended AWS service beside it.
36Scenario: TTC, MiWay, Brampton, YRT, Durham and GO as full sharers; Bike Share Toronto feed-only.
37Transfers to parties not on PRESTO are shown as unknown.
38A DT tab on the site holds the overview and one page per use case.
39One diagram each: a swimlane and a data-flow picture, 9 boxes at most, with Play.
40CloudWatch anomaly detection first; Chronos costed as the upgrade.

↑ ↓ to move · ↵ to open · esc to close