🐟 Ocean Trophic Web Dynamics

Multi-level ocean food web: phytoplankton → zooplankton → fish → apex predators. Nutrient cycling closes the loop. Lotka-Volterra extended to 4 trophic levels with nutrient input.

EcologyInteractive
Time-series of all trophic levels + nutrient pool · P pause · R reset

How it Works

The simulation integrates a 4-level nutrient-phytoplankton-zooplankton-fish-apex (NPZFA) model using Euler integration. Nutrients are supplied externally at rate I and recycled from dead biomass. Phytoplankton grow on nutrients via Michaelis-Menten kinetics and are grazed by zooplankton. Each level eats the one below and is eaten by the one above, following Lotka-Volterra-style terms with efficiency factors.

The particle visualization on the left shows relative population sizes as animated plankton, fish, and predator icons. The time-series chart on the right tracks all populations over 500 time steps.

dN/dt = I - m·N - r·N·P/(K+N) + d·(P+Z+F+A)
dP/dt = r·N·P/(K+N) - g·P·Z - m_P·P
dZ/dt = e·g·P·Z - p·Z·F - m_Z·Z
dF/dt = e·p·Z·F - q·F·A - m_F·F - fishing·F
dA/dt = e·q·F·A - m_A·A
e = trophic efficiency (10%), g,p,q = predation rates

Frequently Asked Questions

What is a trophic web?

A trophic web (food web) describes the feeding relationships in an ecosystem. Each trophic level represents a position in the energy transfer chain: producers (phytoplankton) → primary consumers → secondary consumers → apex predators.

What is the Lotka-Volterra model?

The Lotka-Volterra equations model predator-prey dynamics: prey grows logistically and is consumed by predators; predators grow by consuming prey and die at a natural rate. The system produces characteristic oscillations in both populations.

What role do phytoplankton play in the ocean?

Phytoplankton are microscopic algae that form the base of most marine food webs. They perform about half of Earth's photosynthesis, fixing CO₂ into organic matter that fuels higher trophic levels and drives the biological carbon pump.

What is the 10% rule in ecology?

The 10% rule states that on average only about 10% of energy is transferred from one trophic level to the next. The rest is lost as heat through respiration, excretion, and decomposition, limiting the number of viable trophic levels to 4–5.

How does nutrient cycling work in the ocean?

Dead organisms and excreta sink and are decomposed by bacteria, releasing dissolved inorganic nutrients (nitrogen, phosphorus) that fuel phytoplankton growth. Upwelling brings nutrient-rich deep water to the surface, completing the cycle.

What causes trophic cascades?

A trophic cascade occurs when changes at one level ripple through the food web. For example, removing apex predators (sharks) releases pressure on fish, which then over-graze zooplankton, causing phytoplankton blooms and hypoxic dead zones.

What is eutrophication?

Eutrophication is the excessive enrichment of water with nutrients, typically nitrogen and phosphorus from agricultural runoff. This causes algal blooms that deplete oxygen when they decompose, creating dead zones harmful to marine life.

How does climate change affect ocean food webs?

Warming oceans stratify more strongly, reducing nutrient upwelling and phytoplankton productivity. Ocean acidification affects calcifying organisms. Range shifts and phenological mismatches disrupt predator-prey timing across trophic levels.

What is carrying capacity in ecology?

Carrying capacity (K) is the maximum population size an environment can sustain indefinitely given available resources. When populations exceed K, resource limitation, disease, or predation reduce them back toward equilibrium.

What is the biological carbon pump?

The biological carbon pump is the process by which phytoplankton fix atmospheric CO₂ through photosynthesis and sequester carbon to the deep ocean via sinking organic particles. It removes about 10 GtC per year from the atmosphere.

About this simulation

Five coupled differential equations are Euler-integrated every frame, passing biomass up the chain (Nutrients → Phytoplankton → Zooplankton → Fish → Apex) at a fixed 10% Growth Efficiency while dead biomass recycles back into the nutrient pool. Because each level's death rate and the fixed efficiency loss compound at every step, cranking Fishing Pressure or Predation Rate can visibly cascade through all five populations on the live time-series chart — a direct look at trophic cascade dynamics.

🔬 What it shows

Animated coloured particles representing five ocean layers from nutrients to apex predators on the left, sized by relative abundance, alongside a scrolling multi-line time-series chart tracking all five populations over 500 steps.

🎮 How to use

Adjust Nutrient Input, Predation Rate, Fishing Pressure, Growth Efficiency and Simulation Speed sliders and watch the five population stats update live; press P/R to pause/reset.

💡 Did you know?

The 10% efficiency figure baked into this model's e parameter is the real ecological "ten percent rule" — it's why food chains rarely exceed four or five trophic levels, since almost all energy is lost as heat at each transfer.

Frequently asked questions

Why does raising Fishing Pressure eventually crash the apex predator population?

Fishing pressure subtracts directly from the Fish equation as a -fishing*F term, so heavy fishing shrinks F, which starves Apex predators (dA/dt depends on eating F) even though fishing never touches A directly.

What does the Growth Efficiency slider actually control?

It sets the shared trophic efficiency e applied every time one level consumes the one below it, so a lower value means far less biomass converts into the next level up, echoing the real 10% ecological rule.

Why do phytoplankton sometimes bloom out of control?

If Predation Rate is too low relative to Nutrient Input, the grazing term g*P*Z can't keep pace with phytoplankton growth via Michaelis-Menten uptake, letting P grow largely unchecked - a simplified eutrophication scenario.

How is the recycling of dead biomass modelled?

The nutrient equation includes a +d*(P+Z+F+A) term that returns a fraction of every population's biomass back into the nutrient pool each step, mimicking decomposition and remineralisation in the real ocean.

What do the small triangles between the coloured bands mean?

They are simple arrows marking the direction of energy flow up the food web, visually reinforcing that nutrients feed phytoplankton, which feed zooplankton, which feed fish, which feed apex predators.