calculate_project_agricultural_emissions.RdImplements Equation (2) of AMS-II.F by converting monitored project fuel and electricity consumption into emissions. Inputs mirror [calculate_baseline_agricultural_emissions()] to streamline workflows. agricultural facility. in tCO2e per GJ. MWh. emission factors in tCO2e per MWh. tCO2e. Defaults to `"project_emissions_tco2e"`. grouping structure.
calculate_project_agricultural_emissions(project_data,
fuel_energy_col = "project_fuel_energy_gj",
fuel_emission_factor_col = "project_fuel_emission_factor_tco2_per_gj",
electricity_col = "project_electricity_mwh",
electricity_emission_factor_col = "project_electricity_emission_factor_tco2_per_mwh",
group_cols = NULL,
output_col = "project_emissions_tco2e")Tidy tibble describing project energy use for the
Column containing project fuel energy in GJ.
Column storing project fuel emission factors
Column containing project electricity consumption in
Column storing project electricity
Optional grouping columns for the output.
Name of the column that will contain project emissions in
A tibble containing project emissions aggregated by the requested
project <- tibble::tibble(
facility_id = c("rice_mill_1", "rice_mill_2"),
project_fuel_energy_gj = c(520, 640),
project_fuel_emission_factor_tco2_per_gj = c(0.028, 0.031),
project_electricity_mwh = c(145, 163),
project_electricity_emission_factor_tco2_per_mwh = c(0.62, 0.58)
)
calculate_project_agricultural_emissions(project, group_cols = "facility_id")
#> # A tibble: 2 × 2
#> facility_id project_emissions_tco2e
#> <chr> <dbl>
#> 1 rice_mill_1 104.
#> 2 rice_mill_2 114.