Package: biogas 1.61

Sasha D. Hafner

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.

Authors:Sasha D. Hafner [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]

biogas_1.61.tar.gz
biogas_1.61.tar.gz(r-4.5-noble)biogas_1.61.tar.gz(r-4.4-noble)
biogas_1.61.tgz(r-4.4-emscripten)biogas_1.61.tgz(r-4.3-emscripten)
biogas.pdf |biogas.html
biogas/json (API)
NEWS

# Install 'biogas' in R:
install.packages('biogas', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • UQGDBiogas - Biogas Volume and Mass Loss from BMP bottles
  • UQGDSetup - BMP Bottle Setup Information
  • UQGravBiogas - Mass Loss and Biogas Composition from BMP bottles
  • UQGravSetup - BMP Bottle Setup Information
  • comp - Methane Content of Biogas
  • comp2 - Methane Content of Biogas
  • feedSetup - Setup Details for Batch Reactors
  • feedVol - Biogas Volume from Batch Reactors
  • mass - Mass Change of Batch Reactors
  • massw - Mass Change of Batch Reactors
  • s3compl - Methane Content of Biogas from Batch Reactors
  • s3compw - Methane Content of Biogas from Batch Reactors
  • s3lcombo - Biogas Volume and Methane Content from Batch Bottles
  • s3voll - Biogas Volume from Batch Bottles
  • s3volw - Biogas Volume from Batch Reactors
  • setup - Setup Details for Batch Reactors
  • setup2 - Setup Details for Some Batch Reactors
  • sludgeTwoBiogas - Headspace Pressure, Mass measurements, and Methane and Carbondioxid Content from Batch Bottles
  • sludgeTwoSetup - Setup Details for Batch Reactors
  • strawComp - Methane Content of Biogas
  • strawMass - Mass Change of Batch Reactors
  • strawPressure - Headspace Pressure in Batch Reactors
  • strawSetup - Setup Details for Batch Reactors
  • vol - Biogas Volume from Batch Reactors
  • vol2 - Biogas Volume from Batch Reactors

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

4.48 score 3 stars 50 scripts 320 downloads 16 exports 0 dependencies

Last updated 21 days agofrom:e7c89cc26e. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 05 2024
R-4.5-linuxOKDec 05 2024

Exports:calcBgGDcalcBgGravcalcBgMancalcBgVolcalcCODcumBgfitFOMinterpmass2volmolMassplanBMPpredBgstdVolsummBgvol2massvol2mol

Dependencies:

Data processing for manometric BMP measurements

Rendered fromcalcBgMan_function.Rnwusingknitr::knitron Dec 05 2024.

Last update: 2020-01-08
Started: 2020-01-08

Data processing for volumetric BMP measurements

Rendered fromcalcBgVol_function.Rnwusingknitr::knitron Dec 05 2024.

Last update: 2020-01-08
Started: 2020-01-08

Getting started with the biogas package

Rendered frombiogas_quick_start.Rnwusingknitr::knitron Dec 05 2024.

Last update: 2024-12-05
Started: 2015-07-29

Predicting methane and biogas production

Rendered frompredBg_function.Rnwusingknitr::knitron Dec 05 2024.

Last update: 2024-12-05
Started: 2015-11-14

Readme and manuals

Help Manual

Help pageTopics
Calculate Biogas Production from Gas Density Data (GD-BMP)calcBgGD
Calculate Biogas Production from Gravimetric DatacalcBgGrav
Calculate Cumulative Biogas Production from Pressure DatacalcBgMan
Calculate Cumulative Biogas Production from Volumetric DatacalcBgVol
Calculate Oxygen DemandcalcCOD
Methane Content of Biogascomp
Methane Content of Biogascomp2
Calculate Cumulative Biogas ProductioncumBg
Setup Details for Batch ReactorsfeedSetup
Biogas Volume from Batch ReactorsfeedVol
Fit a First-Order Model to Biogas or Other DatafitFOM
Interpolate Biogas Composition or Cumulative Productioninterp
Mass Change of Batch Reactorsmass
Calculate Biogas Production Gravimetricallymass2vol
Mass Change of Batch Reactorsmassw
Calculate Molar Mass of CompoundmolMass
Claculate Inoculum and Substrate Mass for BMP ExperimentsplanBMP
Predict Biogas ProductionpredBg
Methane Content of Biogas from Batch Reactorss3compl
Methane Content of Biogas from Batch Reactorss3compw
Biogas Volume and Methane Content from Batch Bottless3lcombo
Biogas Volume from Batch Bottless3voll
Biogas Volume from Batch Reactorss3volw
Setup Details for Batch Reactorssetup
Setup Details for Some Batch Reactorssetup2
Headspace Pressure, Mass measurements, and Methane and Carbondioxid Content from Batch BottlessludgeTwoBiogas
Setup Details for Batch ReactorssludgeTwoSetup
Correct Gas Volume to 'Standard' ConditionsstdVol
Methane Content of BiogasstrawComp
Mass Change of Batch ReactorsstrawMass
Headspace Pressure in Batch ReactorsstrawPressure
Setup Details for Batch ReactorsstrawSetup
Summarise and Normalise Cumulative Methane ProductionsummBg
Biogas Volume and Mass Loss from BMP bottlesUQGDBiogas
BMP Bottle Setup InformationUQGDSetup
Mass Loss and Biogas Composition from BMP bottlesUQGravBiogas
BMP Bottle Setup InformationUQGravSetup
Biogas Volume from Batch Reactorsvol
Biogas Volume from Batch Reactorsvol2
Calculate Mass of Biogasvol2mass
Calculate Moles of a Gasvol2mol