A seven-box model of the carbon cycle for climate modelling

Version 2.6 (1.78 MB) by E. Cheynet
A seven-box carbon cycle model is implemented in Matlab to simulate atmospheric CO2 concentration from 1750 onwards.
78 Downloads
Updated 19 Jul 2023

A seven-box model of the carbon cycle for climate modelling

View Seven-box carbon cycle model on File Exchange Buy Me A Coffee

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

Cite As

E. Cheynet (2024). A seven-box model of the carbon cycle for climate modelling (https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.6), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.6

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.6

2.5

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.5

2.4

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.4

2.3

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.3

2.2

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.2

2.1

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.1

2.0

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v2.0

1.3.0.0

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v1.3

1.2

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v1.2

1.1

See release notes for this release on GitHub: https://github.com/ECheynet/carbonCycle7Boxes/releases/tag/v1.1

1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.