Keywords: Discrete-Event Simulation
Webpages:
https://CRAN.R-project.org/package=simmer,
http://r-simmer.org/ Discrete-Event Simulation (DES) is a powerful modelling technique that breaks down complex systems into ordered sequences of well-defined events. Its applications are broad (from process design, planification and optimisation to decision making) in a wide range of fields, such as manufacturing, logistics, healthcare and networking.
This talk presents
simmer, a package that brings DES to
R. It is designed as a generic yet powerful process-oriented framework. The architecture encloses a robust and fast simulation core written in
C++ with integrated monitoring capabilities, allowing for easy access to time series data on processes and resources. It provides a rich and flexible
R API that revolves around the concept of a trajectory, a common path in the simulation model for entities of the same type. A trajectory can be defined as a recipe-like set of activities that correspond to common functional DES blocks. These activities are exposed as intuitive verbs (e.g., seize, release and timeout) and chained using the popular pipeline notation %>%, which makes for clear and transparent DES modelling.
Over time, the
simmer package has seen significant improvements and has been at the forefront of DES for
R.