acm0010_equations.RdReusable helpers for ACM0010 methane accounting equations.
convert_methane_volume_to_mass(volume_m3, methane_density = 0.0007168)
calculate_cod_removed_acm0010(cod_in_mg_l, cod_out_mg_l, flow_m3)
calculate_baseline_emissions_acm0010(cod_removed_kg, methane_conversion_factor, methane_fraction = 0.67, gwp_ch4 = 28)
calculate_project_emissions_acm0010(methane_recovered_m3, combustion_efficiency, methane_density = 0.0007168, gwp_ch4 = 28)
calculate_leakage_emissions_acm0010(electricity_consumed_mwh, grid_emission_factor, additional_leakage = 0)
calculate_net_emission_reductions_acm0010(baseline, project, leakage)Methane volume in cubic metres.
Density of methane in tonnes per cubic metre.
Influent COD concentration in mg/L.
Effluent COD concentration in mg/L.
Daily wastewater flow in cubic metres.
COD removed in kilograms per day.
Fraction of degradable COD converted to methane.
Fraction of methane in biogas.
Global warming potential for methane.
Volume of methane recovered in cubic metres.
Fraction of recovered methane combusted.
Grid electricity consumption in MWh.
Grid emission factor in tCO2e/MWh.
Additional leakage emissions in tonnes CO2e.
Baseline emissions in tonnes CO2e.
Project emissions in tonnes CO2e.
Leakage emissions in tonnes CO2e.
Numeric vectors representing the requested quantity.
convert_methane_volume_to_mass(100)
#> [1] 0.07168
calculate_cod_removed_acm0010(4000, 800, 250)
#> [1] 800
calculate_baseline_emissions_acm0010(50, 0.8)
#> [1] 0.1876
calculate_project_emissions_acm0010(1200, 0.95)
#> [1] 1.204224
calculate_leakage_emissions_acm0010(10, 0.8, 2)
#> [1] 10
calculate_net_emission_reductions_acm0010(100, 5, 3)
#> [1] 92