A seven-box model of the carbon cycle for climate modelling
A seven-box model of the carbon cycle for climate modelling
A seven-box carbon cycle model is implemented in Matlab to simulate atmospheric CO2 concentration from 1750 onwards.
Summary
The run7Box function is a simple tool to simulate the global carbon cycle. It uses a 7-box model [1] to represent different reservoirs of carbon, including the atmosphere, surface ocean, intermediate ocean, deep ocean, sediment, biosphere and soil. It incorporates emissions data from fossil fuels, land-use change and other sources, and uses this to simulate how carbon moves through the different reservoirs over time. To use the run7Box function, simply run it with the appropriate input parameters. The function will return the atmospheric carbon dioxide concentration over time. The documentation file Documentation.mlx provides detailed information on the input parameters and output of the function, as well as examples of how to use it. This is the first version of the submission and there may still be some bugs. If you have any questions, please ask!
Content
This repository contains the following files:
- Documentation.mlx: A MATLAB Live Script that provides detailed documentation for the run7Box function.
- run7Box.m: A MATLAB function that simulates the carbon cycle using a 7-box model. It takes in emissions data and other input parameters, and returns the atmospheric carbon dioxide concentration over time.
- gamma_ourWorldInData.mat: A data file containing global carbon dioxide emissions data from fossil fuels and industry. The data is sourced from https://ourworldindata.org/grapher/global-co2-emissions-fossil-land.
- delta_ourWorldInData.mat: A data file containing global carbon dioxide emissions data from land-use change. The data is sourced from https://ourworldindata.org/grapher/global-co2-emissions-fossil-land.
- climate-change.csv. Source: https://ourworldindata.org/atmospheric-concentrations
- ipcc-scenarios.csv to implement different source of anthropogenic carbon emissions. Source: https://ourworldindata.org/explorers/ipcc-scenarios
- tsi_v02r01_yearly_s1610_e2022_c20230120.nc that contains solar irradiance time series
- T_anomaly_1850.mat, which are the global temperature anomaly w.r.t. to 1951-1980
- IPCC_scnario_plot.mlx shows some of the data contained in the csv file ipcc-scenarios.csv
References
[1] Tomizuka, Akira. "Is a box model effective for understanding the carbon cycle?." American Journal of Physics 77.2 (2009): 156-163. https://mathcs.holycross.edu/~little/MONT201718/envmodbackup/1%252E3013196-1.pdf
Citar como
E. Cheynet (2024). A seven-box model of the carbon cycle for climate modelling (https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.6), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.