create_arrivals: Adding interarrival_times to a trajectory

Description Usage Arguments Value

Description

If the simulation_environment variable does not yet exists in the global environment. The function first creates simulation environment object of the simmer package. Afterwards, the function is adding an interarrival_time to a trajectory defined by the transform_BPMN() function (see ?transform_BPMN()).

Usage

1
create_arrivals(processsimmodel, interarrival_time)

Arguments

processsimmodel

Specify to which trajectory the interarrival_time is added.Accepts a trajectory environment created by the transform_BPMN()-function or created with the simmer-package.

interarrival_time

Accepts only functions that return numerics. If the functions returns a negative value the simulation is stopped.

Value

a process simulation model


fgailly/BPS-package documentation built on May 8, 2019, 11:44 a.m.