Learn R Programming

seacarb (version 2.4.8)

Pcorrect: Pressure correction of equilibrium constants

Description

Computes the pressure correction of the equilibrium constants

Usage

Pcorrect(Kvalue, Ktype, T=25, S=35, P=0, pHscale="T")

Arguments

Kvalue
Value of the constant at P=0 (hydrostatic pressure in bar, surface = 0)
Ktype
Name of the constant,
  • K1 First dissociation constant of carbonic acid (mol/kg)
  • K2 Second dissociation constant of carbonic acid (mol/kg)
  • Kb Dissociation constant of boric acid (mol/kg)
  • Kw Ion product of water (mol2/kg2)<
T
Temperature in degrees Celsius, default is 25oC
S
Salinity, default is 35
P
Hydrostatic pressure in bar (surface = 0), default is 0
pHscale
pHscale of the constant given in Kvalue

Value

  • The equilibrium constant given in argument but after pressure correction

encoding

latin1

Details

The pressure correction is applied on the seawater scale on K1, K2, K1p, K2p, K3p, Kb, Khs, Kn, Ksi and Kw. Hence the Kvalue is first converted on the seawater scale if needed. After pressure correction, the constant is converted back to the initial pH scale. The pressure correction is applied on the free scale on Ks and Kf. There is no issue of the pH scale for Kspa and Kspc

References

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

See Also

Pcoeffs

Examples

Run this code
k10 <- K1(T=25, P=0, S=35)
Pcorrect(Kvalue=k10, Ktype="K1", P=300, T=25, S=35, pHscale="T")

Run the code above in your browser using DataLab