Repository navigation
A defaulted landfill share captures gas where its country's landfills do - #131
Draft
HughRunyan wants to merge 2 commits into
Draft
HughRunyan wants to merge 2 commits into
HughRunyan wants to merge 2 commits into
Conversation
… do; China takes its 2020 split Provisional, pending research. IPCC's default disposal splits carry no gas-capture share, so every defaulted landfill was modelled without capture. landfill_capture moves a share of a defaulted split's landfill-without-capture to landfill-with-capture: researched for the US, Canada, New Zealand and Australia, 0.5 for other high-income countries, else none. China gets a country treatment row: its 2020 urban domestic waste split. Decisions default-landfill-capture-share and china-treatment-split-2020. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
As a WasteMAP user modelling a city with no landfill data (a Custom Location, or a mapped city whose survey gave no landfill shares), I want its landfills to capture gas where that country's landfills do, so that US, EU and Japanese cities aren't modelled as if no landfill collected its gas.
1. A defaulted landfill share captures gas (
default-landfill-capture-share)IPCC 2019 Table 2.1, which supplies the default disposal splits, says how much waste a country landfills and dumps, but not how much of the landfilled waste reaches sites with gas collection. Every default branch (
defaults_2019.disposal_split_forandCity.load_andre_params) therefore setlandfill_w_captureto 0. SWEET's decisions log said as much: a Custom Location "captures nothing".The new
SWEET_python/landfill_capture.pymoves a share of a defaulted split's "landfill without capture" to "landfill with capture", which captures 60% of its methane (gas-capture-efficiency). The dumpsite share is untouched. The share is:Researched, for four countries:
Else 0.5 for a World Bank high-income country, when the caller passes
income_id, as it already does for the site-type rule (site_type_defaults.landfill_is_default). WasteMAP passes it on both paths.Else none, as before.
A city that reports its own landfill shares keeps them.
2. China takes its own 2020 split (
china-treatment-split-2020)China had no country row, so it took Eastern Asia's, which effectively landfilled 76%. It now takes its 2020 urban domestic waste figures (China Statistical Yearbook 2021): 33% landfilled, 62% incinerated, 5% composted.
city-shares-constant), and 2020 is near the 2015–2024 average.Effect on WasteMAP's cities
Measured on the production database's rows (2026-11-19), with WasteMAP's cities-stage read, SWEET
mainagainst this branch. Only cities whose landfill shares are all blank or zero, or in China, can move. 179 such cities were modelled (including the 18 big cities proposed in RMI/WasteMAP#976), and 59 moved.By country:
Custom Location moves the same way, for every country that has a researched share or is high income, and for China.
Needs before merging
city-shares-constant). With one split for 1970–2050, a recent shift from landfill to incineration can't be represented.Acceptance criteria
MODEL_DECISIONS.md(two new entries;gas-capture-efficiency's Custom Location line updated) andchangelog/2026-11.mdare updated.Definition of done
🤖 Generated with Claude Code