SolveSAPHE-r2 (Solver Suite for Alkalinity-PH Equations - Release 2)
Description
SolveSAPHE-r2 (Solver Suite for Alkalinity-PH Equations - Release 2) 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. Carbonate alkalinity can be expressed by specifying the total concentration of dissolved inorganic carbon (CT) or either concentration of CO2, HCO3− or CO32−. The package provides two different iterative solvers for the alkalinity-pH equation, designed to assure convergence with any physically meaningful chemical composition, and in a completely autonomous way. The AlkT & CO32− pair is completely diagnosed and if there are two roots, both are calculated.
The present version 2.0.1 differs from version 2.0 in the following details:
- test case SW4 was renamed to BW4 and a new test case ABW5 (for anoxic brackish water) was added;
- in
driver_at_carbonate.F90
, SW5 was renamed to SW31, to emphasize that it is a variant of SW3; - a pre-compiler directive (
SOLVESAPHE_V1
) was added todriver_at_carbonate.F90
to allow to use it with the version series as well; - the user manual was updated to reflect these changes.
Notes
Files
Files
(222.5 kB)
Name | Size | Download all |
---|---|---|
md5:8961087a0b91884a347860b8b57b7909
|
222.5 kB | Download |