SolveSAPHE (Solver Suite for Alkalinity-PH Equations)
Description
SolveSAPHE (Solver Suite for Alkalinity-PH Equations) provides a collection of Fortran 90 routines to solve the total alkalinity–pH equation, which relates total alkalinity and pH for a given set of total concentrations of the acid–base systems that contribute to total alkalinity in a given water sample.
This version is a bug fix release of the previous version, which was published as a supplement to the paper:
Guy Munhoven (2013) Mathematics of the total alkalinity-pH equation – pathway to robust and universal solution algorithms:the SolveSAPHE package v1.0.1. Geosci. Model Dev., 6, 1367–1388, 2013 (URL: https://www.geosci-model-dev.net/6/1367/2013 or doi:10.5194/gmd-6-1367-2013).
The following corrections were made:
- in mod_acbw_phsolvers.F90, a spurious "to" which prevented the module from compiling was removed;
- in the FUNCTION AK_CARB_1_ROYE93 (in mod_chemconst.f90), the erroneous parameter value -2307.1255 was corrected to -2307.1266;
- in various places, missing _wp suffixes were added;
- the total calcium concentration calculation was documented and reformulated;
- formatting was amended and comments corrected.
Notes
Files
Files
(727.9 kB)
Name | Size | Download all |
---|---|---|
md5:6b9371874ec8bfa981587b953f8e18db
|
249.7 kB | Download |
md5:46dbe7f3d60dffdfe2791d89a26d5bc1
|
239.0 kB | Download |
md5:f2a813dc1f80d46c3129f7c9ded48367
|
239.2 kB | Download |
Additional details
Related works
- Is derived from
- Journal article: 10.5194/gmd-6-1367-2013 (DOI)