Learn R Programming

⚠️There's a newer version (4.4.7) of this package.Take me there.

simmer is a process-oriented and trajectory-based Discrete-Event Simulation (DES) package for R. Designed to be a generic framework like SimPy or SimJulia, it leverages the power of Rcpp to boost the performance and turning DES in R feasible. As a noteworthy characteristic, simmer exploits the concept of trajectory: a common path in the simulation model for entities of the same type. It is pretty flexible and simple to use, and leverages the chaining/piping workflow introduced by the magrittr package.

Extensions

PackageDescriptionStatus
simmer.plotPlotting Methods for 'simmer'
simmer.bricksHelper Methods for 'simmer' Trajectories
simmer.optimParameter Optimization Functions for 'simmer'
simmer.jsonRead / Load 'simmer' Definitions in JSON Format

Mailing list

For bugs and/or issues, create a new issue on GitHub. For other questions or comments, please subscribe to the simmer-devel mailing list. You must be a member to post messages, but anyone can read the archived discussions.

Documentation

Documentation is available at r-simmer.org/reference. To get started, please explore our vignettes online, or in R:

vignette(package = "simmer")

Installation

Install the release version from CRAN:

install.packages("simmer")

The installation from GitHub requires the remotes package.

remotes::install_github("r-simmer/simmer")

Please note that the package contains some C++ code and thus you need a development environment to build the package (e.g. Rtools for Windows).

Hexagon stickers!

     

Copy Link

Version

Install

install.packages('simmer')

Monthly Downloads

1,053

Version

3.7.0.9000

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Iaki Ucar

Last Published

September 28th, 2024

Functions in simmer (3.7.0.9000)

branch

Fork the Trajectory Path
clone

Clone/Synchronize Arrivals
add_generator

Add a Generator
get_capacity

Get Resource Parameters
batch

Batch/Separate Arrivals
add_resource

Add a Resource
renege_in

Renege on some Condition
at

Convenience Functions for Generators
log_

Logging
reset

Reset a Simulator
get_mon

Monitoring Statistics
peek

Peek Next Events
Extract.trajectory

Extract or Replace Parts of a Trajectory
now

Simulation Time
set_attribute

Set Attributes
activate

Activate/Deactivate Generators
reexports

Objects exported from other packages
send

Inter-arrival Communication
schedule

Generate a Scheduling Object
get_n_generated

Get Process Parameters
simmer-package

simmer: Discrete-Event Simulation for R
seize

Seize/Release Resources
join

Join Trajectories
rollback

Rollback a Number of Activities
select

Select Resources
timeout

Delay
leave

Leave the Trajectory
simmer

Create a Simulator
set_prioritization

Set Prioritization Values
length.trajectory

Number of Activities in a Trajectory
set_trajectory

Set Generator Parameters
wrap

Wrap a Simulation Environment
set_capacity

Set Resource Parameters
trajectory

Create a Trajectory
run

Run a Simulation