Generates tidy monitoring data for demand-side energy efficiency projects covered by AMS-II.C.

simulate_ams_iic_dataset(
  n_sites = 10,
  n_periods = 12,
  start_year = 2023,
  start_month = 1,
  mean_baseline_mwh = 1800,
  sd_baseline_mwh = 260,
  savings_fraction = 0.35,
  emission_factor_tco2e_mwh = 0.68
)

Arguments

n_sites

Number of project sites to simulate.

n_periods

Number of monitoring periods per site.

start_year

Calendar year for the first monitoring period.

start_month

Calendar month (1-12) for the first monitoring period.

mean_baseline_mwh

Mean annual baseline energy consumption per site in MWh.

sd_baseline_mwh

Standard deviation of baseline energy consumption in MWh.

savings_fraction

Expected fractional reduction in energy use from the project technology (0-1).

emission_factor_tco2e_mwh

Emission factor applied to the energy savings.

Value

A tibble with site identifiers, monitoring metadata, baseline energy, project energy, emission factors, and technology labels.

Examples

simulate_ams_iic_dataset(n_sites = 4)
#> # A tibble: 48 × 11
#>    site_id monitoring_period  year month   day monitoring_date monitoring_label
#>    <chr>               <int> <dbl> <dbl> <int> <date>          <chr>           
#>  1 site_01                 1  2023     1     2 2023-01-02      2023-01         
#>  2 site_01                 2  2023     2    17 2023-02-17      2023-02         
#>  3 site_01                 3  2023     3    20 2023-03-20      2023-03         
#>  4 site_01                 4  2023     4    24 2023-04-24      2023-04         
#>  5 site_01                 5  2023     5    22 2023-05-22      2023-05         
#>  6 site_01                 6  2023     6     1 2023-06-01      2023-06         
#>  7 site_01                 7  2023     7     6 2023-07-06      2023-07         
#>  8 site_01                 8  2023     8     2 2023-08-02      2023-08         
#>  9 site_01                 9  2023     9    19 2023-09-19      2023-09         
#> 10 site_01                10  2023    10    14 2023-10-14      2023-10         
#> # ℹ 38 more rows
#> # ℹ 4 more variables: baseline_energy_mwh <dbl>, project_energy_mwh <dbl>,
#> #   emission_factor_tco2e_mwh <dbl>, technology <chr>