4.7 Article

SolveSAPHE-r2 (v2.0.1): revisiting and extending the Solver Suite for Alkalinity-PH Equations for usage with CO2, HCO3- or CO32- input data

期刊

GEOSCIENTIFIC MODEL DEVELOPMENT
卷 14, 期 7, 页码 4225-4240

出版社

COPERNICUS GESELLSCHAFT MBH
DOI: 10.5194/gmd-14-4225-2021

关键词

-

资金

  1. Belgian Fund for Scientific Research - F.R.S.-FNRS (project SERENATA) [CDR J.0123.19]

向作者/读者索取更多资源

The successful and efficient approach of the Solver Suite for Alkalinity-PH Equations has been adapted to work with Alk(T)-CO2, Alk(T)-HCO3-, and Alk(T)-CO32-. The properties of the three modified alkalinity-pH equations have been explored, showing that Alk(T)-CO2 and Alk(T)-HCO3- have one positive root, while Alk(T)-CO32- pairs may have zero, one, or two solutions. The numerical solution for the modified equations is more demanding due to strong gradients and non-monotonic behavior.
The successful and efficient approach at the basis of the Solver Suite for Alkalinity-PH Equations (SolveSAPHE) (Munhoven, 2013), which determines the carbonate system speciation by calculating pH from total alkalinity (Alk(T)) and dissolved inorganic carbon (C-T), and which converges for any physically sensible pair of such data, has been adapted and further developed to work with Alk(T)-CO2, Alk(T)-HCO3-, and Alk(T)-CO32-. The mathematical properties of the three modified alkalinity-pH equations are explored. It is shown that the Alk(T)-CO2, and Alk(T)-HCO3- problems have one and only one positive root for any physically sensible pair of data (i.e. such that [CO2] > 0 and [HCO3-] > 0). The space of Alk(T)-CO32- pairs is partitioned into regions where there is either no solution, one solution or where there are two. The numerical solution of the modified alkalinity-pH equations is far more demanding than that for the original Alk(T)-C-T pair as they exhibit strong gradients and are not always monotonous. The two main algorithms used in SolveSAPHE v1 have been revised in depth to reliably process the three additional data input pairs. The Alk(T)-CO2 pair is numerically the most challenging. With the Newton-Raphson-based solver, it takes about 5 times as long to solve as the companion Alk(T)-C-T pair; the Alk(T-)CO(3)(2-) pair requires on average about 4 times as much time as the Alk(T)-C-T pair. All in all, the secant-based solver offers the best performance. It outperforms the Newton-Raphsonbased one by up to a factor of 4 in terms of average numbers of iterations and execution time and yet reaches equation residuals that are up to 7 orders of magnitude lower. Just like the pH solvers from the v1 series, SolveSAPHE-r2 includes automatic root bracketing and efficient initialisation schemes for the iterative solvers. For Alk(T)-CO32- data pairs, it also determines the number of roots and calculates nonoverlapping bracketing intervals. An open-source reference implementation of the new algorithms in Fortran 90 is made publicly available for usage under the GNU Lesser General Public Licence version 3 (LGPLv3) or later.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.7
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据