Software
MAgPIE - An Open Source land-use modeling framework
Zenodo recordPublication databaseDOI 10.5281/zenodo.22097240
Source code
github.com/magpiemodel/magpie- Stars
- 138
- Forks
- 270
- Releases
- 44
- Last activity
- 2026-10-08
GitHub statistics as of 2026-10-11.
Usage on Zenodo
View on Zenodo- Downloads
- 2,164
- Views
- 12,497
Unique downloads and views across all versions, as counted by Zenodo on 11 October 2026. This version: 30 downloads, 148 views.
- Authors
- Dietrich, Jan Philipp Bodirsky, Benjamin Leon Weindl, Isabelle Humpenöder, Florian Stevanović, Miodrag Kreidenweis, Ulrich Wang, Xiaoxi Karstens, Kristine Mishra, Abhijeet Beier, Felicitas Molina Bacca, Edna J. von Jeetze, Patrick José Windisch, Michael G. Crawford, Michael Leip, Debbora Klein, David Singh, Vartika Ambrósio, Geanderson Eduardo Araujo, Ewerton Biewald, Anne Sauer, Pascal Köberle, Alexandre Steinhauser, Jan Hötten, David Schröter, Georg Rein, Patrick Lotze-Campen, Hermann Popp, Alexander
- Research Domain
- RD3 - Transformation Pathways RD2 - Climate Resilience
- Working Group
- Land-Use Management Land Use and Resilience
- Research Topic
- Land use Food & Agriculture
- Region
- Global
- Lifecycle
- maintained
- Further keywords
- modeling nlp partial equilibrium
- License
- agpl-3.0-or-later
- Files
- 1 (2.6 MB)
- Registered in PubDB as
- DOI 10.5281/zenodo.1418752 (earlier version)
Description
[4.14.1] - 2026-08-25
changed
- .Rprofile add r-universe repo, use envvars if present
- 14_yields pasture yield correction added to dynRegPastrTau_apr26 realization to match managementcalib_aug19
- CI test-code.yaml: use ubuntu-latest and checkout@v7
- Dockerfile now based on ubuntu 26.04, R 4.6, gams 54.1
- inputdata updated input data to rev4.132, repairing a FAO item-name mapping mismatch in the preprocessing (present since rev4.121): factor requirements in
f38_fac_req_fao.csvforothers,cottn_pro,groundnut,cassav_sp,puls_proandoilpalmreturn to pre-rev4.121 levels; addedf14_yld_past_switch.csv - main.gms
reslimreduced from 1000000 to 900 seconds, so a solver stuck inside one iteration is interrupted and retried instead of consuming the whole job allocation - Makefile
make reset-renvresets renv - renv/activate.R updated to version 1.2.4
- scripts saveToResultsArchive saves to inbox folder if available
added
- .devcontainer/devcontainer.json A new configuration for development containers, which allow for reproducible, prepared development environments
- 14_yields/dynRegPastrTau_apr26 New realization, allows changing tau factor spillover to pastures by region and timestep.
- 22_land_conservation new options for IPLC land conservation
- 80_optimization/nlp_ipopt New realization, using IPOPT instead of CONOPT4 (and the fallback CONOPT3) as the NLP solver for the MAgPIE model.
- Dockerfile Re-added a Dockerfile, which can be used to build a local docker image as well as a GH codespace
- scenario_config_susmip.csv A set of sceanrios for the SusMIP excercise in the PRISMA project
- scripts added $RSCRIPT_SLURM_HOOK to run on slurm compute nodes via apptainer
- scripts/npi_ndc/start_npi_ndc.R Added
ndcdelayafforestation policy (PRISMA T6.4 "Asymmetric Roll-back") applyingndctargets with milestone target-years delayed by country categorization. Plus, addedAFFEXPwhich derives afforestation targets based on the share of potential forest land and speed of afforestation. - scripts/start/extra/ipopt.R Start script for solving MAgPIE with IPOPT.
removed
- scripts/projects/fsec.R Removed FSEC_nitrogenPollution (grid-level nitrogen pollution downscaling) from the FSEC run output pipeline.
fixed
- 09_drivers, 14_yields, 15_food Minor stylistic improvements to GAMS code following capitalization consistency rules in
gms::codeCheck. - 21_trade Bugfix and refinement of bilateral trade realization to avoid infeasibiliteis in SSP4 and SSP5.
- 35_natveg/14_yields Fix
youngsecdfwood production: derive its growing stock (im_growing_stock_ysf) from the uncalibrated secondary-forest carbon curve — the same curve its carbon density uses — instead of the FRA-2025-calibratedim_growing_stock(...,"secdforest"). Previously young secondary forest on other land yielded calibrated (high) wood volumes while booking uncalibrated (low) carbon, letting the optimiser evade land-CO2 caps/prices by relocating wood harvest ontoyoungsecdf. Result-changing for scenarios with land-CO2 pricing or AFOLU caps; explains the "other-land wood harvest" anomaly flagged under PR #876's Known limitations. - 59_som Carry the soil carbon stock (
pcm_carbon_stock(...,"soilc",...)) forward each timestep inpostsolve(bothcellpool_jan23andstatic_jan19), so the soil term invm_emissions_reg(q52_emis_co2_actual) is a per-timestep flux instead of a cumulative-since-initialisation change. - scripts/output/projects
FSDP_collect.R,FSDP_collect2.Randpeatland.Rselected yield variables under names magpie4 no longer emits, so their yield series were silently empty (FSDP since 2024-04-25, peatland since 2024-02-26). Updated to theProductivity|Yieldstree;magpie4dependency raised to >= 2.80.0 accordingly.