Summarises biomass combined heat and power monitoring data into period-level totals following the ACM0006 calculation sequence.

aggregate_monitoring_periods(monitoring_data)

Arguments

monitoring_data

Data frame or tibble containing monitoring observations with at least the following columns: period, heat_output_tj, electricity_output_mwh, baseline_heat_ef, baseline_electricity_ef, auxiliary_fossil_tj, auxiliary_fossil_ef, electricity_import_mwh, import_emission_factor, biomass_transport_tkm, transport_emission_factor, and leakage_fraction.

Value

Tibble with period-level totals and emissions outcomes.

Examples

data <- simulate_acm0006_dataset(3, seed = 21)
aggregate_monitoring_periods(data)
#> Error: `useful_energy_col` must be present in `thermal_data`.