simulate_ams_ic_dataset.RdGenerates a tidy dataset representing thermal energy production from renewable systems that displace fossil-fuel-based heat generation.
simulate_ams_ic_dataset(
n_facilities = 10,
n_periods = 12,
start_year = 2023,
start_month = 1,
mean_thermal_mwh = 12000,
sd_thermal_mwh = 1800,
baseline_emission_factor = 0.27,
project_emission_factor = 0.01
)Number of thermal energy facilities to simulate.
Number of monitoring periods per facility.
Calendar year for the first monitoring period.
Calendar month (1-12) for the first monitoring period.
Mean annual useful thermal energy per facility in MWhth.
Standard deviation of annual thermal energy in MWhth.
Baseline emission factor in tCO2e/MWhth.
Project emission factor in tCO2e/MWhth (default 0.01).
A tibble containing facility identifiers, monitoring period metadata, thermal energy, and emissions.
simulate_ams_ic_dataset(n_facilities = 5)
#> # A tibble: 60 × 15
#> facility_id monitoring_period year month day monitoring_date
#> <chr> <int> <dbl> <dbl> <int> <date>
#> 1 facility_1 1 2023 1 23 2023-01-23
#> 2 facility_1 2 2023 2 11 2023-02-11
#> 3 facility_1 3 2023 3 11 2023-03-11
#> 4 facility_1 4 2023 4 5 2023-04-05
#> 5 facility_1 5 2023 5 21 2023-05-21
#> 6 facility_1 6 2023 6 12 2023-06-12
#> 7 facility_1 7 2023 7 2 2023-07-02
#> 8 facility_1 8 2023 8 6 2023-08-06
#> 9 facility_1 9 2023 9 4 2023-09-04
#> 10 facility_1 10 2023 10 16 2023-10-16
#> # ℹ 50 more rows
#> # ℹ 9 more variables: monitoring_label <chr>, thermal_energy_mwh <dbl>,
#> # baseline_emission_factor <dbl>, project_emission_factor <dbl>,
#> # baseline_thermal_output_mwh <dbl>, project_thermal_output_mwh <dbl>,
#> # baseline_emissions_tco2e <dbl>, project_emissions_tco2e <dbl>,
#> # emission_reductions_tco2e <dbl>