Aquatic biogeochemistry for PALEO framework
Author PALEOtoolkit
1 Star
Updated Last
12 Months Ago
Started In
April 2023



Aquatic biogeochemistry components for the PALEO biogeochemical model framework.

NB: work-in-progress - this repo contains an initial minimal example only to test infrastructure.

Using PALEOaqchem Reactions from other models

The PALEOaqchem Reactions are available to the PALEO framework when the registered PALEOaqchem package is loaded (without downloading the repository), ie

julia> Pkg.add("PALEOaqchem")
julia> import PALEOaqchem

PALEOaqchem.PALEOcarbchem notes

This submodule provides a carbonate chemistry equilibrium solver originally based on Matlab CO2SYS v1.1 (van Heuven et al 2011, Lewis and Wallace 1998) and refactored for speed and extensibility.

Please see for the current version of CO2SYS-MATLAB, history, and full citation information.

The license for CO2SYS-MATLAB is included as the file

Differences from CO2SYS-MATLAB

  • Refactored for speed, to allow use in numerical models.
  • Based on an older (2011) version 1.1 of CO2SYS Matlab
  • Uses CO2SYS Matlab equilibrium constants, with a reimplemented equilibrium calculation. NB: Although constants can be calculated for different pH scales, TAlk or pH calculations require constants to be on free pH scale.
  • H2S and NH3 added from Hofman etal (2010)


Lewis, E. and Wallace, D. W. R. (1998) Program Developed for CO2 System Calculations, ORNL/CDIAC-105, Carbon Dioxide Inf. Anal. Cent., Oak Ridge Natl. Lab., Oak Ridge, Tenn., 38 pp.,

van Heuven, S., D. Pierrot, J.W.B. Rae, E. Lewis, and D.W.R. Wallace (2011) MATLAB Program Developed for CO2 System Calculations. ORNL/CDIAC-105b. Carbon Dioxide Information Analysis Center, Oak Ridge National Laboratory, U.S. Department of Energy, Oak Ridge, Tennessee.

Hofmann AF etal (2010) AquaEnv : An Aquatic Acid–Base Modelling Environment in R. Aquatic Geochemistry,

Used By Packages