l2mol {marelac}R Documentation

liter to mol conversion for a gas

Description

Converts from liter to moles for a gas

Usage

l2mol(x=1, T=25, P=1, a=0, b=0)

Arguments

x Volume of the gas, liter
T Temperature, dg celsius
P Pressure, atmosphere
a Species-specific coefficient, dm^6*bar/mol^2
b Species-specific coefficient, dm^3/mol

Value

mol

Note

the coefficients a and b are species-specific; values of 0 in general give good estimates

Some values of a and b:
He 0.034598 0.023733
H2 0.24646 0.026665
N2 1.3661 0.038577
oxygen 1.3820 0.03186

Author(s)

Karline Soetaert <k.soetaert@nioo.knaw.nl>

See Also

mol2l the inverse function

Examples

#22.4 Liters of Oxygen = 1.00 moles of Oxygen
l2mol(x=8,a=1.382,b=0.03186,T=0)*1000
plot(x<-seq(1,8,by=0.1),l2mol(x=x,a=1.382,b=0.03186,T=0)*1000,
     xlab="ml/l",type="l",ylab="mmol/m3",main="Oxygen conversion")

[Package marelac version 1.1 Index]