simulate_ams_iih_inputs.RdGenerates synthetic baseline, project, and leakage datasets for AMS-II.H projects. The simulation includes fuel use, emission factors, useful output, auxiliary electricity, and leakage placeholders that match the inputs required by the workflow helpers.
simulate_ams_iih_inputs(
n_facilities = 4,
seed = NULL,
baseline_fuel_mean = 4200,
central_efficiency_gain = 0.35,
electricity_intensity = 0.045,
leakage_fraction = 0.02
)Number of industrial facilities to simulate.
Optional integer seed for reproducibility.
Mean baseline fuel use per facility (GJ).
Expected fractional reduction in specific energy consumption (0-1).
Auxiliary electricity intensity in MWh per unit of useful output (GJ).
Fraction of baseline fuel use represented as leakage emissions.
A list containing baseline_data, project_data, and leakage_data tibbles.
simulate_ams_iih_inputs(n_facilities = 2, seed = 42)
#> $baseline_data
#> # A tibble: 2 × 6
#> facility service_growth baseline_fuel_use_gj baseline_emission_factor_tco…¹
#> <chr> <dbl> <dbl> <dbl>
#> 1 facility_01 0.0437 4383. 0.0735
#> 2 facility_02 0.0244 4519. 0.0680
#> # ℹ abbreviated name: ¹baseline_emission_factor_tco2_per_gj
#> # ℹ 2 more variables: baseline_useful_output_gj <dbl>,
#> # baseline_unit_count <int>
#>
#> $project_data
#> # A tibble: 2 × 8
#> facility service_growth project_fuel_use_gj project_emission_factor_tco2_…¹
#> <chr> <dbl> <dbl> <dbl>
#> 1 facility_01 0.0437 2973. 0.0722
#> 2 facility_02 0.0244 3009. 0.0691
#> # ℹ abbreviated name: ¹project_emission_factor_tco2_per_gj
#> # ℹ 4 more variables: project_useful_output_gj <dbl>,
#> # project_auxiliary_electricity_mwh <dbl>,
#> # project_electricity_emission_factor_tco2_per_mwh <dbl>,
#> # project_unit_count <int>
#>
#> $leakage_data
#> # A tibble: 2 × 3
#> facility service_growth leakage_emissions_tco2e
#> <chr> <dbl> <dbl>
#> 1 facility_01 0.0437 6.44
#> 2 facility_02 0.0244 6.15
#>