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 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.

Install the latest version of this package by entering the following in R:
AuthorSasha D. Hafner [aut, cre], Charlotte Rennuit [aut], Jin Mi Triolo [ctb], Ali Heidarzadeh Vazifehkhoran [ctb]
Date of publication2017-02-25 14:18:31
MaintainerSasha D. Hafner <>

View on CRAN


biogas Man page
biogas-package Man page
calcCOD Man page
comp Man page
comp2 Man page
cumBg Man page
interp Man page
mass Man page
mass2vol Man page
massw Man page
molMass Man page
predBg Man page
s3compl Man page
s3compw Man page
s3lcombo Man page
s3voll Man page
s3volw Man page
setup Man page
setup2 Man page
stdVol Man page
strawComp Man page
strawMass Man page
strawPressure Man page
strawSetup Man page
summBg Man page
vol Man page
vol2 Man page
vol2mass Man page
vol2mol Man page


Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.