Traffic: how commuting works and how to fix congestion

The commute model, road capacities, why jams form, and what buses, metro and road upgrades really change.

What the traffic model simulates

Traffic in Urban Foundry is commuting. Once a week the game works out, for every road tile, the cheapest route to the nearest building with jobs. Each home then sends its working residents along that route, and every road tile they pass adds up their trips. The cars you see on the map are drawn from that flow; they are an illustration of it, not individual simulated drivers.

Two simplifications are worth knowing. Commuters head for the nearest jobs by travel cost, without checking whether that workplace has room for all of them. And only home-to-work trips are counted: there is no shopping or freight traffic yet.

Road types

  • Dirt road: capacity 80, slow. Cheap access for farms.
  • Local street: capacity 220. The default for residential blocks.
  • Collector road: capacity 520, faster. For gathering several streets.
  • Avenue: capacity 1,100, fast, but lowers land value alongside. Unlocks at 2,000 residents on a standard map.
  • Boulevard: capacity 1,100, quieter than an avenue and raises land value. Unlocks at 5,000.
  • Highway: capacity 3,000 and by far the fastest, with the heaviest noise and land value penalty. Unlocks at 10,000.
  • Pedestrian path: no cars at all.

Load is the flow on a tile divided by its capacity. The traffic overlay shows it; anything above 1 is over capacity. Roads can be upgraded in place by drawing the new type over the old one, and you are credited half the cost of the road you replace.

Why jams feed themselves, then spread out

The cost of driving a tile is not fixed. It grows with the square of last week’s load on that tile and shrinks with the road’s speed. A full road is therefore twice as costly as an empty one, and a badly overloaded road up to ten times. Next week some commuters find a detour cheaper, if one exists. Flow is also averaged with the previous week, so changes show up over two or three weeks, not instantly.

This is why a single road between homes and jobs always jams, and why adding a parallel route works even if it is longer: the model will split the traffic between them.

What congestion costs you

  • Air pollution and noise along the busy road, which lower land value and desirability.
  • A city-wide happiness penalty that grows with average congestion.
  • A personal happiness penalty in each home that grows with the length of its commute.
  • Homes that cannot reach any job at all slowly empty and are abandoned.

Fixes that work

  • Mix jobs into every part of town. The cheapest trip is a short one; a commercial strip or light industry near each residential area shortens every route.
  • Build a hierarchy. Streets feed collectors, collectors feed an avenue. Faster roads attract traffic because the route cost falls with speed.
  • Give big job areas more than one entrance.
  • Upgrade the busiest stretch first; the traffic overlay shows exactly where it is.
  • Keep road funding at 100 percent or more. Funding scales both capacity and speed, between 50 and 110 percent.

Public transport

Transit removes a share of commuters from the roads for the homes it covers. A bus stop covers a radius of six tiles and takes up to 30 percent of the commuters living there, provided you have depots: each bus depot runs 20 stops, and with too few depots every stop is proportionally weaker. Stops and depots unlock at 2,000 residents on a standard map.

Metro stations unlock at 25,000. Each covers a radius of ten tiles and takes up to 50 percent, but the metro only works once at least two stations exist. Coverage from several stops adds up to a ceiling of 70 percent. The Free public transport policy adds 15 percentage points wherever there is coverage, and transit funding scales the whole effect. Transit coverage also raises land value on its own.

There are no rail or tram lines to draw in this release: stops and stations work by coverage radius.

Bridges

A bridge is simply a road drawn across water. It costs six times the normal price per tile over shallow water and nine times over deep water, and three times the usual upkeep. Bridges carry traffic exactly like the same road type on land, so a single narrow bridge between a residential island and the jobs is a classic bottleneck.

Updated . Describes Urban Foundry as currently released.

Play Urban Foundry

More guides