The University of Manchester · FACULTY OF ENVIRONMENTAL SCIENCE

EART60061 Chap.9 Compartmental Models and Numerical Verification

- one subject, every graph, every model, every mark
8 Chapters5-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 9 of 10 · EART60061

Compartmental Models and Numerical Verification

Compartmental Models represent a continuous system as boxes within which variation is negligible compared with variation between them. The soil carbon exercise uses two compartments, litter and deeper soil, exchanging carbon with an outside world large enough that its inputs stay constant.

Fluxes between compartments are assumed donor controlled and linear, equal to a transfer coefficient times the donor store, and the storage of each compartment changes by inputs minus outputs.

Written as recurrence relationships the equations are solved step by step in a spreadsheet, so the solution must be verified, by halving the time step and by comparing with the analytical solution at equilibrium, where rates of change are zero. The outputs show which soils are gaining or losing carbon and how long they take to reach equilibrium.

The same technique is used to follow radionuclides and heavy metals through waste sites, organisms and the human body, so recognising its abstractions is a transferable skill. Worked steps by hand make the spreadsheet logic transparent before the recurrence is copied down for a century or more.

In this chapter

What this chapter covers

  • 01

    Defining compartments and boundaries

  • 02

    Flux notation and the outside world

  • 03

    Donor-controlled linear fluxes

  • 04

    Storage equations as recurrence relationships

  • 05

    Time-step verification

  • 06

    Equilibrium as a boundary condition

  • 07

    Sources, sinks and residence time

  • 08

    Uses of compartment models beyond soil carbon

Worked example · free

Step a two-compartment carbon model and find its equilibrium

Q [6 marks]. Litter receives 500 and deeper soil 200 units per year from outside. K10 = 0.08, K12 = 0.02 and K20 = 0.005 per year. Starting from X1 = 3,000 and X2 = 40,000, find both stores after one year and at equilibrium. This weighting is an AskSia self-test, not a university allocation.
Two soil compartments exchange carbon with the outside world: litter X1 and deeper soil X2 each receive a constant input, lose carbon in proportion to their ownTwo soil compartments exchange carbon with the outside world: litter X1 and deeper soil X2 each receive a constant input, lose carbon in proportion to their own store, and X1 passes carbon downward to X2; no upward flux is included.outsideX1 litteroutsideoutsideX2 soiloutsideF01F10 = K10 X1F12 = K12 X1F02F20 = K20 X2
Two soil compartments exchange carbon with the outside world: litter X1 and deeper soil X2 each receive a constant input, lose carbon in proportion to their own store, and X1 passes carbon downward to X2; no upward flux is included.
  • 2X1 after one year = 3,000 + 500 - (0.08 + 0.02) times 3,000 = 3,200.
  • 2X2 after one year = 40,000 + 200 + 0.02 times 3,000 - 0.005 times 40,000 = 40,060.
  • 2At equilibrium X1 = 500 / 0.10 = 5,000 and X2 = (200 + 0.02 times 5,000) / 0.005 = 60,000.
After one year the stores are 3,200 and 40,060; at equilibrium they are 5,000 and 60,000, so both compartments are currently gaining carbon and the soil is acting as a sink.
Sia tip — Use the old values of both stores on the right-hand side of each recurrence; updating X1 first and then reusing it changes the scheme.
Glossary

Key terms

Compartment
A part of a system treated as internally uniform, because variation inside it is small compared with variation outside it.
Residence time
The reciprocal of a compartment's total transfer coefficient, the typical time material stays there.
Boundary condition
A special condition, such as equilibrium, under which otherwise insoluble differential equations can be solved.
Recurrence relationship
An equation that computes the next value of a quantity from its current value, repeated step after step.
Equilibrium store
The amount held in a compartment when inputs exactly balance outputs, so the rate of change is zero.
FAQ

Compartmental Models and Numerical Verification FAQ

What does donor controlled mean for a flux?

The flux depends only on the amount in the compartment it leaves, and in the simplest linear form equals a transfer coefficient multiplied by that store. The receiving compartment has no influence, which is an assumption that could be relaxed if the model failed to validate.

How is a compartmental model verified?

Two ways are shown. Rerun with a smaller time step and check whether the answer changes by an amount that matters, and run until the stores stop changing and compare them with the analytical equilibrium found by setting both rates of change to zero.

Why is a transfer coefficient above one per time step a problem?

With a one-year step, a coefficient above one asks the compartment to lose more carbon in a step than it holds, which is only possible if carbon is created. The exercise excludes such a dataset as conceptually incorrect, and the check applies to any recurrence model.

Why are fluxes from the outside world constant?

Compartment 0 represents everything outside the modelled system and is assumed so large that drawing material from it does not change its concentration. Its fluxes into the compartments therefore stay constant, while fluxes between compartments change as the stores change.

How small does the time step need to be?

Small enough that halving it again makes no difference that matters for the purpose and the accuracy of the input data. In the course demonstration a one-year and a half-year step differed by under 1%, so the extra calculations brought no useful benefit.

Study strategy

Exam move

Draw the compartments and arrows before writing any equation, then write each storage equation as inputs minus outputs. Practise one recurrence step by hand and the equilibrium solution for several parameter sets. In the spreadsheet, rerun with half the time step and write the verification sentence, including the size of the difference and why it is acceptable.

Finally, test the coefficient check: multiply each transfer coefficient by the time step and confirm the product is below one before trusting the run.

A+Everything unlocked
Unlocks this Bible + all 41 of your subjects at The University of Manchester, plus 1,000+ more Bibles across the AskSia library.
Sia - your EART60061 tutor, unlimited, worked the way the exam marks it
The full 5-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works