concCO2: Calculate fraction of CO2 in a container vs. time when...

Description Usage Arguments Details Value

View source: R/gas_functions.R

Description

CO2 is displaced from a vial by introducing helium through one side of a double needle and allowing the mixture to flow out via the other side of the needle. Pressure is maintained at 1ATM as the outlet is open to air.

Usage

1
concCO2(t, V = 7000, r = 100, flow = 1, initco2 = 1)

Arguments

t

time in same units as r

V

volume of vessel in same units as r

r

rate of displacement gas flow

flow

rate of gas flow in capillary or outflow. Default of 1 returns fraction of CO2. Should be less than r.

Details

TODO: Allow specification of a starting mixture of HE and CO2.

Value

Fractional concentration of CO2 in vessel (and outflow).


blongworth/HybridGIS documentation built on Dec. 19, 2021, 10:41 a.m.