pHDrift: Compute the pH drift in seawater after partial equilibration...

Description Usage Arguments Value Examples

View source: R/pH.R

Description

Calculate the final pH of seawater after a given time considering equilibration with a mixed gas phase considered as infinitely large (constant pCO2air).

Usage

1
pHDrift(pHini, alk, elapsed, pCO2air = 400, tau = 560)

Arguments

pHini

The initial pH in the seawater.

alk

The initial alkalinity in mmol/kg.

elapsed

Time elapsed waiting for equilibration in min.

pCO2air

CO2 partial pressure of the gas phase in microatm

tau

Cinetic constant for gas-liquid exchange of CO2 in the system.

Value

the final pH

Examples

1
2
3
pHDrift(pHini = 7.5, alk = 0.00230, elapsed = 60)
pHDrift(pHini = c(7, 8), alk = 0.00230, elapsed = c(60, 12000))
plot(1:500, pHDrift(pHini = 7, alk = 0.00230, elapsed = 1:500))

EcoNum/EN-test documentation built on May 5, 2020, 4:34 p.m.