Package: SolveSAPHE 2.1.0

Jean-Marie Epitalon

SolveSAPHE: Solver Suite for Alkalinity-PH Equations

Universal and robust algorithm for solving the total alkalinity-pH equation presented in G. Munhoven (2013) <doi:10.5194/gmd-6-1367-2013> and G. Munhoven (2021) <doi:10.5194/gmd-2020-447>. The total alkalinity-pH equation relates total alkalinity and pH for a given set of acid-base concentrations in a given water sample, among which carbonic acid. This package is particularly useful in marine chemistry involving dissolved inorganic carbon. Original package in Fortran can be found at <doi:10.5281/zenodo.4328965>.

Authors:Jean-Marie Epitalon [aut, cre, cph], Jean-Pierre Gattuso [cph], Guy Munhoven [aut]

SolveSAPHE_2.1.0.tar.gz
SolveSAPHE_2.1.0.tar.gz(r-4.5-noble)SolveSAPHE_2.1.0.tar.gz(r-4.4-noble)
SolveSAPHE_2.1.0.tgz(r-4.4-emscripten)SolveSAPHE_2.1.0.tgz(r-4.3-emscripten)
SolveSAPHE.pdf |SolveSAPHE.html
SolveSAPHE/json (API)
NEWS

# Install 'SolveSAPHE' in R:
install.packages('SolveSAPHE', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

20 exports 1.58 score 0 dependencies 6 dependents 2 scripts 583 downloads

Last updated 3 years agofrom:7a53d95c40. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 28 2024
R-4.5-linuxNOTEAug 28 2024

Exports:ACVT_HSWS_O_HFREEACVT_HTOT_O_HFREEAK_AMMO_1_YAMI95AK_BORA_DICK90AK_CARB_0_WEIS74AK_CARB_1_LUEK00AK_CARB_1_MILL95AK_CARB_1_ROYE93AK_CARB_2_LUEK00AK_CARB_2_MILL95AK_CARB_2_ROYE93AK_H2S_1_MILL95AK_HF_PEFR87AK_HSO4_DICK90AK_PHOS_1_MILL95AK_PHOS_2_MILL95AK_PHOS_3_MILL95AK_SILI_1_MILL95AK_W_MILL95solve_pH_from_AT

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Conversion ratio H_SWS/H_free from free pH-scale to SWS scaleACVT_HSWS_O_HFREE
Conversion ratio H_Tot/H_free from free pH-scale to Total scaleACVT_HTOT_O_HFREE
Dissociation constant of ammonium in sea-water [mol/kg-SW]AK_AMMO_1_YAMI95
Boric acid dissociation constant KB in mol/kg-SWAK_BORA_DICK90
Henry's constant K0 in (mol/kg-SW)/atmosphereAK_CARB_0_WEIS74
First dissociation constant of carbonic acid in mol/kg-SW from Luecker et al.AK_CARB_1_LUEK00
First dissociation constant of carbonic acid in mol/kg-SW from Millero et al. (1995)AK_CARB_1_MILL95
First dissociation constant of carbonic acid in mol/kg-SW, from Roy et al.AK_CARB_1_ROYE93
Second dissociation constant of carbonic acid in mol/kg-SW from Luecker et al.AK_CARB_2_LUEK00
Second dissociation constant of carbonic acid in mol/kg-SW from Millero et al. (1995)AK_CARB_2_MILL95
Second dissociation constant of carbonic acid in mol/kg-SW from Roy et al.AK_CARB_2_ROYE93
Dissociation constant of hydrogen sulfide in sea-waterAK_H2S_1_MILL95
Dissociation constant of hydrogen fluoride in sea-water [mol/kg-SW]AK_HF_PEFR87
Dissociation constant of hydrogen sulfate (bisulfate) in sea-waterAK_HSO4_DICK90
First dissociation constant of phosphoric acid (H3PO4) in seawaterAK_PHOS_1_MILL95
Second dissociation constant of phosphoric acid (H3PO4) in seawaterAK_PHOS_2_MILL95
Third dissociation constant of phosphoric acid (H3PO4) in seawaterAK_PHOS_3_MILL95
First dissociation constant of sillicic acid (H4SiO4) in seawaterAK_SILI_1_MILL95
Water dissociation constant Kw in (mol/kg-SW)^2AK_W_MILL95
Solver for the total alkalinity-pH equationssolve_pH_from_AT