Food Web Simulator: Trophic Cascades & Keystone Species

simulator intermediate ~12 min
Loading simulation...
12 species across 4 trophic levels with full robustness before removal

With 12 species and 15% connectance, the food web self-organizes into 3-4 trophic levels. Producers at the base support herbivores and predators above. Removing top predators can trigger unexpected trophic cascades.

Formula

Connectance C = L / (S(S-1)/2)
Energy at level n: E_n = E_0 * e^n (e = transfer efficiency)
Biomass pyramid: B_n = B_0 * e^n

How Food Webs Organize Life

A food web is the network of feeding relationships in an ecosystem. Unlike simple food chains, real ecosystems contain complex webs where species feed on multiple prey and are consumed by multiple predators. This interconnectedness determines how energy flows through the system and how resilient it is to disturbance. The study of food web topology has revealed universal patterns that govern ecosystem stability.

Trophic Levels and Energy Flow

Species organize into trophic levels: primary producers (plants, algae) at the base, primary consumers (herbivores), secondary consumers (predators), and apex predators at the top. Lindeman's 10% rule states that roughly 10% of energy transfers between levels, explaining why ecosystems are pyramid-shaped with enormous plant biomass supporting progressively fewer animals at each level.

Keystone Species and Cascade Effects

Robert Paine's landmark 1966 experiment showed that removing a single predatory starfish from tide pools caused dramatic ecosystem restructuring. The concept of keystone species — organisms whose impact far exceeds their abundance — has become central to conservation biology. In this simulation, the keystone species is identified by its network centrality: the species whose removal causes the greatest cascade of secondary extinctions.

Connectance, Stability, and the Complexity Debate

Robert May's 1973 analysis showed that random networks become unstable as complexity increases, creating a paradox since real ecosystems are both complex and stable. The resolution lies in non-random structure: real food webs have specific topologies with weak links acting as stabilizers. Adjust the connectance parameter to explore how network density affects resilience to species removal.

FAQ

What is a trophic cascade?

A trophic cascade occurs when changes at one trophic level propagate through the food web. For example, removing wolves from Yellowstone allowed elk populations to explode, which overgrazed riparian vegetation, changing entire river ecosystems.

What makes a species a keystone species?

A keystone species has a disproportionately large effect on its ecosystem relative to its abundance. Its removal causes cascading effects through the food web. In network terms, keystone species typically have high betweenness centrality, connecting many trophic pathways.

What is connectance in a food web?

Connectance is the fraction of possible feeding links that actually exist, calculated as L/(S(S-1)/2) where L is the number of links and S is the number of species. Higher connectance generally increases ecosystem stability but real food webs typically have connectance between 0.05 and 0.3.

How does energy transfer between trophic levels?

On average, only about 10% of energy is transferred from one trophic level to the next (Lindeman's 10% rule). The rest is lost to metabolism, heat, and waste. This is why ecosystems support far fewer top predators than primary producers.

Sources

Embed

<iframe src="https://homo-deus.com/lab/ecology/food-web/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub