Industries / Transport and vehicles / Maritime and shipping / Ports and terminals
The gate and trucks
The gate is where trucks enter and leave a terminal: a driver books a time, the truck and its container are checked and recorded, and the truck is sent to a spot in the yard.
7
Milestones achieved, from 1983 to 2018.
1
To watch for: announced, not yet confirmed outside.
2
Open deliverables. Nobody has shipped them.
The road
AchievedWatch forOpen
Achieved
1983
Port papers go electronic
Before 1983, freight documents in Hamburg were paper forms carried between forwarders, quay operators, cargo inspectors and shipbrokers. In summer 1983 the DAKOSY data system, which the port's firms had set up in 1982, let them swap that cargo data electronically; by 1987, 136 port companies and institutions were connected, by the count of the Hamburg port company HHLA. Shared systems like it, called port community systems, now carry the advance notices that tell a terminal which truck is coming for which container; a 2026 port economics textbook names DAKOSY in Hamburg and Portbase in Rotterdam as examples.
Credit
DAKOSY and the Hamburg port industry, with HHLA a member from the start
2002
Fines for idling at gates
California's Assembly Bill 2650, chaptered on 30 September 2002, required every marine terminal in the state to run its gates so that trucks did not idle for more than 30 minutes while waiting to load or unload. The bill text set a fine of $250 per violation. Terminals were exempt if they kept their gates fully staffed for set hours each week, and, until 1 July 2003, if they began a scheduling or appointment system.
Credit
California Legislature
2005
Night shifts at Los Angeles
Before 2005, 88% of the containers trucked to and from the ports of Los Angeles and Long Beach moved between 8 a.m. and 5 p.m. on weekdays, according to PierPASS. On 23 July 2005 PierPASS, a not-for-profit set up by the ports' terminal operators, started OffPeak: regular night and Saturday shifts, paid for by a Traffic Mitigation Fee on cargo moved on weekday days. After ten years it was moving about half of roughly 150,000 weekly truck trips to nights and Saturdays, FleetOwner reported. PierPASS counts more than 66 million truck trips taken out of daytime traffic since 2005.
Credit
PierPASS and the marine terminal operators of Los Angeles and Long Beach
2008
Old trucks barred at gates
Under the Clean Truck Program of the ports of Los Angeles and Long Beach, trucks built before 1989 were barred from port work in 2008, and trucks that did not meet the 2007 US emission standards were barred by 2012. From 2018 only trucks of model year 2014 or newer could join the ports' drayage truck registry (drayage is short-haul trucking of containers to and from a port). The ports report that diesel soot (diesel particulate matter) from heavy trucks has fallen 97% at Long Beach and 96% at Los Angeles since 2008.
Credit
Ports of Los Angeles and Long Beach
2010
Penalties both ways at Botany
Port Botany in Sydney had used a booking system for trucks for several years when a 2008 review by the state's pricing tribunal (IPART) found trucks still met congestion at the terminals. Voluntary standards did not bring a significant improvement, so in 2010 the New South Wales government made binding rules. Terminal operators pay trucking firms when a truck is held past a set turnaround time, and trucking firms pay terminal operators when a truck arrives outside its booked window. Turnaround is timed from the moment a truck joins the queue, by government number-plate cameras. The average was 32.1 minutes in 2011, fell to 23.3 minutes in the mid-2010s and was 33.4 minutes in 2021, by Transport for NSW figures.
LessonAt Port Botany voluntary standards did not work, and binding ones with penalties on both sides were needed.
Credit
NSW Government (Port Botany Landside Improvement Strategy)
2013
Court limits port truck rules
The Port of Los Angeles made trucking firms sign a concession agreement to serve its terminals, which required a placard on each truck and an off-street parking plan. On 13 June 2013 the US Supreme Court ruled unanimously, in American Trucking Associations v. City of Los Angeles, that federal motor carrier law overrode those two requirements, because the port was acting as a regulator, not as a business. An appeals court had earlier struck down the requirement that firms employ their drivers.
LessonA port that sets rules for the trucks at its gates acts as a government, and federal trucking law limits what it can demand.
Credit
US Supreme Court (opinion by Justice Elena Kagan)
2018
Peak price dropped
In November 2018 PierPASS replaced its peak-hour pricing with a flat fee of $31.52 per 20-foot container. The peak price had led trucks to line up just before the cheaper hours began, causing congestion and pollution, the Long Beach Business Journal reported; truckers now pressed for better appointment systems instead. From 1 August 2026 the fee is $40.63 per 20-foot container, by PierPASS's figures.
LessonA price that drops at a set hour moves the queue to that hour instead of removing it.
Credit
PierPASS
Watch for
Appointments for clean trucks
APM Terminals says its Pier 400 terminal in Los Angeles has added Green Appointments, which bring "eligible low- and zero-emission trucks" into its appointment scheduling. It builds on Green Lane, a separate entry lane for clean trucks that APM says was the first in the San Pedro Bay port complex. The release gives no figures; a partner quoted in it says the program helps customers "make more turns per day."
Achieved whenAPM or an outside party publishes turn times or daily turns for enrolled clean trucks against other trucks over at least three months.
Claimed by
APM Terminals, August 2026
Open
01
Test the untried slot auction
An open computer simulation of a container terminal gate that runs three rule sets on the same truck traffic: a fee that drops at a set hour, like PierPASS before 2018; fixed booking slots with penalties on both sides, like Port Botany; and an auction for truck slots.
The briefCredit · unclaimed02
One table of turn times
A public weekly table of truck turn times, the minutes a truck spends at a terminal, from every port that publishes them, with each port's definition written next to its number.
The briefCredit · unclaimed
Open 01 · the brief
Test the untried slot auction
The first to publish is credited on this line, and the deliverable moves from Open to Achieved.
What to build
An open computer simulation of a container terminal gate that runs three rule sets on the same truck traffic: a fee that drops at a set hour, like PierPASS before 2018; fixed booking slots with penalties on both sides, like Port Botany; and an auction for truck slots.
Why it is still open
IPART recommended price-based allocation of truck slots, including an auction, in its March 2008 report on Port Botany. New South Wales chose binding performance standards and penalties instead, and a demand management scheme was flagged but not put in place, according to Transport for NSW's 2021 review paper. Public gate simulations on GitHub compare first-come-first-served gates with appointments at a single terminal, such as a SimPy model of Manila International Container Terminal posted in October 2026, and none found compares pricing rules.
Built with what exists
SimPy, an open-source Python library for event-by-event simulation; ConFlowGen, an open-source generator of synthetic container flows at terminals; Transport for NSW's published turnaround figures for calibration; an AI coding agent to write the model, with a test suite a person writes first (see the Note "Code no person read").
First step
Turn the Port Botany mandatory standards (slot rules, penalty triggers and turnaround limits) into a one-page rule table, and generate a week of synthetic container flows with ConFlowGen.
Done looks like
Code and report public. Under matched demand, the Botany-style rule set reproduces the published 2011 to 2021 average turnaround range of 23 to 34 minutes to within 5 minutes. Each of the three rule sets is run at three or more demand levels, with average turnaround, queue length and unused slots reported for each.
Open 02 · the brief
One table of turn times
The first to publish is credited on this line, and the deliverable moves from Open to Achieved.
What to build
A public weekly table of truck turn times, the minutes a truck spends at a terminal, from every port that publishes them, with each port's definition written next to its number.
Why it is still open
Ports publish numbers that measure different things. Port Houston's weekly terminal status report gives a turn time for each of its two container terminals (43 and 42 minutes in its report of 3 November 2025) but no definition on the page. Port Botany's regulated measure starts when a truck joins the queue. No cross-port table turned up in a web search on 18 November 2026, and a GitHub search for "truck turn time port" found no such project.
Built with what exists
A web agent that downloads each port's report every week, such as Browser Use (see the Note "Deleting 80% to start over"); pdftotext to turn PDFs into text; a document-reading AI model to pull out figures and definitions; an email to each port to confirm how it measures.
First step
Download Port Houston's weekly reports for 2025 and 2026, put the turn-time rows in a spreadsheet, and ask Port Houston how it measures turn time.
Done looks like
26 weeks in a row for at least six ports on three continents, each with a written definition confirmed by the port or taken from its own documents, and a hand check of 50 extracted figures against the source files with no errors.