Connection window: the next sailing sets the price of a miss

A box makes its onward sailing when the feeder arrives early enough and the terminal moves it across in time, both measured against one cutoff. Type what each of those takes on average and how much it varies, and the two spreads combine the only way spreads combine, in squares. The share that clears is not the number that decides anything. The interval to the next sailing is, because that is what a miss is paid in.

Live result
The box reaches the stack 10 hours before the cutoff on average, so 84.1% of the cargo clears.
  • boxes expected to wait31.7
  • boxes on the connection200
  • days to the next sailing7 days
  • days added across every box1.1 days
  • transfer leg, mean and spread14 and 8 hours
  • share of the curve below zero hours4.0%
At a transfer spread this wide, the assumed shape does more of the work than the numbers do.
The box reaches the stack 10 hours before the cutoff on average, so 84.1% of the cargo clears. At a transfer spread this wide, the assumed shape does more of the work than the numbers do.

The feeder

Try a connection

hours before departure

Hours before the onward vessel leaves, not a clock time.

6hours

About two thirds of arrivals fall within this much of the average.

The terminal

hours

The duration from discharge to the onward vessel's stack.

8hours

The wider spread usually decides the answer.

The cutoff and the next sailing

hours before departure

The time the box must reach the onward vessel's stack.

days

How long a box waits after missing the vessel.

Slack, on average10 hours
The two spreads together10 hours
Clears the cutoff84.1%
Waits for the next sailing31.7 of 200 boxes, expected
Added delay, per box1.1 days
Added delay, all boxes222 box days

Where the slack lands against the cutoff

Where the slack lands against the cutoffThe box reaches the stack 10 hours before the cutoff on average, with the two spreads combining to 10 hours rather than the 14 they would come to added. 84.1% of the cargo clears, so 31.7 of 200 boxes are expected to wait and at 7 days to the next sailing add 1.1 days across every box. The transfer spread of 8 hours against a mean of 14 puts 4.0% of a symmetric curve below zero hours, which is not a duration anything can take. A real transfer has a floor and a long tail, so at a spread this wide the assumed shape is doing more of the work than the numbers are. Slack averages 10.0 hours with a combined spread of 10.0 hours. The share falling short of the cutoff is 15.9 percent.

15.9 in 100 reach the stack after it

What the two spreads come to together

What the two spreads come to togetherA feeder spread of 6.0 hours and a terminal spread of 8.0 hours combine to 10.0 hours rather than 14.0, because spreads add in squares.

What the same share of misses costs at different sailing intervals

What the same share of misses costs at different sailing intervalsExpected added delay rises in a straight line with the interval to the next sailing. At 15.9 percent missing and 7.0 days between sailings it is 1.1 days a box. At 21 days it is 3.3 days. Six hours earlier at the cutoff lowers the slope rather than the interval.at 21 days the same sharecosts 3.3 dayssix hours earlier at thecutoff

What each spread changes

Two independent spreads combine through their squares, not by addition: 6 and 8 hours give 10 hours, not 14.

Removing the spread of 6 hours lowers the combined spread from 10 to 8 hours; removing the spread of 8 hours lowers it to 6. The larger spread counts for more than twice the smaller, because squaring rewards the bigger number harder.

The model does not measure the cost or effort of either change.

What a hub buys and what it charges

A hub and spoke network saves links and can support bigger vessels, more frequent shared legs and destinations no direct service would serve.

Every saved link becomes a handover with a discharge, yard move, cutoff and chance of missing. This page prices one handover and says nothing about the direct routing beside it.

A box that misses a connection is waiting for a timetable, so the result ends in days rather than a percentage.

Here is the maths

The formula, in words

  • Everything is measured backwards from the departure. The feeder's arrival is hours before it, the cutoff is hours before it, and the transfer is a duration in between. The box reaches the stack at the arrival minus the transfer, it clears when that is at or before the cutoff, and the number the page calls slack is the arrival minus the transfer minus the cutoff. Three quantities owned by three different parties collapse into one, which is why the page prints it: only you know which of the three you can move.
    μ=A−T−C\mu=A−T−C
    where μ\mu is the mean slack, AA the mean arrival hours before departure, TT the mean transfer hours, and CC the cutoff hours before departure.
  • The spreads add in squares. Two independent spreads combine as the square root of the sum of their squares, so 6 and 8 give 10 rather than 14. The consequence is that the wider leg dominates, and it dominates more than its share: taking the 6 to zero buys 2 hours of combined spread, and taking the 8 to zero buys 4. This is the same arithmetic the lesson on variance runs on a supplier's lead time, arriving here from the other end.
    σ=σA2+σT2\sigma=\sqrt{\sigma_A^2+\sigma_T^2}
    where σ\sigma is the combined spread, σA\sigma_A the arrival spread, and σT\sigma_T the transfer spread, in hours.
  • The share that clears is a property of your numbers, not of anybody's service. It is the standard normal function of the slack divided by the combined spread. On the numbers this page opens with that is Φ\Phi of 1.00, which is 84.1%. The function is evaluated with a rational approximation accurate to better than one part in ten million, so the third digit is real. What is not real is any claim about a connection you have not measured.
    p=Φ(μσ)p=\Phi\left(\frac{\mu}{\sigma}\right)
    where pp is the share that clears and Φ\Phi the standard normal distribution function.
  • A miss is priced at one interval, and that is an assumption. A box that misses waits for the next sailing, so the expected added delay is the share that misses multiplied by the days to that sailing. It says nothing about a second miss, a full sailing or a cancelled one. It is a straight line through the origin, which means the interval is a multiplier on everything else and it is the only number here that nobody at the terminal controls.
    D=(1−p)ID=(1−p)I
    where DD is the expected added delay per box and II the sailing interval, in days.

