biogas: Process Biogas Data and Predict Biogas Production

High- and low-level functions for processing biogas data and predicting biogas production. Molar mass and calculated oxygen demand (COD') can be determined from a chemical formula. Measured gas volume can be corrected for water vapor and to (possibly user-defined) standard temperature and pressure. Gas quantity can be converted between volume, mass, and moles. Gas composition, cumulative production, or other variables can be interpolated to a specified time. Cumulative biogas and methane production (and rates) can be calculated using volumetric, manometric, or gravimetric methods for any number of reactors. With cumulative methane production data and data on reactor contents, biochemical methane potential (BMP) can be calculated and summarized, including subtraction of the inoculum contribution and normalization by substrate mass. Cumulative production and production rates can be summarized in several different ways (e.g., omitting normalization) using the same function. Lastly, biogas quantity and composition can be predicted from substrate composition and additional, optional data.

Version: 1.8.1
Suggests: knitr, ggplot2, testthat
Published: 2017-08-12
Author: Sasha D. Hafner [aut, cre], Charlotte Rennuit [aut], Jin Mi Triolo [ctb], Ali Heidarzadeh Vazifehkhoran [ctb]
Maintainer: Sasha D. Hafner <sasha.hafner at>
License: GPL-2
NeedsCompilation: no
Materials: NEWS ChangeLog
CRAN checks: biogas results


Reference manual: biogas.pdf
Vignettes: Getting started with the biogas package
Predicting methane and biogas production
Package source: biogas_1.8.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: biogas_1.8.1.tgz
OS X Mavericks binaries: r-oldrel: biogas_1.8.1.tgz
Old sources: biogas archive


Please use the canonical form to link to this page.