K_W {AquaEnv}R Documentation

K_W

Description

PUBLIC function: calculates the ion product of H2O

Usage

K_W(S, t, p=0, SumH2SO4=NULL, SumHF=NULL)

Arguments

S salinity in practical salinity units (i.e. no unit)
t temperature in degrees centigrade
p gauge pressure (total pressure minus atmospheric pressure) in bars
SumH2SO4 total sulfate concentration in mol/kg-solution (calculated from S if not supplied)
SumHF total fluoride concentration in mol/kg-solution (calculated from S if not supplied)

Value

the ion product of H2O in (mol/kg-solution)2 on the free proton pH scale

Author(s)

Andreas F. Hofmann (a.hofmann@nioo.knaw.nl)

References

Millero1995 (SWS pH version), DOE1994 (cites Millero1995), Zeebe2001

Examples

K_W(35, 15)
K_W(35, 15, 10)
K_W(S=35, t=15, p=10, SumH2SO4=0.03)
plot(K_W(35, 1:25), xlab="temperature / degC")

[Package AquaEnv version 0.7 Index]