Home · Use cases · Fare collection by unit

How much should each unit have collected on the route, and how much was short at the close of the day?

The dispatcher writes down, trip by trip, what each driver hands in, and at the close somebody adds it up by unit and compares it with what it should have been, from memory. Here the math comes out with your own figures: what the route should have collected in the day, how much was short and what each unit’s share is.

How it works today

Work out what the route should have collected and how much was short

Swap the example figures for yours: the math redoes itself as you type. Nothing you type leaves your browser.

The units of the route that went out that day; it is the base of the whole math.
The trips each unit makes in the day on that route; one expectation per route.
The route’s historical average, not that day’s headcount; the same figure for every unit.
In the currency you charge in, with no cents: the whole math goes to whole numbers.
What the route’s units handed in over the day, added up; the difference is measured against this figure.

Results

Difference against expected 4,312
Difference as a percentage 7.2 %
Expected collection 60,192
Expected per unit 2,508
Average shortfall per unit 180
What happened in the day Faltan 4,312: el 7.2 % de lo esperado

Preloaded example with made-up data.

The math

Assumptions, and where the rule comes from

Download the template

A spreadsheet with five tabs and sample data at the scale of a passenger transport fleet: 48 units on three routes, one month of trips — one row per trip with departure, arrival, passengers and collection — each route’s expectation, and the summary of every day by unit and by route. Fill it with your own, or hand it to your AI as a starting point.

Download template (.xlsx)

Direct download, no email and no form. Made-up data, at the scale of a passenger transport fleet.

How it looks once your AI builds it

Sample mockup: a board with the expected, the collected, the difference and the shortfall per unit of one route in one day, the table of the units with the largest shortfalls and the day’s summary by route, with made-up data.
Example with made-up data

What changes

The reconciliation by unit gets asked for as a full system: capture, a unit catalog, a board. It fits in a sheet the dispatcher fills in per trip — unit, departure, arrival, passengers and collection — and in one expectation per route that the fleet’s management writes down once.

With the sheet captured per trip and each route’s expectation, the math comes out at the close of the day: the route should have collected 60,192, handed in 55,880 and was short 4,312, 7.2 %; each unit’s share was 2,508 and on average 180 per unit was short. Management sees which unit came up short, and by how much, the same night — not days later, and not by the route’s total.

From here to having it running

  1. Do you recognize the problem? It is yours, not a textbook example.
  2. You know how to solve it. What you do not have are the tools to do it.
  3. Just talk to your AI.
  4. Tell it which files to consume — the roster of units by route and the dispatcher’s trip sheet — and what each route’s expectation is; your AI builds it.
  5. What you get are the capture per trip with passengers and collection, the summary of every day by unit and by route, and the board where you see which unit came up short and by how much.
  6. And each unit’s difference comes out at the close of the day, shared with management and with whoever has to see it.
  7. It is not another AI or another chat: it is what is left after the chat.

Install it and ask your AI for it

VillApps installs on your computer and your AI builds the capture per trip, the summary by unit and the one for each route right there, with your files and with no cloud.

Download VillApps

Windows and macOS · 30 days free, no card.

Questions

Why does the expected come from the route’s historical average and not from each day’s headcount?

Because the reconciliation is against a fixed expectation: with each day’s headcount the expected would move with the very thing being measured and no unit would ever come up short. The route’s historical average — 38 passengers per trip in the example — is a figure the fleet’s management writes down once and revisits when the route changes; with it, days and units compare with each other. If one day the route drops because of rain or roadworks, the difference shows it and the explanation goes alongside.

What happens if a unit — or the route — collected more than expected?

The difference comes out negative and the page shows it as an overage: with 61,000 collected against 60,192 expected, the overage is 808 and the shortfall per unit is 0. In the sheet the reconciliation is by unit: the one that came in over does not cover for the one that came up short, because each is compared with its own expected and the route only adds up.

Why do the amounts go to whole numbers?

Because the fare’s currency has no cents: 11 per passenger, and what the driver hands in is counted in whole numbers. The expected is a whole number by construction — 24 × 6 × 38 × 11 — and the two per-unit figures are rounded: 60,192 / 24 = 2,508 exactly, and 4,312 / 24 = 179.67 → 180. A shortfall with cents does not exist in the cash box.