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,793

Version

3.6.5.9000

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Iaki Ucar

Last Published

September 28th, 2024

Functions in simmer (3.6.5.9000)

get_capacity

Get Resource Parameters
add_resource

Add a Resource
branch

Fork the Trajectory Path
clone

Clone/Synchronize Arrivals
get_mon

Monitoring Statistics
now

Simulation Time
renege_in

Renege on some Condition
batch

Batch/Separate Arrivals
activate

Activate/Deactivate Generators
reset

Reset a Simulator
at

Convenience Functions for Generators
Extract.trajectory

Extract or Replace Parts of a Trajectory
select

Select Resources
set_prioritization

Set Prioritization Values
schedule

Generate a Scheduling Object
log_

Logging
set_trajectory

Set Generator Parameters
get_n_generated

Get Process Parameters
seize

Seize/Release Resources
send

Inter-arrival Communication
join

Join Trajectories
trajectory

Create a Trajectory
set_attribute

Set Attributes
peek

Peek Next Events
rollback

Rollback a Number of Activities
leave

Leave the Trajectory
set_capacity

Set Resource Parameters
run

Run a Simulation
length.trajectory

Number of Activities in a Trajectory
simmer

simmer: Discrete-Event Simulation for R
wrap

Wrap a Simulation Environment
timeout

Delay
reexports

Objects exported from other packages
add_generator

Add a Generator