{"id":104,"name":"biogas","description":"Tools for biogas research in R: process biogas data and predict biogas production.","url":"https://github.com/sashahafner/biogas","last_synced_at":"2026-05-27T15:01:20.743Z","repository":{"id":96492900,"uuid":"131808750","full_name":"sashahafner/biogas","owner":"sashahafner","description":"Tools for biogas research in R: process biogas data and predict biogas production","archived":false,"fork":false,"pushed_at":"2026-03-17T14:46:19.000Z","size":1379,"stargazers_count":14,"open_issues_count":39,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-09T06:02:52.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sashahafner.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-02T06:37:21.000Z","updated_at":"2026-03-17T14:46:25.000Z","dependencies_parsed_at":"2024-03-20T06:00:35.208Z","dependency_job_id":"b2ee07c0-a22e-44da-ba3c-d5615c55cdf2","html_url":"https://github.com/sashahafner/biogas","commit_stats":{"total_commits":309,"total_committers":4,"mean_commits":77.25,"dds":"0.49190938511326865","last_synced_commit":"b3cc327de2ec750dc2a89da83fb44a63721b27b5"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sashahafner/biogas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sashahafner","download_url":"https://codeload.github.com/sashahafner/biogas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33134470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"sashahafner","name":"Sasha Hafner","uuid":"35272876","kind":"user","description":"","email":"","website":"https://au.dk/sasha.hafner@bce.au.dk","location":null,"twitter":null,"company":"@AU-BCE-EE ","icon_url":"https://avatars.githubusercontent.com/u/35272876?v=4","repositories_count":25,"last_synced_at":"2024-06-11T15:58:17.905Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/sashahafner","funding_links":[],"total_stars":31,"followers":17,"following":17,"created_at":"2022-11-13T00:17:03.500Z","updated_at":"2024-06-11T15:58:19.405Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sashahafner","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sashahafner/repositories"},"packages":[{"id":436651,"name":"biogas","ecosystem":"cran","description":"Process Biogas Data and Predict Biogas Production","homepage":"https://github.com/sashahafner/biogas/","licenses":"GPL-2","normalized_licenses":["GPL-2.0"],"repository_url":"https://github.com/sashahafner/biogas","keywords_array":[],"namespace":null,"versions_count":19,"first_release_published_at":"2015-03-06T00:44:00.000Z","latest_release_published_at":"2025-04-05T00:00:00.000Z","latest_release_number":"1.64.0","last_synced_at":"2026-05-25T15:44:32.312Z","created_at":"2022-04-06T23:29:23.531Z","updated_at":"2026-05-25T16:26:14.642Z","registry_url":"https://cran.r-project.org/package=biogas","install_command":null,"documentation_url":"http://cran.r-project.org/web/packages/biogas/biogas.pdf","metadata":{},"repo_metadata":{"id":96492900,"uuid":"131808750","full_name":"sashahafner/biogas","owner":"sashahafner","description":"Tools for biogas research in R: process biogas data and predict biogas production","archived":false,"fork":false,"pushed_at":"2026-03-17T14:46:19.000Z","size":1379,"stargazers_count":14,"open_issues_count":39,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-09T06:02:52.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sashahafner.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-02T06:37:21.000Z","updated_at":"2026-03-17T14:46:25.000Z","dependencies_parsed_at":"2024-03-20T06:00:35.208Z","dependency_job_id":"b2ee07c0-a22e-44da-ba3c-d5615c55cdf2","html_url":"https://github.com/sashahafner/biogas","commit_stats":{"total_commits":309,"total_committers":4,"mean_commits":77.25,"dds":"0.49190938511326865","last_synced_commit":"b3cc327de2ec750dc2a89da83fb44a63721b27b5"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sashahafner/biogas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sashahafner","download_url":"https://codeload.github.com/sashahafner/biogas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33134470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"sashahafner","name":"Sasha Hafner","uuid":"35272876","kind":"user","description":"","email":"","website":"https://au.dk/sasha.hafner@bce.au.dk","location":null,"twitter":null,"company":"@AU-BCE-EE ","icon_url":"https://avatars.githubusercontent.com/u/35272876?v=4","repositories_count":25,"last_synced_at":"2024-06-11T15:58:17.905Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/sashahafner","funding_links":[],"total_stars":31,"followers":17,"following":17,"created_at":"2022-11-13T00:17:03.500Z","updated_at":"2024-06-11T15:58:19.405Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sashahafner","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sashahafner/repositories"},"tags":[{"name":"v1.64.0","sha":"05cf7815a67d472e2a483ec7ab517935e8222668","kind":"commit","published_at":"2025-04-05T10:08:19.000Z","download_url":"https://codeload.github.com/sashahafner/biogas/tar.gz/v1.64.0","html_url":"https://github.com/sashahafner/biogas/releases/tag/v1.64.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sashahafner/biogas@v1.64.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/tags/v1.64.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/tags/v1.64.0/manifests"},{"name":"v1.60.1","sha":"016e0819b10160db04dee88fdbcc0f65dd71f62f","kind":"commit","published_at":"2024-12-04T14:53:53.000Z","download_url":"https://codeload.github.com/sashahafner/biogas/tar.gz/v1.60.1","html_url":"https://github.com/sashahafner/biogas/releases/tag/v1.60.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sashahafner/biogas@v1.60.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/tags/v1.60.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/tags/v1.60.1/manifests"},{"name":"v1.40","sha":"78287d12d39490861469473111b90e18325080a2","kind":"commit","published_at":"2022-08-26T18:44:14.000Z","download_url":"https://codeload.github.com/sashahafner/biogas/tar.gz/v1.40","html_url":"https://github.com/sashahafner/biogas/releases/tag/v1.40","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sashahafner/biogas@v1.40","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/tags/v1.40","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/tags/v1.40/manifests"}]},"repo_metadata_updated_at":"2026-05-25T16:26:14.613Z","dependent_packages_count":0,"downloads":321,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":32.84951024042743,"dependent_repos_count":23.9812959251837,"dependent_packages_count":28.750835003340015,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":28.527213722983713},"purl":"pkg:cran/biogas","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cran/biogas","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cran/biogas","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cran/biogas/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-03-17T04:01:03.930Z","issues_count":69,"pull_requests_count":1,"avg_time_to_close_issue":15249302.413793104,"avg_time_to_close_pull_request":21677.0,"issues_closed_count":29,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":4,"avg_comments_per_issue":0.8985507246376812,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":3,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":7866110.0,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.6666666666666666,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/issues","maintainers":[{"login":"sashahafner","count":65,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sashahafner"},{"login":"NannaLojborg","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/NannaLojborg"},{"login":"alex-bagnoud","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/alex-bagnoud"}],"active_maintainers":[{"login":"sashahafner","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sashahafner"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/biogas/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/biogas/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/biogas/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/biogas/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/biogas/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/biogas/codemeta","maintainers":[{"uuid":"sasha.hafner@bce.au.dk","login":null,"name":"Sasha D. Hafner","email":"sasha.hafner@bce.au.dk","url":null,"packages_count":3,"html_url":null,"role":null,"created_at":"2024-12-05T08:34:44.498Z","updated_at":"2024-12-05T08:34:44.498Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers/sasha.hafner@bce.au.dk/packages"}],"registry":{"name":"cran.r-project.org","url":"https://cran.r-project.org","ecosystem":"cran","default":true,"packages_count":28476,"maintainers_count":15806,"namespaces_count":0,"keywords_count":0,"github":"r-project-org","metadata":{"icon_url":"https://cran.r-project.org/CRANlogo.png"},"icon_url":"https://cran.r-project.org/CRANlogo.png","created_at":"2022-04-06T16:32:25.637Z","updated_at":"2026-04-27T18:20:16.286Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/namespaces"}}],"commits":{"id":1253942,"full_name":"sashahafner/biogas","default_branch":"master","total_commits":373,"total_committers":3,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":124.33333333333333,"dds":0.4235924932975871,"past_year_total_commits":26,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":26.0,"past_year_dds":0.0,"last_synced_at":"2026-05-25T14:02:14.222Z","last_synced_commit":"62f38db5ff7440204fb3945e2fbc1579f7b28dbc","created_at":"2023-03-27T10:48:49.794Z","updated_at":"2026-05-25T14:02:14.210Z","committers":[{"name":"Sasha D. Hafner","email":"sasha.hafner@gmail.com","login":"sashahafner","count":215},{"name":"Nanna Løjborg","email":"nannalojborg@hotmail.com","login":"NannaLojborg","count":157},{"name":"Jonas Ohlsson","email":"jonas@vansinne.se","login":"jonasoh","count":1}],"past_year_committers":[{"name":"Sasha D. Hafner","email":"sasha@hafnerconsulting.com","login":"sashahafner","count":26}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-05-27T00:00:12.503Z","repositories_count":6242677,"commits_count":883036445,"contributors_count":34933839,"owners_count":1158016,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"sashahafner/biogas","html_url":"https://github.com/sashahafner/biogas","last_synced_at":"2026-05-17T10:02:40.109Z","status":"error","issues_count":69,"pull_requests_count":1,"avg_time_to_close_issue":15249302.413793104,"avg_time_to_close_pull_request":21677.0,"issues_closed_count":29,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":4,"avg_comments_per_issue":0.8985507246376812,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":3,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":7866110.0,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.6666666666666666,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-09T10:40:46.582Z","updated_at":"2026-05-17T10:02:40.109Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/sashahafner%2Fbiogas/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"OWNER":65,"COLLABORATOR":3,"NONE":1},"pull_request_author_associations_count":{"NONE":1},"issue_authors":{"sashahafner":65,"NannaLojborg":2,"jonasoh":1,"alex-bagnoud":1},"pull_request_authors":{"jonasoh":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-05-23T00:00:30.079Z","repositories_count":14674770,"issues_count":34113802,"pull_requests_count":111629080,"authors_count":11271000,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"OWNER":1},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"sashahafner":1},"past_year_pull_request_authors":{},"maintainers":[{"login":"sashahafner","count":65,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sashahafner"},{"login":"NannaLojborg","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/NannaLojborg"},{"login":"alex-bagnoud","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/alex-bagnoud"}],"active_maintainers":[{"login":"sashahafner","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sashahafner"}]},"events":{"total":{"ReleaseEvent":2,"IssuesEvent":18,"IssueCommentEvent":19,"PushEvent":32,"CreateEvent":2},"last_year":{"PushEvent":3}},"keywords":[],"dependencies":[{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2023-03-05T04:45:20.775Z","updated_at":"2023-03-05T04:45:20.775Z","repository_link":"https://github.com/sashahafner/biogas/blob/master/DESCRIPTION","dependencies":[{"id":8005948357,"package_name":"knitr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":8005948358,"package_name":"ggplot2","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":8005948359,"package_name":"testthat","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]}],"score":10.846556525442889,"created_at":"2023-09-11T11:54:33.804Z","updated_at":"2026-05-27T15:01:20.750Z","avatar_url":"https://github.com/sashahafner.png","language":"R","category":"Renewable Energy","sub_category":"Bioenergy","monthly_downloads":321,"total_dependent_repos":1,"total_dependent_packages":0,"readme":"# Overview\nThe biogas package is an R package for biogas research. \nIt provides tools for processing biogas data, predicting biogas production, making conversions, and planning experiments. \nFor example, the `calcBgVol()` function can be used for calculating biochemical methane potential from original measurements. \nThe `calcCOD()` function can calculate the chemical oxygen demand of a compound based on a chemical formula.\nAnd the `planBMP()` function can suggest substrate or inoculum quantities for a biochemical methane potential (BMP) experiment based on multiple constraints.\n\n# An example\nMuch of the biogas package is dedicated to processing of laboratory measurements, but those functions are difficult to demonstrate in a short example.\nSo, an alternative is the `predBg()` microbial stoichiometry function.\nWith it, the theoretical maximum BMP of, say, cellulose, could be calculated with\n\n```\n\u003e predBg(\"C6H10O5\")\n[1] 413.7274\n```\n\nand we could get a lot more information, including an estimate of biogas composition as affected by pH, for a 5:1 mixture of waste paper and waste oil with \n\n```\n\u003e predBg(mcomp = c(C6H10O5 = 5/6, C54H100O7 = 1/6), mass = 1,\nfd = 0.8, fs = 0.1, conc.sub = 50, pH = c(6.5, 7, 8.5),\ntemp = 35, value = \"all\")\n                      form mass mol.mass      moles      COD  fs  fe  fd\n1 C1.52618H2.61516O1.00000    1  36.9655 0.02705225 1.454303 0.1 0.9 0.8\n2 C1.52618H2.61516O1.00000    1  36.9655 0.02705225 1.454303 0.1 0.9 0.8\n3 C1.52618H2.61516O1.00000    1  36.9655 0.02705225 1.454303 0.1 0.9 0.8\n  conc.sub temp  pH      hydro      fCH4      xCH4     vCH4      vCO2      vBg\n1       50   35 6.5 0.09279292 0.5566161 0.5689900 365.8395 275.91411 641.7536\n2       50   35 7.0 0.09279292 0.5566161 0.5864017 365.8395 256.90636 622.7459\n3       50   35 8.5 0.09279292 0.5566161 0.8921576 365.8395  44.02904 409.8686\n       mCH4      mCO2     mCO2Bg   mCO2.sol       cTIC      m.bio      N.req\n1 0.2624617 0.5735654 0.54543300 0.02813242 0.03196140 0.08225028 0.01018521\n2 0.2624617 0.5735654 0.50785807 0.06570735 0.07465048 0.08225028 0.01018521\n3 0.2624617 0.5735654 0.08703757 0.48652785 0.55274693 0.08225028 0.01018521\n```\n\nSee the vignettes and help files for more details.\n\n# Getting started\nThe biogas package is available from CRAN, and so can be installed directly in R with:\n\n```\ninstall.packages(\"biogas\")\n```\n\nTo see available vignettes, use\n\n```\nvignette(package = 'biogas')\n```\n\nand then, e.g., \n\n```\nvignette('calcBgVol_function')\n```\n\nor \n\n```\nvignette('predBg_function')\n```\n\nAlternatively, download the vignettes from the [CRAN page](https://cran.r-project.org/package=biogas).\n\n# More information\n* Open-access paper describing the package: \u003chttps://doi.org/10.1016/j.softx.2018.06.005\u003e\n* Web application interface to the package (OBA): \u003chttps://biotransformers.shinyapps.io/oba1/\u003e\n* YouTube playlist for OBA (shows some of what the biogas package can do): \u003chttps://www.youtube.com/playlist?list=PLt5lRUaaL8JMKDyuRIrKkuloRQk6YmYhn\u003e\n* Mailing list: sasha.hafner at bce.au.dk\n\n","funding_links":[],"readme_doi_urls":["https://doi.org/10.1016/j.softx.2018.06.005"],"works":{"https://doi.org/10.1016/j.softx.2018.06.005":{"id":"https://openalex.org/W2884595409","doi":"https://doi.org/10.1016/j.softx.2018.06.005","title":"Software for biogas research: Tools for measurement and prediction of methane production","display_name":"Software for biogas research: Tools for measurement and prediction of methane production","publication_year":2018,"publication_date":"2018-01-01","ids":{"openalex":"https://openalex.org/W2884595409","doi":"https://doi.org/10.1016/j.softx.2018.06.005","mag":"2884595409"},"language":"en","primary_location":{"is_oa":true,"landing_page_url":"https://doi.org/10.1016/j.softx.2018.06.005","pdf_url":null,"source":{"id":"https://openalex.org/S2506067282","display_name":"SoftwareX","issn_l":"2352-7110","issn":["2352-7110"],"is_oa":true,"is_in_doaj":true,"host_organization":"https://openalex.org/P4310320990","host_organization_name":"Elsevier BV","host_organization_lineage":["https://openalex.org/P4310320990"],"host_organization_lineage_names":["Elsevier BV"],"type":"journal"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},"type":"article","type_crossref":"journal-article","open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://doi.org/10.1016/j.softx.2018.06.005","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5027744193","display_name":"Sasha D. Hafner","orcid":"https://orcid.org/0000-0003-0955-0327"},"institutions":[{"id":"https://openalex.org/I204337017","display_name":"Aarhus University","ror":"https://ror.org/01aj84f44","country_code":"DK","type":"education","lineage":["https://openalex.org/I204337017"]}],"countries":["DK"],"is_corresponding":true,"raw_author_name":"Sasha D. Hafner","raw_affiliation_string":"Department of Engineering, Aarhus University, Finlandsgade 12, 8200 Aarhus N, Denmark","raw_affiliation_strings":["Department of Engineering, Aarhus University, Finlandsgade 12, 8200 Aarhus N, Denmark"]},{"author_position":"middle","author":{"id":"https://openalex.org/A5073193762","display_name":"Konrad Koch","orcid":"https://orcid.org/0000-0001-5425-0169"},"institutions":[{"id":"https://openalex.org/I62916508","display_name":"Technical University of Munich","ror":"https://ror.org/02kkvpp62","country_code":"DE","type":"education","lineage":["https://openalex.org/I62916508"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Konrad Koch","raw_affiliation_string":"Chair of Urban Water Systems Engineering, Technical University of Munich, Am Coulombwall 3, 85748 Garching, Germany","raw_affiliation_strings":["Chair of Urban Water Systems Engineering, Technical University of Munich, Am Coulombwall 3, 85748 Garching, Germany"]},{"author_position":"middle","author":{"id":"https://openalex.org/A5032533714","display_name":"Hélène Carrere","orcid":"https://orcid.org/0000-0001-5415-9664"},"institutions":[{"id":"https://openalex.org/I4210112285","display_name":"Laboratoire de Biotechnologie de l'Environnement","ror":"https://ror.org/022m8c549","country_code":"FR","type":"facility","lineage":["https://openalex.org/I4210088668","https://openalex.org/I4210112285"]},{"id":"https://openalex.org/I19894307","display_name":"University of Montpellier","ror":"https://ror.org/051escj72","country_code":"FR","type":"education","lineage":["https://openalex.org/I19894307","https://openalex.org/I2802056588"]}],"countries":["FR"],"is_corresponding":false,"raw_author_name":"Hélène Carrere","raw_affiliation_string":"LBE, University of Montpellier, INRA, 11100 Narbonne, France","raw_affiliation_strings":["LBE, University of Montpellier, INRA, 11100 Narbonne, France"]},{"author_position":"middle","author":{"id":"https://openalex.org/A5063298075","display_name":"Sergi Astals","orcid":"https://orcid.org/0000-0003-4749-0919"},"institutions":[{"id":"https://openalex.org/I165143802","display_name":"University of Queensland","ror":"https://ror.org/00rqy9422","country_code":"AU","type":"education","lineage":["https://openalex.org/I165143802"]}],"countries":["AU"],"is_corresponding":false,"raw_author_name":"Sergi Astals","raw_affiliation_string":"Advanced Water Management Centre, The University of Queensland, Brisbane, QLD 4072, Australia","raw_affiliation_strings":["Advanced Water Management Centre, The University of Queensland, Brisbane, QLD 4072, Australia"]},{"author_position":"middle","author":{"id":"https://openalex.org/A5001451315","display_name":"Sören Weinrich","orcid":"https://orcid.org/0000-0002-5789-6923"},"institutions":[{"id":"https://openalex.org/I4210089877","display_name":"Deutsches Biomasseforschungszentrum","ror":"https://ror.org/008qpg558","country_code":"DE","type":"nonprofit","lineage":["https://openalex.org/I4210089877"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Sören Weinrich","raw_affiliation_string":"Biochemical Conversion Department, DBFZ Deutsches Biomasseforschungszentrum gemeinnützige GmbH, Torgauer Str. 116, 04347 Leipzig, Germany","raw_affiliation_strings":["Biochemical Conversion Department, DBFZ Deutsches Biomasseforschungszentrum gemeinnützige GmbH, Torgauer Str. 116, 04347 Leipzig, Germany"]},{"author_position":"last","author":{"id":"https://openalex.org/A5058956770","display_name":"Charlotte Rennuit","orcid":null},"institutions":[{"id":"https://openalex.org/I177969490","display_name":"University of Southern Denmark","ror":"https://ror.org/03yrrjy16","country_code":"DK","type":"education","lineage":["https://openalex.org/I177969490"]}],"countries":["DK"],"is_corresponding":false,"raw_author_name":"Charlotte Rennuit","raw_affiliation_string":"University of Southern Denmark, Campusvej 55, 5230 Odense M, Denmark","raw_affiliation_strings":["University of Southern Denmark, Campusvej 55, 5230 Odense M, Denmark"]}],"countries_distinct_count":4,"institutions_distinct_count":7,"corresponding_author_ids":["https://openalex.org/A5027744193"],"corresponding_institution_ids":["https://openalex.org/I204337017"],"apc_list":{"value":500,"currency":"USD","value_usd":500,"provenance":"doaj"},"apc_paid":{"value":500,"currency":"USD","value_usd":500,"provenance":"doaj"},"has_fulltext":true,"fulltext_origin":"pdf","cited_by_count":42,"cited_by_percentile_year":{"min":97,"max":98},"biblio":{"volume":"7","issue":null,"first_page":"205","last_page":"210"},"is_retracted":false,"is_paratext":false,"keywords":[{"keyword":"biogas research","score":0.6963},{"keyword":"methane","score":0.5502}],"concepts":[{"id":"https://openalex.org/C75212476","wikidata":"https://www.wikidata.org/wiki/Q171076","display_name":"Biogas","level":2,"score":0.9002106},{"id":"https://openalex.org/C516920438","wikidata":"https://www.wikidata.org/wiki/Q37129","display_name":"Methane","level":2,"score":0.7353288},{"id":"https://openalex.org/C2994333036","wikidata":"https://www.wikidata.org/wiki/Q171076","display_name":"Biogas production","level":4,"score":0.7120017},{"id":"https://openalex.org/C499616599","wikidata":"https://www.wikidata.org/wiki/Q555853","display_name":"Anaerobic digestion","level":3,"score":0.69686365},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.5882178},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.58710164},{"id":"https://openalex.org/C21880701","wikidata":"https://www.wikidata.org/wiki/Q2144042","display_name":"Process engineering","level":1,"score":0.573962},{"id":"https://openalex.org/C2778348673","wikidata":"https://www.wikidata.org/wiki/Q739302","display_name":"Production (economics)","level":2,"score":0.44341096},{"id":"https://openalex.org/C39432304","wikidata":"https://www.wikidata.org/wiki/Q188847","display_name":"Environmental science","level":0,"score":0.42383525},{"id":"https://openalex.org/C3020440742","wikidata":"https://www.wikidata.org/wiki/Q1176855","display_name":"Software package","level":3,"score":0.4190565},{"id":"https://openalex.org/C183696295","wikidata":"https://www.wikidata.org/wiki/Q2487696","display_name":"Biochemical engineering","level":1,"score":0.34089756},{"id":"https://openalex.org/C548081761","wikidata":"https://www.wikidata.org/wiki/Q180388","display_name":"Waste management","level":1,"score":0.22733346},{"id":"https://openalex.org/C127413603","wikidata":"https://www.wikidata.org/wiki/Q11023","display_name":"Engineering","level":0,"score":0.159825},{"id":"https://openalex.org/C111919701","wikidata":"https://www.wikidata.org/wiki/Q9135","display_name":"Operating system","level":1,"score":0.1185303},{"id":"https://openalex.org/C185592680","wikidata":"https://www.wikidata.org/wiki/Q2329","display_name":"Chemistry","level":0,"score":0.104717284},{"id":"https://openalex.org/C178790620","wikidata":"https://www.wikidata.org/wiki/Q11351","display_name":"Organic chemistry","level":1,"score":0.0},{"id":"https://openalex.org/C162324750","wikidata":"https://www.wikidata.org/wiki/Q8134","display_name":"Economics","level":0,"score":0.0},{"id":"https://openalex.org/C139719470","wikidata":"https://www.wikidata.org/wiki/Q39680","display_name":"Macroeconomics","level":1,"score":0.0}],"mesh":[],"locations_count":6,"locations":[{"is_oa":true,"landing_page_url":"https://doi.org/10.1016/j.softx.2018.06.005","pdf_url":null,"source":{"id":"https://openalex.org/S2506067282","display_name":"SoftwareX","issn_l":"2352-7110","issn":["2352-7110"],"is_oa":true,"is_in_doaj":true,"host_organization":"https://openalex.org/P4310320990","host_organization_name":"Elsevier BV","host_organization_lineage":["https://openalex.org/P4310320990"],"host_organization_lineage_names":["Elsevier BV"],"type":"journal"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},{"is_oa":false,"landing_page_url":"https://hal.inrae.fr/hal-02622100","pdf_url":null,"source":{"id":"https://openalex.org/S4306402512","display_name":"HAL (Le Centre pour la Communication Scientifique Directe)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"host_organization":"https://openalex.org/I1294671590","host_organization_name":"French National Centre for Scientific Research","host_organization_lineage":["https://openalex.org/I1294671590"],"host_organization_lineage_names":["French National Centre for Scientific Research"],"type":"repository"},"license":null,"version":null,"is_accepted":false,"is_published":false},{"is_oa":true,"landing_page_url":"https://portal.findresearcher.sdu.dk/da/publications/c43381c8-090b-4382-a76e-52935b1384ab","pdf_url":"https://findresearcher.sdu.dk/ws/files/146317959/Software_for_biogas_research.pdf","source":{"id":"https://openalex.org/S4306400424","display_name":"University of Southern Denmark Research Portal (University of Southern Denmark)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"host_organization":"https://openalex.org/I177969490","host_organization_name":"University of Southern Denmark","host_organization_lineage":["https://openalex.org/I177969490"],"host_organization_lineage_names":["University of Southern Denmark"],"type":"repository"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},{"is_oa":true,"landing_page_url":"https://hal.inrae.fr/hal-02622100/document","pdf_url":"https://hal.inrae.fr/hal-02622100/document","source":{"id":"https://openalex.org/S4306402512","display_name":"HAL (Le Centre pour la Communication Scientifique Directe)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"host_organization":"https://openalex.org/I1294671590","host_organization_name":"French National Centre for Scientific Research","host_organization_lineage":["https://openalex.org/I1294671590"],"host_organization_lineage_names":["French National Centre for Scientific Research"],"type":"repository"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},{"is_oa":true,"landing_page_url":"https://pure.au.dk/ws/files/141190474/1_s2.0_S2352711018300840_main.pdf","pdf_url":"https://pure.au.dk/ws/files/141190474/1_s2.0_S2352711018300840_main.pdf","source":{"id":"https://openalex.org/S4306400063","display_name":"Scopus (Elsevier)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"host_organization":null,"host_organization_name":null,"host_organization_lineage":[],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},{"is_oa":true,"landing_page_url":"https://hal.inrae.fr/hal-02622100/file/2018_Hafner_SoftwareX_1.pdf","pdf_url":"https://hal.inrae.fr/hal-02622100/file/2018_Hafner_SoftwareX_1.pdf","source":{"id":"https://openalex.org/S4306402512","display_name":"HAL (Le Centre pour la Communication Scientifique Directe)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"host_organization":"https://openalex.org/I1294671590","host_organization_name":"French National Centre for Scientific Research","host_organization_lineage":["https://openalex.org/I1294671590"],"host_organization_lineage_names":["French National Centre for Scientific Research"],"type":"repository"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true}],"best_oa_location":{"is_oa":true,"landing_page_url":"https://doi.org/10.1016/j.softx.2018.06.005","pdf_url":null,"source":{"id":"https://openalex.org/S2506067282","display_name":"SoftwareX","issn_l":"2352-7110","issn":["2352-7110"],"is_oa":true,"is_in_doaj":true,"host_organization":"https://openalex.org/P4310320990","host_organization_name":"Elsevier BV","host_organization_lineage":["https://openalex.org/P4310320990"],"host_organization_lineage_names":["Elsevier BV"],"type":"journal"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},"sustainable_development_goals":[{"id":"https://metadata.un.org/sdg/12","display_name":"Responsible consumption and production","score":0.34},{"id":"https://metadata.un.org/sdg/9","display_name":"Industry, innovation and infrastructure","score":0.29},{"id":"https://metadata.un.org/sdg/7","display_name":"Affordable and clean energy","score":0.15}],"grants":[],"referenced_works_count":15,"referenced_works":["https://openalex.org/W1474489807","https://openalex.org/W1989438040","https://openalex.org/W2024397118","https://openalex.org/W2047727559","https://openalex.org/W2050460899","https://openalex.org/W2056753834","https://openalex.org/W2089274821","https://openalex.org/W2103284081","https://openalex.org/W2108895820","https://openalex.org/W2124436554","https://openalex.org/W2159365597","https://openalex.org/W2304702132","https://openalex.org/W2483561765","https://openalex.org/W2732779197","https://openalex.org/W2805334823"],"related_works":["https://openalex.org/W3167351850","https://openalex.org/W3035615750","https://openalex.org/W4213101037","https://openalex.org/W2969860187","https://openalex.org/W3124339437","https://openalex.org/W2089274821","https://openalex.org/W2973055965","https://openalex.org/W2910229230","https://openalex.org/W4214912595","https://openalex.org/W2889438931"],"ngrams_url":"https://api.openalex.org/works/W2884595409/ngrams","abstract_inverted_index":{"Biogas":[0],"production":[1],"from":[2,54,67],"organic":[3],"materials":[4],"by":[5],"anaerobic":[6],"digestion":[7],"is":[8],"both":[9],"a":[10,55],"developed":[11],"technology":[12],"and":[13,73,84,95],"an":[14,24],"active":[15],"area":[16],"of":[17,57,75],"research.":[18,32],"In":[19],"this":[20,87],"contribution":[21],"we":[22],"describe":[23],"R":[25],"package":[26],"designed":[27],"to":[28,38,47,80],"help":[29],"standardize":[30],"biogas":[31,58,91],"A":[33],"web-based":[34],"application":[35],"provides":[36],"access":[37,79],"the":[39],"main":[40],"functions.":[41],"The":[42],"software":[43,88],"can":[44,64],"be":[45,65],"used":[46],"accurately":[48],"calculate":[49],"biochemical":[50],"methane":[51,62],"potential":[52,63],"(BMP)":[53],"range":[56],"measurement":[59],"types.":[60],"Additionally,":[61],"predicted":[66],"substrate":[68],"composition,":[69],"facilitating":[70],"experimental":[71],"design":[72],"interpretation":[74],"results.":[76],"By":[77],"providing":[78],"flexible,":[81],"efficient,":[82],"standardized,":[83],"transparent":[85],"algorithms,":[86],"may":[89],"make":[90],"research":[92],"more":[93],"accurate":[94],"efficient.":[96]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W2884595409","counts_by_year":[{"year":2023,"cited_by_count":3},{"year":2022,"cited_by_count":13},{"year":2021,"cited_by_count":13},{"year":2020,"cited_by_count":7},{"year":2019,"cited_by_count":4}],"updated_date":"2023-12-16T03:39:57.190718","created_date":"2018-08-03"}},"citation_counts":{"https://doi.org/10.1016/j.softx.2018.06.005":40},"total_citations":40,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/104","html_url":"https://ost.ecosyste.ms/projects/104"}