Package: biogas 1.23.2

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, gravimetric, or gas density methods for any number of bottles. With cumulative methane production data and data on bottle 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. Biogas quantity and composition can be predicted from substrate composition and additional, optional data. Lastly, inoculum and substrate mass can be determined for planning BMP experiments.

Authors:Sasha D. Hafner [aut, cre], Charlotte Rennuit [aut], Camilla Justesen [aut], Nanna Lojborg [aut], Jacob Mortensen [aut], Sergi Astals [ctb], Konrad Koch [ctb], Soeren Weinrich [ctb], Jin Mi Triolo [ctb], Ali Heidarzadeh Vazifehkhoran [ctb]

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

# Install 'biogas' in R:
install.packages('biogas', repos = c('https://sashahafnerau.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
  • 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

On CRAN:

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

4.46 score 3 stars 48 scripts 365 downloads 14 exports 0 dependencies

Last updated 5 years agofrom:1e32c675c3. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:calcBgGDcalcBgMancalcBgVolcalcCODcumBginterpmass2volmolMassplanBMPpredBgstdVolsummBgvol2massvol2mol

Dependencies:

Data processing for manometric BMP measurements

Rendered fromcalcBgMan_function.Rnwusingknitr::knitron Oct 31 2024.

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

Data processing for volumetric BMP measurements

Rendered fromcalcBgVol_function.Rnwusingknitr::knitron Oct 31 2024.

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

Getting started with the biogas package

Rendered frombiogas_quick_start.Rnwusingknitr::knitron Oct 31 2024.

Last update: 2018-01-03
Started: 2015-07-29

Predicting methane and biogas production

Rendered frompredBg_function.Rnwusingknitr::knitron Oct 31 2024.

Last update: 2018-01-03
Started: 2015-11-14

Readme and manuals

Help Manual

Help pageTopics
Calculate Biogas Production from Gas Density Data (GD-BMP)calcBgGD
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
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
Biogas Volume from Batch Reactorsvol
Biogas Volume from Batch Reactorsvol2
Calculate Mass of Biogasvol2mass
Calculate Moles of a Gasvol2mol