Skip to contents

Returns plausibly-shaped parse_dynamic_fire_logs() output without invoking the real simulator. The output varies with par_vec so DEoptim sees a non-trivial loss surface (a few of the calibrated parameters bias the mock's fire count and size distribution; this is illustrative, not biophysical).

Usage

sim_mock(
  par_vec,
  par_names = NULL,
  paths = NULL,
  sim_years = 10L,
  base_seed = 1L,
  ...
)

Arguments

par_vec

Numeric. Named candidate parameter vector.

par_names

Character. Names in canonical order (calibration_par_names()).

paths

Named list. Currently unused; accepted for sim_landis() signature parity.

sim_years

Integer. Number of simulated years.

base_seed

Integer. RNG seed for deterministic mock output.

...

Ignored. Lets callers pass pool, pool_idx, method, etc.

Value

A list matching the shape of parse_dynamic_fire_logs() output.

Details

Use this in unit tests of calibrate_dynamic_fire() when Docker is not available; do NOT use for actual calibration.