A worked example

The inputs. The feeder arrives 36 hours before departure on average, varying by 6. The terminal takes 14 hours, varying by 8. The cutoff is 12 hours before departure. The next sailing is 7 days later. Two hundred boxes.

The slack, in hours:
36−14−12=1036 − 14 − 12 = 10
The combined spread, in hours:
62+82=36+64=100=10\sqrt{6^2+8^2}=\sqrt{36+64}=\sqrt{100}=10

Ten hours of slack, and ten hours of spread. Six and eight came to ten, not fourteen: the two spreads together are four hours less than their sum, and they always are, because the only way two independent spreads combine is through their squares.

The slack divided by the combined spread:
10÷10=1.0010 \div 10 = 1.00
The share that clears:
Φ(1.00)=0.8413\Phi(1.00) = 0.8413
84.1% clears the cutoff. The other 15.9% reaches the stack after it, which on 200 boxes is 200×0.15865=31.7200 \times 0.15865 = 31.7 boxes, expected.
The added delay per box, in days:
0.15865×7=1.11060.15865 \times 7 = 1.1106
The added delay across the cargo, in box days:
200×1.1106=222.1200 \times 1.1106 = 222.1

1.1 days added, averaged across every box on the connection, including the 84.1% that never waited a minute. That is the number in the finding, and it is the number that is worth carrying because it is the one that changes when nothing at the terminal changes at all.

The interval is the multiplier, and nobody at the terminal owns it. Hold everything and move only the interval:

Days to the next sailing1371421
Share that clears84.1%84.1%84.1%84.1%84.1%
Added delay per box0.2 days0.5 days1.1 days2.2 days3.3 days

The same connection, twenty one times worse. On a daily service, sixteen boxes in a hundred miss and the whole cargo is four hours later on average. At three weeks between sailings the same sixteen boxes cost more than three days across everything. Nothing about the feeder changed, nothing about the terminal changed, and the difference is a timetable.

The cutoff is the slope. Now hold the interval at seven days and move only the cutoff:

Cutoff, hours before departure6121824
Slack, on average16 hours10 hours4 hours2 hours short
Share that clears94.5%84.1%65.5%42.1%
Boxes waiting, of 20011.031.768.9115.9
Added delay per box0.4 days1.1 days2.4 days4.1 days

Six hours at the cutoff bought 0.7 days a box. Six hours the other way cost 1.3. The curve is not symmetric about the visitor's position, and it steepens on the wrong side, which is what a normal always does once the slack falls inside one spread of zero.

Moving the feeder's mean six hours earlier does exactly the same thing, because the slack is one number made of three and it does not care which of them moved. The page prints the slack for that reason.

The check that makes it stick, and it is the whole page in one move. A perfect feeder arrives at exactly 36 hours before departure every single time.

The combined spread, in hours (it was 10):
02+82=8\sqrt{0^2+8^2}=8
The slack divided by the combined spread:
10÷8=1.2510 \div 8 = 1.25
The share that clears:
Φ(1.25)=0.8944\Phi(1.25) = 0.8944
The added delay per box, in days (it was 1.11):
0.1057×7=0.740.1057 \times 7 = 0.74

Removing six hours of feeder spread took two hours out of the combined ten. Clearance went from 84.1% to 89.4%, and better than ten boxes in a hundred still miss with a feeder that is never once late.

The combined spread, in hours:
62+02=6\sqrt{6^2+0^2}=6
The slack divided by the combined spread:
10÷6=1.66710 \div 6 = 1.667
The share that clears:
Φ(1.667)=0.9522\Phi(1.667) = 0.9522
The added delay per box, in days:
0.0478×7=0.330.0478 \times 7 = 0.33

Removing eight hours took four hours out of the ten, and clearance went to 95.2%.

What you make perfectcombined spreadclearsadded per box
nothing10 hours84.1%1.1 days
the feeder8 hours89.4%0.7 days
the terminal6 hours95.2%0.3 days

In the worked example, removing feeder spread raises clearance by 5.3 percentage points; removing terminal spread raises it by 11.1 points.

The two numbers worth carrying

  1. 1.1 days a box, of which none is anybody's transit time. It is the price of a share that misses, and the price is set by an interval nobody at the terminal publishes.
  2. The combined spread is 10 hours from a 6 and an 8. The sum is a number that does not appear anywhere in the arithmetic and is the number most people would have used.

Check it yourself

A feeder that is never once late still leaves better than ten boxes in a hundred missing. The same perfection on two legs is worth twice as much on one of them, and which one is decided by nothing but which number was bigger before you started.

What this does not model

Correlation between the two legs, which is common and always makes the combined spread wider than this page draws; a second miss, and therefore any capacity on the next sailing; a cancelled or blank sailing; a box given priority over another rolled box; the difference between operational, transactional and storage time inside the transfer figure, which have different causes and different remedies and are collapsed here into one duration; any distinction between what a hub does and what a gateway does, the second involving a change of mode with its own constraints; congestion, which makes the transfer spread depend on how many boxes are already there rather than staying a fixed number; the shape of a real transfer time, which has a floor and a long tail where a normal has neither; the direct routing this connection was created instead of, and its own frequency and waiting; what a day costs, in any currency; detention, demurrage, storage and every other contract clock, all of which start on different events and none of which is a transit time; and the documentary and release processes that can hold a box after every physical movement has finished.

Every figure on this page is either a number you typed or arithmetic on numbers you typed.