Package: simmer 4.4.7

Iñaki Ucar

simmer: Discrete-Event Simulation for R

A process-oriented and trajectory-based Discrete-Event Simulation (DES) package for R. It is designed as a generic yet powerful framework. The architecture encloses a robust and fast simulation core written in 'C++' with automatic monitoring capabilities. It provides a rich and flexible R API that revolves around the concept of trajectory, a common path in the simulation model for entities of the same type. Documentation about 'simmer' is provided by several vignettes included in this package, via the paper by Ucar, Smeets & Azcorra (2019, <doi:10.18637/jss.v090.i02>), and the paper by Ucar, Hernández, Serrano & Azcorra (2018, <doi:10.1109/MCOM.2018.1700960>); see 'citation("simmer")' for details.

Authors:Iñaki Ucar [aut, cph, cre], Bart Smeets [aut, cph]

simmer_4.4.7.tar.gz
simmer_4.4.7.zip(r-4.5)simmer_4.4.7.zip(r-4.4)simmer_4.4.7.zip(r-4.3)
simmer_4.4.7.tgz(r-4.4-x86_64)simmer_4.4.7.tgz(r-4.4-arm64)simmer_4.4.7.tgz(r-4.3-x86_64)simmer_4.4.7.tgz(r-4.3-arm64)
simmer_4.4.7.tar.gz(r-4.5-noble)simmer_4.4.7.tar.gz(r-4.4-noble)
simmer_4.4.7.tgz(r-4.4-emscripten)simmer_4.4.7.tgz(r-4.3-emscripten)
simmer.pdf |simmer.html
simmer/json (API)
NEWS

# Install 'simmer' in R:
install.packages('simmer', repos = c('https://r-simmer.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-simmer/simmer/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

discrete-eventsimulation

11.41 score 222 stars 6 packages 400 scripts 1.4k downloads 1 mentions 89 exports 3 dependencies

Last updated 2 months agofrom:8615090ef7. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 28 2024
R-4.5-win-x86_64OKOct 28 2024
R-4.5-linux-x86_64OKOct 28 2024
R-4.4-win-x86_64OKOct 28 2024
R-4.4-mac-x86_64OKOct 28 2024
R-4.4-mac-aarch64OKOct 28 2024
R-4.3-win-x86_64OKOct 28 2024
R-4.3-mac-x86_64OKOct 28 2024
R-4.3-mac-aarch64OKOct 28 2024

Exports:%>%activateadd_dataframeadd_generatoradd_globaladd_resourceatbatchbranchclonedeactivatefromfrom_toget_activity_timeget_activity_time_selectedget_attributeget_batch_sizeget_capacityget_capacity_selectedget_globalget_mon_arrivalsget_mon_attributesget_mon_resourcesget_n_activitiesget_n_generatedget_nameget_prioritizationget_queue_countget_queue_count_selectedget_queue_sizeget_queue_size_selectedget_resourcesget_seizedget_seized_selectedget_selectedget_server_countget_server_count_selectedget_sourcesget_start_timeget_trajectoryhandle_unfinishedjoinleavelog_monitormonitor_csvmonitor_delimmonitor_memnowpeekreleaserelease_allrelease_selectedrelease_selected_allrenege_abortrenege_ifrenege_inresetrollbackrunscheduleseizeseize_selectedselectsendseparateset_attributeset_capacityset_capacity_selectedset_globalset_prioritizationset_queue_sizeset_queue_size_selectedset_sourceset_trajectorysimmerstepnstop_ifsynchronizetimeouttimeout_from_attributetimeout_from_globaltotrajectorytrapuntrapwaitwhen_activatedwrap

Dependencies:codetoolsmagrittrRcpp

Introduction to simmer

Rendered fromsimmer-01-introduction.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2023-06-22
Started: 2017-05-27

simmer: Discrete-Event Simulation for R

Rendered fromsimmer-02-jss.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2024-07-04
Started: 2018-01-13

Advanced Trajectory Usage

Rendered fromsimmer-03-trajectories.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2023-06-22
Started: 2017-05-27

The Bank Tutorial: Part I

Rendered fromsimmer-04-bank-1.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2024-09-27
Started: 2017-05-27

The Bank Tutorial: Part II

Rendered fromsimmer-04-bank-2.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2024-09-27
Started: 2017-07-05

Other SimPy Examples

Rendered fromsimmer-05-simpy.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2023-06-22
Started: 2017-05-27

Queueing Systems

Rendered fromsimmer-06-queueing.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2024-09-27
Started: 2017-12-05

Continuous-Time Markov Chains

Rendered fromsimmer-07-ctmc.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2023-06-22
Started: 2017-05-27

Dining Philosophers Problem

Rendered fromsimmer-08-philosophers.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2023-06-22
Started: 2018-01-03

Design and Analysis of 5G Scenarios

Rendered fromsimmer-aa-5G.Rmdusingknitr::rmarkdownon Oct 28 2024.

Last update: 2023-06-22
Started: 2018-01-29

Readme and manuals

Help Manual

Help pageTopics
'simmer': Discrete-Event Simulation for Rsimmer-package
Activate/Deactivate Sourcesactivate deactivate
Add a Data Frameadd_dataframe
Add a Generatoradd_generator
Add a Global Attributeadd_global
Add a Resourceadd_resource
Batch/Separate Arrivalsbatch separate
Fork the Trajectory Pathbranch
Clone/Synchronize Arrivalsclone synchronize
Extract or Replace Parts of a TrajectoryExtract.trajectory [.trajectory [<-.trajectory [[.trajectory [[<-.trajectory
Convenience Functions for Generatorsat from from_to generators to when_activated
Get Resource Parametersget_activity_time get_activity_time_selected get_capacity get_capacity_selected get_queue_count get_queue_count_selected get_queue_size get_queue_size_selected get_seized get_seized_selected get_selected get_server_count get_server_count_selected
Monitoring Statisticsget_mon get_mon_arrivals get_mon_attributes get_mon_resources
Get Process Parametersget_attribute get_batch_size get_global get_name get_n_generated get_prioritization get_start_time get_trajectory
Get Sources and Resources Definedget_resources get_sources
Handle Unfinished Arrivalshandle_unfinished
Join Trajectoriesjoin
Number of Activities in a Trajectoryget_n_activities length.trajectory
Debugginglog_ stop_if
Create a Monitormonitor monitor_csv monitor_delim monitor_mem
Simulation Timenow
Peek Next Eventspeek
Renege on some Conditionleave renege renege_abort renege_if renege_in
Reset a Simulatorreset
Rollback to a Previous Activityrollback
Run a Simulationrun stepn
Generate a Scheduling Objectschedule
Seize/Release Resourcesrelease release_all release_selected release_selected_all seize seize_selected
Select Resourcesselect
Inter-arrival Communicationsend trap untrap wait
Set Attributesset_attribute set_global
Set Resource Parametersset_capacity set_capacity_selected set_queue_size set_queue_size_selected
Set Prioritization Valuesset_prioritization
Set Source Parametersset_source set_trajectory
Create a Simulatorsimmer
Delaytimeout timeout_from_attribute timeout_from_global
Create a Trajectorytrajectory
Wrap a Simulation Environmentwrap