Skip to content
All guides

Guides for depot managers

AV fleet maintenance process: route a flagged car to the bay without blocking the yard

A car gets flagged mid-shift. Where it parks while it waits, which car takes the next free bay, why a car waiting on a part has to leave the bay, and how many bays the depot actually needs.

By XoomPark Editorial Team ·

A flagged car takes one of five routes, decided at triage: into a bay now, to a holding row, to a parts row, to the dealer for a recall, or to an isolation spot for a damaged battery. Two rules keep the yard moving after that. The next free bay goes to the shortest job, which for a single bay gives the lowest average wait and the fewest cars down on average, by the shortest processing time rule in UC Berkeley's scheduling notes.1 And no car waits for a part inside a bay.
Five routes for a flagged car at an AV fleet depot. The routes and where each car parks are our method, not a published standard; the last column shows where a route leans on a public rule.
RouteWhich carsWhere it parksRule behind it
Bay nowA defect likely to affect safe operation, and a bay is freeStraight into the bayRepair before the car runs again2
Holding rowNeeds a bay, none free yetA marked row off the drive lanes and off the chargersOur assumption
Parts rowDiagnosed, waiting on a part or a vendorA separate row, out of the bayOur assumption
DealerAn open safety recallStaged for the dealer runRecall repairs are free at the dealer5
IsolationCrash damage to the battery area, a battery warning or flood waterOutside, 50 feet clearNHTSA storage guidance4

What decides whether a flagged car goes to the bay now or waits?

Whether the defect stops the car or only your policy does. The Federal Transit Administration's National Transit Database draws the same line for buses: a major mechanical system failure keeps a vehicle from completing or starting a trip because its movement is limited or because of safety concerns, while an other mechanical system failure stops it because of agency policy even though it could physically keep going.3

The first kind takes the next bay. The federal rule for motor carriers says any defect likely to affect safe operation must be repaired before the vehicle is driven again, and someone must certify that it was repaired or that repair was unnecessary before it runs.2 Part 396 is written for trucks and buses run by motor carriers; we use it here as a model for a depot's own rule, not as a claim that it binds your cars.

The second kind can wait its turn. A torn seat, a cosmetic panel or a sensor cover that needs replacing keeps a car out of service by your choice, so it goes to the holding row and gets a bay when the queue reaches it. Our assumption: triage every flag within the shift it arrives in, so no car sits unrouted overnight.

Expect fewer drivetrain jobs than a gas fleet. The Alternative Fuels Data Center says an all-electric car's battery, motor and electronics need little to no regular maintenance, there are fewer fluids to change, and regenerative braking cuts brake wear significantly.6 It also notes that some batteries use a liquid coolant that may need regular checks, and that EV high-voltage systems typically run from 400 to 1,000 volts,6 so route any job on a high-voltage part only to staff trained for it.

Where should a car park while it waits for a bay?

In a marked holding row that is neither a charging stall nor a drive lane. A car left where it stopped blocks whatever it stopped in, and a car parked on a charger holds a stall the daytime line needs. This is our method, and it is the step depots skip.
  • Size the row for a bad day, not an average one. Our assumption: room for the most cars you have ever had flagged in a single shift.
  • Park nose out, in arrival order, with the reason code on the dash or in the yard system. The out-of-service codes carry the reason and the waiting-on field.
  • A damaged battery never goes in the holding row. NHTSA says not to store a severely damaged vehicle with a lithium-ion battery inside a structure or within 50 feet of any structure, vehicle or combustibles.4 The intake guide covers the isolation spot.
  • Charge a waiting car only when a stall is free and nobody is in the line. A down car on a charger is a stall the charging line cannot use.

Which car gets the next free bay?

Safety defects first, then the shortest job within each group. UC Berkeley's scheduling notes state that for a single machine with every job ready at the start, shortest processing time first minimizes the mean flow time, the mean number of jobs in the system and the mean wait before work starts.1 For a depot, flow time is car-hours out of service.
Four cars waiting for one bay, jobs of 4, 0.5, 1 and 2 hours in arrival order. Our arithmetic; times are hours from when the bay opens.
OrderEach car back in service atCar-hours out of serviceAverage per carBay clear at
First come, first served (4, 0.5, 1, 2)4, 4.5, 5.5, 7.521.55.4 h7.5 h
Shortest job first (0.5, 1, 2, 4)0.5, 1.5, 3.5, 7.5133.25 h7.5 h

