Skip to content
Astera Technology

Check vehicle space after every delivery and collection stop

Model the changing crate count instead of testing only departure and final load.

Use a running load by route position

Synthetic van plan has six equal crate positions. It starts with five, delivers three at A, collects five at B, then delivers four at C. The B load is seven even though the final load is three. Six is a supplied internal planning limit, not a legal vehicle rating.

Synthetic changing-load requirements
ConstraintRequired recordExample decision rule
Ordered load eventsRoute position and signed crate change5 → 2 → 7 → 3
Intermediate limitCrate positions ≤6 at every stateB violates by one
Unknown sizeEqual-position assumption explicitDifferent sizes need another model
Download editable CSV ↓

Compare final balance with the full route

Filled synthetic acceptance cases
CaseInputExpected decision
Original collection B5Peak 7 / final 3Plan fails six-position limit
Revised collection B4Peak 6 / final 2Fits count limit
Download editable CSV ↓
  1. Record initial crates
  2. Apply each stop in order
  3. Check every intermediate state
  4. Revise offending collection plan

A negative count indicates an impossible planned issue under these inputs; investigate instead of accepting the final total.

With B collecting four instead of five, what is the peak and final count?

Show the worked answer

Peak six, final two: 5 − 3 + 4 = 6, then minus four gives two.

Include the full per-stop load table as a requirement asset so a route with a harmless final balance cannot hide an overloaded intermediate plan.

Related resources