Learn R Programming

seacarb (version 2.4.8)

kconv: Conversion factors to change the pH scale of dissociation constants

Description

Conversion factors from the total scale to the free and seawater scales

Usage

kconv(S=35,T=25, P=0, kf)

Arguments

S
Salinity, default is 35
T
Temperature in degrees Celsius, default is 25oC
P
Hydrostatic pressure in bar (surface = 0), default is 0
kf
"pf" for using Kf from Perez and Fraga (1987) and "dg" for using Kf from Dickson and Riley (1979 in Dickson and Goyet, 1994); if the fonction Kf was used previously, the default value is the value given for the argument kf in the fonction Kf. If the Kf fu

Value

  • The function returns a list with 3 conversion factors :
  • ktotal2SWSto convert from the total scale to seawater scale
  • ktotal2freeto convert from the total scale to the free scale
  • kfree2SWSto convert from the free scale to the seawater scale

encoding

latin1

Details

It is critical to consider that each formulation is valid in specific ranges of temperature and salinity:

  • Perez and Fraga (1987): S ranging between 10 and 40 and T ranging between 9 and 33oC.
  • Dickson and Riley (1979 in Dickson and Goyet, 1994): S ranging between 0 and 45 and T ranging between 0 and 45oC.

Note that kconv is used in many functions (i.e. K1, K2, K1P, K2P, K3P, Kw, Ksi, etc...) without user controls it. To force a particular formulation for Kf, which will be then used in kconv, it is recommended to start the session by indicating your preferred formulation using the folloawing commands: Kf(kf="dg") or Kf(kf="pf").

References

Dickson A.G. and F.J. Millero, 1987 A comparison of the equilibrium constants for the dissociation of carbonic acid in seawater media. Deep-Sea Research 34:1733-1743.

See Also

pHconv.

Examples

Run this code
##To convert dissociation constants from the total scale to the free scale
## (at salinity=35, temperature=25oC and atmospheric pressure):
kconv(35,25,0)
conv <- kconv()
 c(K1_total=K1(),K1_SWS=K1()*conv$ktotal2SWS,K1_free=K1()*conv$ktotal2free)

Run the code above in your browser using DataLab