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 from raw data obtained using volumetric, manometric, gravimetric, or gas density methods for any number of bottles. With cumulative methane production data and data on bottle contents, biochemical methane potential (BMP) or specific methane production (SMP) 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. Biogas quantity and composition can be predicted from substrate composition and additional, optional data. Inoculum and substrate mass can be determined for planning BMP experiments. Finally, first-order models can be fit to measurements in order to extract estimates of ultimate yield and kinetic constants.

Version: 1.61
Depends: R (≥ 3.5.0)
Suggests: minpack.lm, knitr, ggplot2, tinytest
Published: 2024-12-05
DOI: 10.32614/CRAN.package.biogas
Author: Sasha D. Hafner ORCID iD [aut, cre], Charlotte Rennuit [aut], Camilla Justesen [aut], Nanna Lojborg [aut], Jacob Mortensen [aut], Jonas Ohlsson [aut], Sergi Astals [ctb], Konrad Koch [ctb], Soeren Weinrich [ctb], Jin Mi Triolo [ctb], Ali Heidarzadeh Vazifehkhoran [ctb]
Maintainer: Sasha D. Hafner <sasha.hafner at bce.au.dk>
License: GPL-2
NeedsCompilation: no
Materials: README NEWS ChangeLog
CRAN checks: biogas results

Documentation:

Reference manual: biogas.pdf
Vignettes: Getting started with the biogas package (source, R code)
Data processing for manometric BMP measurements (source, R code)
Data processing for volumetric BMP measurements (source, R code)
Predicting methane and biogas production (source, R code)

Downloads:

Package source: biogas_1.61.tar.gz
Windows binaries: r-devel: biogas_1.61.zip, r-release: biogas_1.61.zip, r-oldrel: biogas_1.61.zip
macOS binaries: r-release (arm64): biogas_1.61.tgz, r-oldrel (arm64): biogas_1.61.tgz, r-release (x86_64): biogas_1.61.tgz, r-oldrel (x86_64): biogas_1.61.tgz
Old sources: biogas archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=biogas to link to this page.