Pcorrect | R Documentation |
Computes the pressure correction of the equilibrium constants
Pcorrect(Kvalue, Ktype, T=25, S=35, P=0, pHscale="T",
kconv2ScaleP0="x", kconv2Scale="x", warn="y")
Kvalue |
Value of the constant at P=0 (hydrostatic pressure in bar, surface = 0) |
Ktype |
Name of the constant,
|
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 |
kconv2ScaleP0 |
Conversion factor from the pH scale selected to the SWS (or free for Kf) scale at pressure zero. It is advised to use default value "x", in which case it is computed when required. (may slow down the computation) |
kconv2Scale |
Conversion factor from the pH scale selected to the SWS (or free for Kf) scale at the hydrostatic pressure value indicated. It is advised to use default value "x", in which case it is computed when required. (may slow down the computation) |
warn |
"y" to show warnings when T or S go beyond the valid range for constants; "n" to supress warnings. The default is "y". |
The pressure correction is applied on the seawater scale for K1, K2, K1p, K2p, K3p, Kb, Khs, Kn, Ksi, K2si and Kw. Hence the K value 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 for Kf.
There is no issue of pH scale for Ks, Kspa and Kspc.
The equilibrium constant given in argument but after pressure correction
Heloise Lavigne and Jean-Pierre Gattuso jean-pierre.gattuso@imev-mer.fr
Millero F. J., 1995 Thermodynamics of the carbon dioxide system in the oceans. Geochimica et Cosmochimica Acta 59 661-677.
Pcoeffs
k10 <- K1(T=25, P=0, S=35)
Pcorrect(Kvalue=k10, Ktype="K1", P=300, T=25, S=35, pHscale="T")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.