CO2SYS is a family of software programs that calculate chemical equilibria for aquatic inorganic carbon species and parameters. Their core function is to use any two of the four central inorganic carbon system parameters (pH, alkalinity, dissolved inorganic carbon, and partial pressure of carbon dioxide) to calculate various chemical properties of the system. These programs are widely used by oceanographers and limnologists to understand and predict chemical equilibria in natural waters.[1]

CO2SYS
Original author(s)Ernie Lewis and Doug Wallace
Initial release1998
Written inQBasic, MATLAB, Python, Microsoft Excel
Available inEnglish
Websitehttps://cdiac.ess-dive.lbl.gov/ftp/co2sys/

https://pyco2sys.readthedocs.io/en/latest/

https://ecology.wa.gov/Research-Data/Data-resources/Models-spreadsheets/Modeling-the-environment/Models-tools-for-TMDLs

History

edit

Chemical equilibria in marine and freshwater systems were calculated according to various conventions for most of the 20th century, which led to discrepancies among laboratories' calculations and limited scientific reproducibility.[2] CO2SYS was first published by Ernie Lewis and Doug Wallace in 1998 as a DOS-interface program written in QBasic.[1] Subsequent developments have included several MATLAB implementations,[1][3] two Microsoft Excel templates,[1][4][5] a Python package "PyCO2SYS",[6] and an R package inspired by CO2SYS, "seacarb".[1][7] Development of the various CO2SYS programs continues as of 2021 with the addition of more chemical equilibrium parameters and compatibility with a wider range of environments, e.g. anoxic waters.[8]

Chemical Overview

edit

The aquatic inorganic carbon system is composed of the various ionic, dissolved, solid, and/or gaseous forms of carbon dioxide in water. These species include dissolved carbon dioxide, carbonic acid, bicarbonate anion, carbonate anion, calcium carbonate, magnesium carbonate, and others. The relative amounts of each species in a body of water depends on physical variables including temperature and salinity, as well as chemical variables like pH and gas partial pressure. Variables like alkalinity and dissolved (or total) inorganic carbon further define a mass and charge balance that constrains the total state of the system.[9][10]

Given any two of the four central inorganic carbon system parameters (pH, alkalinity, dissolved inorganic carbon, partial pressure of carbon dioxide) the remainder may be derived by solving a system of equations that adhere to the principles of chemical thermodynamics.[10]

References

edit
  1. ^ a b c d e Orr, J. C.; Epitalon, J.-M.; Gattuso, J.-P. (2015-03-09). "Comparison of ten packages that compute ocean carbonate chemistry" (PDF). Biogeosciences. 12 (5): 1483–1510. Bibcode:2015BGeo...12.1483O. doi:10.5194/bg-12-1483-2015. ISSN 1726-4189.
  2. ^ Lewis and Wallace (1998). "Program Developed for CO2 System Calculations". ORNL/CDIAC-105. Archived from the original on 2021-01-11.
  3. ^ Van Heuven, S.; Pierrot, D.; Rae, J.W.B.; Lewis, E.; Wallace, D.W.R. (2011), MATLAB Program Developed for CO2 System Calculations. ORNL/CDIAC-105b., Oak Ridge National Laboratory Environmental Sciences Division, Carbon Dioxide Information Analysis Center (CDIAC), doi:10.3334/cdiac/otg.co2sys_matlab_v1.1, retrieved 2021-01-09
  4. ^ Pierrot, D., Lewis, E., and Wallace, D. W. R.: MS Excel Program Developed for CO2 System Calculations, Tech. rep., Carbon Dioxide Inf. Anal. Cent., Oak Ridge Natl. Lab., US DOE, Oak Ridge, Tenn., 2006.
  5. ^ Pelletier, G., Lewis, E., and Wallace, D.: CO2SY S.XLS: A calcu- lator for the CO2 system in seawater for Microsoft Excel/VBA, Wash. State Dept. of Ecology/Brookhaven Nat. Lab., Olympia, WA/Upton, NY, USA, 2007.
  6. ^ Humphreys, Matthew P.; Sandborn, Daniel; Gregor, Luke; Pierrot, Denis; van Heuven, Steven M. A. C.; Lewis, Ernie R.; Wallace, Douglas W. R. (2021-05-13), "PyCO2SYS: marine carbonate system calculations in Python", Zenodo, Bibcode:2021zndo...4757055H, doi:10.5281/zenodo.4757055, retrieved 2021-06-14
  7. ^ Gattuso, J.-P., Epitalon, J.-M. and Lavigne, H. : seacarb: seawa- ter carbonate chemistry with R. R package version 3.0.6, The Comprehensive R Archive Network, http://CRAN.R-project.org/ package=seacarb, 2015.
  8. ^ Xu, Yuan-Yuan; Pierrot, Denis; Cai, Wei-Jun (2017). "Ocean carbonate system computation for anoxic waters using an updated CO2SYS program". Marine Chemistry. 195: 90–93. Bibcode:2017MarCh.195...90X. doi:10.1016/j.marchem.2017.07.002.
  9. ^ Zeebe, Richard E. (15 October 2001). CO2 in seawater: equilibrium, kinetics, isotopes. Wolf-Gladrow, Dieter A. Amsterdam. ISBN 978-0-08-052922-6. OCLC 246683387.{{cite book}}: CS1 maint: location missing publisher (link)
  10. ^ a b Stumm, Werner. (2012). Aquatic Chemistry : Chemical Equilibria and Rates in Natural Waters. Morgan, James J. (3rd ed.). Hoboken: Wiley. ISBN 978-1-118-59148-2. OCLC 830169758.