Learn R Programming

seacarb (version 3.3.3)

Kn: Dissociation constant of ammonium (mol/kg)

Description

Dissociation constant of ammonium on the total scale (mol/kg)

Usage

Kn(S=35, T=25, P=0, pHscale="T", warn="y")

Value

Kn

Dissociation constant of ammonium (mol/kg)

Arguments

S

Salinity, default is 35

T

Temperature in degrees Celsius, default is 25oC

P

Hydrostatic pressure in bar (surface = 0), default is 0

pHscale

choice of pH scale: "T" for using the total scale, "F" for using the free scale and "SWS" for using the seawater scale, default is total scale

warn

"y" to show warnings when T or S go beyond the valid range for Kn; "n" to supress warnings. The default is "y".

Author

Karline Soetaert K.Soetaert@nioo.knaw.nl and Heloise Lavigne

Details

This formulation is only valid for specific ranges of temperature and salinity:

  • S ranging between 0 and 45 and T ranging between 0 and 45oC.

The pressure correction is applied on the seawater scale. Hence, values are first transformed from the total scale to the seawater scale, the pressure correction applied as described by Millero (1995), and the value is transformed back to the required scale (T, F or SWS).

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.

References

Millero F. J., 1995 Thermodynamics of the carbon dioxide system in the oceans. Geochimica Cosmochimica Acta 59: 661-677.

Examples

Run this code
  Kn(S=35,T=25,P=0, pHscale="T")

Run the code above in your browser using DataLab