The bay finishes at the same time either way; only the order changes. Taking the half-hour job first puts that car back on the road 4 hours sooner, and the 4-hour job loses nothing it would not have lost anyway. Across the four cars that is 8.5 car-hours of service returned from the same bay time.

Strict shortest-first has one failure: a long job can be passed over all day as short ones keep arriving. Our assumption: cap it, so any car that has waited a full shift takes the next bay regardless of length.

Why should a car waiting on parts leave the bay?

Because a bay holding a car nobody can work on produces nothing. Once a car is diagnosed and the part is ordered, it moves to the parts row and the next car in the queue takes the bay. It comes back to the front of its group when the part arrives.

Write down why it is waiting before it moves. The motor carrier rule asks for records that show the nature and due date of each inspection and maintenance operation, and a record of each inspection, repair and maintenance job with its date and nature.7 It also says those records stay where the vehicle is housed or maintained for 1 year, and for 6 months after the vehicle leaves the carrier's control.7 For a depot, the useful version is three fields on every routed car: what is wrong, what it is waiting on, and when that is due.

Recall work follows the same logic. NHTSA's recall lookup tells you whether a specific VIN has an unrepaired recall, and its guidance to owners is to contact a local dealership to fix the recalled part for free.5 Our assumption: a recall car does not need your bay at all. Stage it for the dealer run and keep the bay for work only you can do.

How many maintenance bays does the depot need?

Cars flagged per hour times hours each spends in a bay gives the average number of bays busy. That is Little's law, the average number in a system equals the arrival rate times the average time spent there, which Columbia University's notes illustrate with a college that admits 5,000 students a year for four years and so holds 20,000.8

Worked example, our numbers: 12 cars flagged over a 16-hour staffed day is 0.75 an hour. At 3 hours each in the bay, 0.75 × 3 = 2.25 bays are busy on average. Two bays never catch up and the holding row grows all day; three is the floor, and the third bay is what gives the queue room to clear. The Columbia notes add that the law needs no particular assumption about how arrivals behave,8 so it holds on a lumpy day too, as an average.

Use bay time, not wrench time. A car that takes 90 minutes of work but holds the bay for 3 hours while someone finds a part, a key or a lift costs 3 hours. That gap is usually what the parts row gives back.

When this routing is the wrong plan

  • Your depot is small enough for one bay and one list. Under about 20 cars, our assumption, a whiteboard in arrival order is fine.
  • All repairs happen off site. If every flagged car leaves on a truck, you need a staging row and a pickup schedule, not a bay queue.
  • Your bays are busy above about 90% of staffed hours every week. No ordering rule fixes that; the bay count in the section above says you need another bay, another shift or a vendor.
  • Safety holds arrive faster than you can clear them. That is a reliability problem upstream, and the reason codes are where to look first.

When depot stalls are tied up and cars still need a charge, XoomPark arranges AV fleet charging at existing stations in hours their stalls sit unused, never blocks a station's regular customers and never pushes a station past its monthly peak.

Questions depot managers ask

What is a maintenance process at an AV fleet depot?

The fixed route a flagged car takes from the moment it is flagged to the moment it is back in service: triage into a route, a parking spot that blocks nothing, a place in the bay queue, the repair and a record of it, then the release check.

Which car should go into the bay first?

A car with a defect likely to affect safe operation goes first.2 After that, the shortest job; for one bay, shortest processing time first gives the lowest average time out of service.1 Cap the wait so a long job is not passed over for more than a shift.

Should a car waiting for repair sit on a charger?

Only when a stall is free and nobody is waiting for one. Otherwise park it in the holding row; a down car on a charger is a stall the charging line cannot use.

How many maintenance bays does a depot need?

Multiply cars flagged per hour by hours each spends in a bay; that is the average number of bays busy, by Little's law.8 Then round up and add one. At 12 flags a day over 16 hours and 3 hours each, 2.25 bays are busy, so plan at least 3.

What should a repair record show?

At minimum what was wrong, what was done and when. The motor carrier rule asks for the nature and date of each inspection, repair and maintenance job and keeps the records 1 year;7 a depot should add what the car waited on and for how long.

Authorship

Written by XoomPark Editorial Team in collaboration with Claude Opus 5.5

Role breakdown: Topic selection and publishing by XoomPark Editorial Team; research, source checks against primary sources and draft prose by Claude Opus 5.5.