Exploring the Connection between Atmospheric Carbon Dioxide and Ocean Acidification through a Python Coding Exercise

Human-driven carbon emissions have resulted in increased levels of dissolved carbon dioxide in the Earth’s oceans. This dissolved carbon dioxide reacts with water to form carbonic acid, which impacts ocean acidity as well as the solubility of carbonate-containing compounds, with far-reaching impacts on marine ecosystems and the human communities that depend on them. Exploring these connected chemical processes offers a rich opportunity to connect chemistry to current environmental issues while illustrating how to quantitatively approach equilibrium in complex chemical systems. Generally, nonlinear algebraic methods are used to determine the equilibrium concentrations of chemical species in systems with multiple equilibrium processes. Because these methods are cumbersome to solve manually and may be unfamiliar to chemistry students, we designed an activity that introduces students to the use of Python coding for solving systems of nonlinear equations. Students wrote code to calculate pH as a function of PCO2 in a freshwater system and compared their Python calculations to experimental pH measurements made on a system of deionized water pressurized with carbon dioxide. An instructor-supplied Python notebook in Google Colaboratory enabled students to further their learning by exploring the effect of PCO2 on model marine systems in which temperature, salinity, and calcium carbonate were added as variables. To support adoption of the Python notebooks for students and instructors with differing levels of coding experience, we provide multiple stand-alone resources that teach the basic coding tools needed to solve equilibrium problems.

Authors

Institutions

Publication Details

Journal
Journal of Chemical Education
Published
2024-08-13
DOI
https://doi.org/10.1021/acs.jchemed.4c00462
Citations
4
Primary Topic
Ocean Acidification Effects and Responses
Type
article
Field-Weighted Citation Impact
1.92

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring the Connection between Atmospheric Carbon Dioxide and Ocean Acidification through a Python Coding Exercise

Kevin Cantrell, W. Paige Hall
4 citations
Journal of Chemical Education
Ocean Acidification Effects and Responses
1.92
article

Exploring the Connection between Atmospheric Carbon Dioxide and Ocean Acidification through a Python Coding Exercise

Kevin Cantrell, W. Paige Hall
article en
4 citations

Abstract

Human-driven carbon emissions have resulted in increased levels of dissolved carbon dioxide in the Earth’s oceans. This dissolved carbon dioxide reacts with water to form carbonic acid, which impacts ocean acidity as well as the solubility of carbonate-containing compounds, with far-reaching impacts on marine ecosystems and the human communities that depend on them. Exploring these connected chemical processes offers a rich opportunity to connect chemistry to current environmental issues while illustrating how to quantitatively approach equilibrium in complex chemical systems. Generally, nonlinear algebraic methods are used to determine the equilibrium concentrations of chemical species in systems with multiple equilibrium processes. Because these methods are cumbersome to solve manually and may be unfamiliar to chemistry students, we designed an activity that introduces students to the use of Python coding for solving systems of nonlinear equations. Students wrote code to calculate pH as a function of PCO2 in a freshwater system and compared their Python calculations to experimental pH measurements made on a system of deionized water pressurized with carbon dioxide. An instructor-supplied Python notebook in Google Colaboratory enabled students to further their learning by exploring the effect of PCO2 on model marine systems in which temperature, salinity, and calcium carbonate were added as variables. To support adoption of the Python notebooks for students and instructors with differing levels of coding experience, we provide multiple stand-alone resources that teach the basic coding tools needed to solve equilibrium problems.

Journal of Chemical EducationVol. 101(9)
University of Portland (US)
M.J. Murdock Charitable Trust
Life below water
Openalex Percentile: Top 16%
Ocean Acidification Effects and Responses
1.92
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Exploring the Connection between Atmospheric Carbon Dioxide and Ocean Acidification through a Python Coding Exercise — Kevin Cantrell, W. Paige Hall · Journal of Chemical Education (2024) | TGRS Research Map | TGRS