check_applicability_fuel_switching.RdProjects that switch to lower-carbon fuels must document that the project fuel mix has a lower emission factor than the baseline mix.
check_applicability_fuel_switching(
baseline_data,
project_data,
fuel_col = "baseline_fuel_quantity",
emission_factor_col = "baseline_emission_factor_tco2_per_gj",
project_fuel_col = "project_fuel_quantity",
project_emission_factor_col = "project_emission_factor_tco2_per_gj"
)Tibble containing baseline fuel quantities and emission factors.
Tibble containing project fuel quantities and emission factors.
Baseline column storing fuel quantities.
Baseline column storing emission factors (tCO2e per unit energy).
Project column storing fuel quantities.
Project column storing emission factors.
Logical scalar indicating whether project emission factors are lower.
baseline <- tibble::tibble(baseline_fuel_quantity = c(800, 400),
baseline_emission_factor_tco2_per_gj = c(0.094, 0.098))
project <- tibble::tibble(project_fuel_quantity = c(700, 200),
project_emission_factor_tco2_per_gj = c(0.082, 0.082))
check_applicability_fuel_switching(baseline, project)
#> Error: Baseline data must contain thermal energy and emission factor columns.