Implements the AMS-II.G equations that translate non-renewable biomass into useful thermal energy by applying the appropriate net calorific values (NCV) for the baseline and project scenarios.

calculate_baseline_thermal_energy_iig(
  non_renewable_biomass,
  biomass_col = "baseline_non_renewable_biomass_tonnes",
  baseline_data,
  ncv_col = "baseline_net_calorific_value_mj_per_tonne",
  group_cols = NULL,
  output_col = "baseline_thermal_energy_mj"
)

calculate_project_thermal_energy_iig(
  non_renewable_biomass,
  biomass_col = "project_non_renewable_biomass_tonnes",
  project_data,
  ncv_col = "project_net_calorific_value_mj_per_tonne",
  group_cols = NULL,
  output_col = "project_thermal_energy_mj"
)

Arguments

non_renewable_biomass

Tibble returned by the corresponding non-renewable biomass helper.

biomass_col

Column storing non-renewable biomass quantities.

baseline_data

Tibble containing baseline NCV observations.

project_data

Tibble containing project NCV observations.

ncv_col

Column storing net calorific values in MJ per tonne.

group_cols

Optional character vector of grouping columns.

output_col

Name of the column storing thermal energy in MJ.

Value

A tibble containing thermal energy totals by grouping structure.

Examples

non_renewable <- tibble::tibble(
  site_id = c("A", "B"),
  baseline_non_renewable_biomass_tonnes = c(12, 15)
)
inputs <- tibble::tibble(
  site_id = c("A", "B"),
  baseline_net_calorific_value_mj_per_tonne = c(15, 14)
)
calculate_baseline_thermal_energy_iig(
  non_renewable,
  baseline_data = inputs,
  group_cols = "site_id"
)
#> # A tibble: 2 × 2
#>   site_id baseline_thermal_energy_mj
#>   <chr>                        <dbl>
#> 1 A                              180
#> 2 B                              210