PCO2: Calculates CO2 pressure in the head space of the closed...

View source: R/pressure.R

PCO2R Documentation

Calculates CO2 pressure in the head space of the closed system.

Description

‘PCO2()' Uses the calculate_closed_system_pCO2 function from Sebastian Kopf’s microbialkitchen R package to calculate pressure of CO2 gas.

Usage

PCO2(
  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

CO2 pressure in the head space, in atm.


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