alkalinity: Calculates solution alkalinity

View source: R/alkalinity.R

alkalinityR Documentation

Calculates solution alkalinity

Description

‘alkalinity()' Uses the calculate_closed_system_alkalinity function from Sebastian Kopf’s microbialkitchen R package to calculate media alkalinity

Usage

alkalinity(
  pH,
  nDIC,
  VolumeSolution,
  VolumeHeadspace,
  temperature,
  K.CO2HCO3,
  K.HCO3CO3
)

Arguments

pH

pH of the system.

nDIC

Moles of dissolved inorganic carbon

VolumeSolution

Volume of liquid in the closed system, in liters.

VolumeHeadspace

Volume of gaseous head space in the closed system, in liters.

temperature

Temperature of the system, in Kelvin.

K.CO2HCO3

Equilibrium constant for the dissociation of CO2(aq) to HCO3-(aq).

K.HCO3CO3

Equilibrium constant for the dissociation of HCO3- (aq) to CO3– (aq).

Value

alkalinity of the solution, in millimolar.


hoehler-labgroup/methanogenlab documentation built on April 25, 2022, 11:42 a.m.