This is a replacement for individual::simulation_loop for models where not all values in variables need to be updated, and also adds an optional progress bar

simulation_loop_safir(
  variables = list(),
  events = list(),
  processes = list(),
  timesteps,
  variables_dont_update,
  progress = FALSE
)

Arguments

variables

a list of Variables

events

a list of Events

processes

a list of processes to execute on each timestep

timesteps

the number of timesteps to simulate

variables_dont_update

character vector of variables that won't be updated

progress

dispaly a progress bar?