Skip to contents

defines processes for events that can be scheduled in the future

Usage

attach_event_listeners(
  variables,
  events,
  parameters,
  shift = 1L,
  shift_exposure = 1L
)

Arguments

variables

list of variables in the model

events

a list of events in the model

parameters

the model parameters

shift

schedule future events after minimum number of time step delay

shift_exposure

schedule exposure event after minimum number of time step delay