Reusable 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)

Arguments

volume_m3

Methane volume in cubic metres.

methane_density

Density of methane in tonnes per cubic metre.

cod_in_mg_l

Influent COD concentration in mg/L.

cod_out_mg_l

Effluent COD concentration in mg/L.

flow_m3

Daily wastewater flow in cubic metres.

cod_removed_kg

COD removed in kilograms per day.

methane_conversion_factor

Fraction of degradable COD converted to methane.

methane_fraction

Fraction of methane in biogas.

gwp_ch4

Global warming potential for methane.

methane_recovered_m3

Volume of methane recovered in cubic metres.

combustion_efficiency

Fraction of recovered methane combusted.

electricity_consumed_mwh

Grid electricity consumption in MWh.

grid_emission_factor

Grid emission factor in tCO2e/MWh.

additional_leakage

Additional leakage emissions in tonnes CO2e.

baseline

Baseline emissions in tonnes CO2e.

project

Project emissions in tonnes CO2e.

leakage

Leakage emissions in tonnes CO2e.

Value

Numeric vectors representing the requested quantity.

Examples

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