Methods and equations
How the estimates are made: the models, data, assumptions and uncertainty of the three studies, and how the application uses them. Limitations are gathered in section 13.
- Coverage
- 54 countries · 261 districts · 17 intakes
- Periods
- 2000–2050 · 2010–2035 · 2013–2026
- Simulation
- 10,000 Latin hypercube draws, fixed seeds
- Intervals
- Median and 95% interval
- Evidence
- 189 measured containments
- Warming potentials
- AR6 (Africa); AR5 (Ghana)
- Protocols
- Specified in advance, not pre-registered
- Data
- Public sources only; open downloads
What the application is for
AfriWEM (African Water Emissions Model) estimates greenhouse gas emissions from sanitation and drinking-water services, with uncertainty, and presents them for public planning, utility management, research and funding decisions. It draws on three linked studies by the Net-Zero Carbon Emission Lab (NCEL) at KNUST. This section sets out the uses the results support.
- Comparing service options and their likely direction of change
- Orders of magnitude for national and district planning
- Prioritizing new measurements and research funding
- Supporting improvement of greenhouse gas inventories
- Single-country or single-district point values
- District values, which combine census shares with national rates
- Turbidity at intakes where the satellite retrieval saturates
- Calculator results based on user inputs
- Regulatory compliance or reporting obligations
- Carbon crediting or offset claims
- Investment decisions
- Operational decisions at individual plants
From measurements to decisions
The three studies share one framework: published measurements are synthesized into emission rates, applied to activity data, propagated with full uncertainty, and used to compare options.
Where every value comes from
Every input and output carries one of four labels. The definitions are shared by the three studies and the application.
| Label | Meaning | Examples |
|---|---|---|
| M | Measured: a direct measurement, here or in a cited study | Containment methane fluxes; satellite reflectance at intakes |
| D | Derived from national or reported data: censuses, surveys, registers and filings | JMP service shares; 2021 census tables; utility tariff filings |
| E | Estimated from models, open global data, defaults or expert judgement | Model outputs; IPCC default ranges; grid emission factors |
| G | Gap: no data exist, so the value is a modelling choice or convention | Correlation of transfer error across countries; presentation thresholds |
Measurements made outside Ghana, or outside the authors' laboratory, are also marked external. Only public data are used: no household microdata, and no utility data beyond published regulatory filings and statements.
- Sanitation and water services: WHO/UNICEF Joint Monitoring Programme (JMP) estimates; Ghana Statistical Service 2021 Population and Housing Census (published district tables); Demographic and Health Surveys.
- Emission measurements: 28 reports from 27 studies, identified by a PRISMA 2020 search (see the evidence register).
- Climate and hydrology: ERA5 temperature and precipitation; CMIP6 warming projections; British Geological Survey groundwater depth; WorldPop population.
- Satellite imagery: Landsat 8/9 Collection 2 and Sentinel-2 Level-2A, 2013–2026.
- Utility and energy: Ghana Water Limited and PURC public filings; Ember electricity data; Ghana's National Inventory Document (2024).
- Mining: Dethier et al. (2023) global river-mining dataset; Hansen tree-cover loss.
Emission rates from measurements
Measured emissions are expressed as an implied methane correction factor (MCF), the share of the organic load converted to methane. A Bayesian hierarchical meta-regression pools 189 containments from 13 study clusters.
- mean for system type k (septic tank, pit, vault, container)
- standardized temperature, °C
- ln(years since emptying) − ln 3
- ln(users) − ln 5
- method offset (floating chamber as reference)
- site effect
- household effect
Fitted in PyMC with the No-U-Turn sampler (4 chains × 2,000 draws after 2,000 tuning steps); no divergent transitions, R̂ ≤ 1.003. The bounded link keeps every MCF below 1.
- per-capita methane emission, g CH₄ person⁻¹ d⁻¹
- maximum methane-producing capacity, g CH₄ g⁻¹ BOD
- IPCC regional default organic load, g person⁻¹ d⁻¹
Records below the detection limit enter as left-censored. Summary records from earlier studies enter by lognormal moment matching.
The country model
For each country, setting (urban, rural) and year, the rates from Module A are applied to the populations using each service type, adjusted for each country's temperature, emptying practice and groundwater conditions. Sludge, effluent, sewers, treatment and discharge follow IPCC 2019 Tier 1 with uncertainty ranges.
- population of country c, setting s, year t
- share served by system k (JMP) D
- household-mean MCF at the country's covariates
Pit wetness shifts the logit by δ(pwet − pref), with pwet the share of people above groundwater shallower than 7 m; transfer error is partly correlated across countries (ρ = 0.5 G).
- share of the load leaving as septic effluent (mean 0.63)
- share accumulating as sludge (mean 0.30)
- multiplier on downstream loads
Each person's organic load is conserved along the chain, so methane per user never exceeds B₀·BOD. This was checked for every country, system and draw.
Sensitivity and the value of information
Inputs are grouped by the action that would reduce their uncertainty. Three analyses then ask which uncertainties matter and what resolving them would be worth.
- 2024 national or continental emissions
- input group j, e.g. emission rates or sludge fate
Grouped Saltelli sampling with 1,024 base samples (11,264 model runs) and bootstrap confidence intervals.
- continental 2024 emissions
- site means that a campaign at K new sites would observe
- spline regression, five-fold cross-validated
- spread of new sites relative to existing ones (0.7; 0 and 1 as sensitivities)
Each design is simulated with the Module A likelihood. The cost of a design is n × unit cost with n = sites × households × tests; the study assumes no unit cost.
- cumulative methane 2025–2050 under pathway d
- a group of uncertain inputs
EVPPI is estimated by regression on a quadratic basis of each group, cross-validated. Across all pathways EVPI is 3.7 Tg CH₄; EVPPI of emission rates is 2.9 Tg.
Pathways and paired comparisons
Eight pathways (P0–P7) allocate newly served people to services under five access and warming scenarios to 2050. Population follows UN World Population Prospects 2024; warming follows the CMIP6 multi-model median for SSP2-4.5 and SSP3-7.0. Every pathway is evaluated on the same 2,000 simulations, so differences are computed draw by draw.
- emissions of pathway p in year t, simulation n
- paired simulations
- share of simulations in which p has the lowest cumulative emissions
Pathways are scenarios, not forecasts. No cost data were used.
Ghana's whole-chain account
Six modules cover sanitation and wastewater (M1), urban piped supply (M2), rural and small-town supply (M3), household coping supply (M4), the mining penalty (M5) and integration (M6) for 261 districts, 2010–2025. The boundary runs from abstraction to the drinking glass and from the toilet to final discharge.
- population using pathway j in setting s (census) D
- per-user CH₄ rate from Study 1, kg cap⁻¹ yr⁻¹
- per-capita N₂O rate
- diesel CO₂ of vacuum-truck emptying
Rates for Ghana are transferred from measurements elsewhere through Study 1; none is a Ghanaian measurement.
- g cap⁻¹ d⁻¹, IPCC default for Africa
- IPCC default for pathway j
- volumes produced and billed (filings) D
- electricity per m³ produced
- grid intensity (Ember)
- losses between generation and supply points
- chemical and fuel emissions
- regulated energy charge
- share of electricity used upstream of the points of loss, U(0.90, 1.00)
- emissions per m³ produced from electricity, chemicals and fuel
With ω = 1 the reduction reaches its arithmetic upper bound of 0.161; the study's median is 15.4%.
- feed-water intensity
- treatment recovery
- mass of film and outer bags
- polyethylene resin and film-conversion factors
- share of packaging burned
- driver k (population, sanitation mix, rate per user, supply mix, grid factor, other) for component i
- share of the population without a toilet
- urban fraction of the gap
- per-user rate of technology v
Satellite turbidity and the mining ban
Turbidity was retrieved from every Landsat 8/9 and Sentinel-2 scene over a 2 km reach upstream of each intake (15,827 scenes; 3,231 valid observations), with the switching algorithm of Dogliotti et al. (2015). Values are NTU-equivalent; a month is censored when the retrieval saturates at 3,000 NTU-equivalent. Sentinel-2 values were aligned to Landsat by the median difference of same-intake pairs within ±3 days. The national ban on small-scale mining (1 March 2017 to 17 December 2018) provides a natural experiment.
- log₁₀ turbidity at intake i, month t
- intake-specific calendar-month effects
- year-month effects
- mining upstream (5 exposed, 6 comparison intakes)
- catchment rainfall, current and previous month
The post-ban coefficient β₂ is 0.39 (0.22 to 0.72) log₁₀ units, about 2.5 (1.7–5.2) times. Inference uses a block bootstrap over intakes (1,000 replicates).
- intake-specific linear trend
Ban-period change: −68% (−92 to −35%) relative to trend and season; the same model on comparison intakes serves as a placebo.
- each of the C(11,5) = 462 ways to label five of eleven intakes as exposed
P = 0.002 for the post-ban coefficient. This and other identification checks were added after the outcomes were seen and are reported as post hoc.
From turbidity to carbon and lost water
For each exposed intake and month, observed turbidity is compared with a counterfactual without mining. Extra coagulant, polymer, lime, sludge and energy, and the fraction of production lost, follow from dose–turbidity relations anchored on published plant values.
- alum dose, mg L⁻¹
- dose at 50 NTU
- dose exponent, truncated to [0.27, 0.60]
- turbidity at which losses begin and become total, U(1,000, 3,000) and U(30,000, 100,000) NTU
- production lost
- share replaced by sachet water
- share replaced by tankers or vendors
- emissions per m³: sachet 21 (12–35), tanker 2.1 (0.8–5.4), utility 0.65 (0.5–0.85) kg CO₂e
National totals scale the per-cubic-metre penalty by the share of output from plants the utility reports as affected (median 0.12; 0.07–0.20).
Uncertainty, reproducibility and units
- Monte Carlo. Each study draws 10,000 Latin hypercube samples with a fixed seed (Study 1: 20261203; Study 2: 20261204; Study 3: 20261205). Pathways use the first 2,000 Study 1 draws.
- Reporting. Values are medians with 95% intervals (2.5th–97.5th percentiles). Ratios, shares and differences are computed draw by draw before percentiles are taken, so they need not equal ratios of medians, and component medians need not sum to the median total.
- Probabilities are the share of simulations meeting a condition. No frequentist significance tests are used, except the randomization and bootstrap inference of Study 2.
- Global warming potentials. Study 1 uses IPCC AR6 values over 100 years: 27 for methane of non-fossil origin and 273 for nitrous oxide (79.7 for methane over 20 years). Study 3, and the Ghana reporting table of Study 1, use AR5 values (28 and 265), as in Ghana's national inventory, with AR6 and 20-year values as sensitivities.
- Units. Gg = thousand tonnes; Tg = million tonnes; kt = thousand tonnes; Mt = million tonnes; yr⁻¹ = per year. NTU-eq = NTU-equivalent satellite index.
- Reproducibility. Each study runs from raw public data with a locked software environment, and a script checks each number in the manuscripts against the output files. The application reads the same output files; its build stops if a headline value or a tool's default result does not match the studies.
How the decision tools use the results
The tools reuse the studies' outputs; no new modelling is done in the browser. The pathway planner and measurement planner read the studies' simulation results directly. The two calculators apply the studies' formulas to user inputs.
| Share of simulations in which an option is lower than the reference | Description |
|---|---|
| At least 95% | Consistently lower |
| 80% to 95% | Likely lower |
| Between 20% and 80% | No clear difference |
| 5% to 20% | Likely higher |
| Below 5% | Consistently higher |
These thresholds are presentation conventions G chosen to separate robust from uncertain differences; they are not statistical tests.
- current and target non-revenue water
- electricity share of utility emissions (0.839 for Ghana Water Limited, 2024)
- emissions avoided
Billed volume is held fixed and the reduction is in physical losses. With Ghana 2024 inputs the calculator returns about 15.5%, within 0.1 percentage points of the Study 3 median (15.4%); the build checks this agreement.
- population and litres per person per day
- share using each source
- emissions per m³ of each source
- share of sachet users moving to piped water
- median and 95% range reported by the study
Intensities are drawn independently (4,000 draws for the supply calculator, 10,000 for the disruption calculator, fixed seeds). The studies' own intervals keep correlations between inputs, so calculator intervals are indicative.
Limitations and evidence status
This section gathers in one place what the results can and cannot support. Each entry states the limitation and how the studies address it.
Cross-cutting
Status and appropriate useAll studies
The three studies are being prepared for peer review, and values may change. The results are intended for planning, prioritisation and research; they are not designed for regulatory compliance, investment or carbon-crediting decisions.
How it is handled. The application is versioned and dated; changes are recorded in the change log on the Data page, and downloads carry checksums.
Measurements transferred across settingsStudies 1 and 3
Emission rates rest on 189 containments, 139 in Africa and 58 of them pit latrines. No containment measurements exist for Ghana; rates for Ghana and most countries are transferred through the model.
How it is handled. The hierarchical model carries site-to-site variation into every estimate, transfer errors are partly correlated across countries, and the measurement planner identifies where new data would help most.
Wide intervalsStudy 1
National estimates have wide intervals, and no country's estimate can yet be distinguished from the IPCC Tier 1 default.
How it is handled. Results are reported as probabilities, and country profiles show intervals alongside medians. Countries should not be ranked on medians alone.
Activity dataAll studies
Service shares rely on JMP estimates, census tables and surveys; the split of unimproved facilities and emptying practice come from the latest survey and carry their own error.
How it is handled. These inputs are labelled D and sampled with uncertainty (for example, Dirichlet distributions centred on survey values).
Evidence screeningStudy 1
Screening and extraction were machine-assisted with a single coder.
How it is handled. The PRISMA flow and full register are published; corrections and missing studies are welcome.
Study 1 · Africa
Inventory test not completedHypothesis H3
The planned comparison with 15 or more national inventories could not be made because their wastewater tables were not available in machine-readable form.
How it is handled. The test is deferred and reported as such. Comparisons with EDGAR, Climate TRACE and PRIMAP-hist are reported instead.
Satellite check is one-sidedModule D
Comparison with satellite inversions tests only whether bottom-up waste methane exceeds the inferred total; it cannot confirm the estimate.
How it is handled. It is presented as a necessary-condition check, and weakly observed countries are marked.
Pathways are scenariosModule F
Pathways describe allocations of new users; they are not forecasts and include no costs. Carbon prices shown in the paper are illustrative.
How it is handled. Differences are computed on paired simulations and described by probability.
Study 2 · River intakes
Satellite turbidity is an indexRetrieval
Values are NTU-equivalent and were not calibrated against Ghanaian measurements. The retrieval saturates at 3,000 NTU-equivalent, which applies to 72% of post-ban months at exposed intakes.
How it is handled. Saturated months are treated as censored (Tobit models); a continuous near-infrared index and single-sensor series are reported as checks.
Few intakesDesign
Of 17 intakes, 11 could be analysed (5 exposed, 6 comparison). The ban-period difference against comparison intakes cannot be distinguished from zero.
How it is handled. Bootstrap and exact randomization inference respect the small number of intakes; identification checks added after the outcomes were seen are labelled post hoc.
No plant recordsDose–carbon model
No dosing, turbidity or production logs from Ghana Water Limited were available, so the planned dose–turbidity test (H2) was not run.
How it is handled. Dose, polymer switching and curtailment use published anchors with wide priors, and the uncertainty is propagated.
Not reviewed by the utilityPlant-level results
Plant-level results have not been reviewed by Ghana Water Limited.
How it is handled. Intake results are presented as provisional and describe the satellite record, not plant performance.
Study 3 · Ghana
District values are modelledM1, M6
District emissions combine census shares with national rates; they are not local measurements. District shares are held at 2021 for the national series.
How it is handled. Results are presented with intervals and alongside access to services; per person served values are reported.
Utility energy from spending dataM2
Ghana Water Limited's electricity use is derived from its reported spending and the regulated tariff, not metered energy; volumes for 2010–2018 are back-cast.
How it is handled. Tariff, losses and spending shares are sampled with uncertainty; the water-loss result is checked against its arithmetic upper bound.
Sachet-water assumptionsM4
The sachet intensity depends on packaging mass and open burning.
How it is handled. Robustness tests are reported: with all favourable assumptions together the sachet-to-piped ratio falls from 16.5 to about 10 (7.6–12.3).
Analyses added after the protocolStudy 3
The inventory-method comparison, the access–intensity decomposition and the sanitation-gap pathways were added after the protocol.
How it is handled. They are labelled as such in the paper and listed with the protocol deviations.
Decision tools
Approximate intervalsCalculators
The two calculators draw intensities independently, which does not preserve correlations between inputs.
How it is handled. Defaults reproduce the studies' central results, and the build checks this; intervals are described as indicative.
Limited design spaceMeasurement planner
Only the designs simulated in Study 1 are available (1–16 sites; selected household and test numbers).
How it is handled. Unit costs are entered by the user; the study assumes none.
Protocols, outputs and AI use
- Protocols. Each study followed a written protocol, specified in advance, not pre-registered, which fixed the hypotheses, decision rules, seeds and sensitivity analyses before the outcome analyses. Departures are listed with reasons in each paper's supplementary information.
- Research outputs in preparation (working titles): Study 1, “Pit-latrine measurements are the most valuable next step for Africa's sanitation methane”; Study 2, “Small-scale gold mining imposes hidden costs on downstream drinking water”; Study 3, “On-site sanitation, not pumping, sets the carbon footprint of water services in Ghana”. Links will be added on publication.
- Use of AI. An AI assistant (Anthropic's Claude) helped write analysis code, screen and extract literature, draft text and build this application, under the direction of the research team, who are responsible for the content. Numbers in the application are generated directly from the analysis outputs.
- Version. AfriWEM v1.1.0-provisional, built 2026-12-05. See the change log.