How a bee swarm picks a home (2D)

Scouts, waggle-dance recruitment, stop signals and a quorum, with the dance on the comb and the ODE next to random scouts.

Switch to 3D

Presets

Playback

Nest sites

Colony

Dance and view

Layers

Model check

The science

What is modelled

A swarm of honey bees hangs in a cluster while about 300 scouts look for a new home. Each scout is in one of three states: uncommitted, committed to site A, or committed to site B. The page runs two descriptions of the same process side by side. The dashed lines are the mean-field ODE; the solid lines are one random run in which every scout is an individual and events happen at random times (an exact Gillespie simulation).

Equations. With xi the fraction of scouts committed to site i and u = 1 - x1 - x2: dxi/dt = (gammai + rhoi xi) u - alphai xi - beta x1 x2. The bracket is discovery plus waggle-dance recruitment (committed bees advertise the site and recruit uncommitted bees), alpha is abandonment, and beta is the stop signal that bees from one site give to dancers of the other.

Link to the dance. Dance strength grows with site quality q: rhoi = r0 qi / (1 + taui/0.15 h) where taui = 2 di / 27 km/h is the flight round trip. Abandonment is alphai = a0 (1.25 - qi) and discovery falls with distance. The swarm lifts off when one site reaches the quorum (75 of 300 scouts by default; real colonies use roughly 10 to 20 bees counted at the site, and treating the quorum as a simple head count is the main simplification here).

The dance code. A waggle run lasting t seconds points to a site at d = t / 0.9 km (the calibration differs between races of bees; about one second per kilometre is typical). The angle of the run from vertical on the comb equals the compass bearing of the site minus the sun azimuth, so the code shifts as the sun moves about 15 degrees per hour. The sun model is a straight-line approximation of azimuth around noon.

Checks on this page

(1) One-site RK4 compared with the exact logistic solution. (2) Measured RK4 convergence order close to 4. (3) The long-time state equals 1 - alpha/rho. (4) The dance code decodes back exactly at three times of day. (5) The mean of 200 random-scout runs agrees with the ODE.

Simplifications

Scouts are well mixed (no geometry on the cluster), all rates are constant, the two sites are scouted independently, and the quorum is a plain count. Time is in hours of scouting; real swarms usually decide over one to several days.

Scouts committed to each site
Waggle run duration against distance
Decision time against quorum threshold
Dance angle across the day