runABM: runABM

View source: R/technology.R

runABMR Documentation

runABM

Description

Runs the simulation on artificial society of 924 agents. Each run is performed on an independently generated social network with random initial ICEV emissions

Usage

runABM(
  sD,
  Nrun = 1,
  simulation_end = end_year,
  resample_society = F,
  n_unused_cores = 2,
  use_parallel = T
)

Arguments

sD

scenario set-up dataframe, typically read with readxlxs(...,sheet=scenario)

Nrun

integer, number runs

simulation_end

the final year of simulation of early termination is required

resample_society

if TRUE resample society with replacement to capture additional variability

n_unused_cores

number of cores left unused in parallel/foreach. Recommended values 2 or 1.

use_parallel

if TRUE uses multiple cores. Use FALSE for diagnostic runs

Value

a three component list - simulation output, scenario setup, meta-parameters


Phalacrocorax-gaimardi/phevmicrosimr documentation built on June 8, 2022, 3:27 p.m.