/
gas_calculations.Rd
37 lines (29 loc) · 1.4 KB
/
gas_calculations.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculations.R
\name{gas_calculations}
\alias{gas_calculations}
\alias{calculate_ideal_gas_molarity}
\alias{calculate_ideal_gas_amount}
\alias{calculate_gas_solubility}
\title{General gas calculations}
\usage{
calculate_ideal_gas_molarity(pressure, temperature)
calculate_ideal_gas_amount(pressure, temperature, volume)
calculate_gas_solubility(gas, temperature)
}
\arguments{
\item{pressure}{the pressure quantity of the gas}
\item{temperature}{temperature quantity}
\item{volume}{the volume quantity of the gas}
\item{gas}{name of the gas}
}
\description{
General gas calculations
}
\section{Functions}{
\itemize{
\item \code{calculate_ideal_gas_molarity}: calculate the gas phase equivalent concentration of an ideal gas at a specific temperature (i.e. mol of gas / L of volume). Returns a molarity quantity.
\item \code{calculate_ideal_gas_amount}: calculates the amount of an ideal gas at a specific pressure, temperature and volume. Returns an amount quantity.
\item \code{calculate_gas_solubility}: calculates Henry's law solubility constant for a gas at a specific temperature. Henry's law constants are from: Sander, R. Compilation of Henry's law constants (version 4.0) for water as solvent. Atmos Chem Phys 15, 4399–4981 (2015). https://www.atmos-chem-phys.net/15/4399/2015/. Returns a solubility quantity.
}}
\concept{calculations}