R: Stability constant of hydrogen sulfate (mol/kg)

Ks {seacarb} | R Documentation

## Stability constant of hydrogen sulfate (mol/kg)

### Description

Stability constant of hydrogen sulfate (mol/kg)

### Usage

    Ks(S=35, T=25, P=0, ks="d", warn="y")

### Arguments

`S` | Salinity, default is 35
`T` | Temperature in degrees Celsius, default is 25oC
`P` | Hydrostatic pressure in bar (surface = 0), default is 0
`ks` | "d" for using Ks from Dickson (1990), "k" for using Ks from Khoo et al. (1977), default is "d"
`warn` | "y" to show warnings when T or S go beyond the valid range for Ks; "n" to supress warnings. The default is "y".

### Details

The Dickson (1990) constant is recommended by Guide to Best Practices for Ocean CO2 Measurements (2007). It is, however, critical to consider that each formulation is only valid for specific ranges of temperature and salinity:

- Dickson (1990): S ranging between 5 and 45 and T ranging between 0 and 45oC.

- Khoo et al. (1977): S ranging between 20 and 45 and T ranging between 5 and 40oC.

Note that the arguments can be given as a unique number or as vectors. If the lengths of the vectors are different, the longer vector is retained and only the first value of the other vectors is used. It can therefore be critical to use vectors of the same length.

The pressure correction is applied on the free scale as described by Millero (1995), and the value transformed back to the required scale (T, F or SWS).

### Value

`Ks` | Stability constant of hydrogen sulfate (mol/kg), pHscale = free scale

### Author(s)

Heloise Lavigne, Aurelien Proye and Jean-Pierre Gattuso gattuso@obs-vlfr.fr

### References

Dickson A. G., 1990 Standard potential of the reaction: AgCI(s) + 1/2H2(g) = Ag(s) + HCI(aq), and the standard acidity constant of the ion HSO4 in synthetic sea water from 273.15 to 318.15 K. Journal of Chemical Thermodynamics 22, 113-127.

Dickson A. G., Sabine C. L. and Christian J. R., 2007 Guide to best practices for ocean CO2 measurements. PICES Special Publication 3, 1-191.

Khoo H. K., Ramette R. W., Culberson C. H. and Bates R. G., 1977 Determination of Hydrogen ion concentration in seawater from 5 to 40oC: standard potentials at salinities from 20 to 45. Analytical Chemistry 49, 29-34.

### Examples

      Ks(S=35,T=25,P=0, ks="d")

[Package seacarb version 3.1.1 Index]