Description Usage Arguments Value
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 resources to the simulation environment. The simulation will only run when all resources defined by the function add_resource_to_activity, are also defined in the simulation environment (see ?add_resource_to_activity)
1 2 | create_resource(process_sim_model, resource = "", capacity = 1,
max_queue_size = Inf, schedule)
|
process_sim_model |
Process simulation model met simmer traj en simmer simmulation environment |
resource |
Character variable containing the name of the resource-type. |
capacity |
Number of resources present in the simulation environment. |
max_queue_size |
Can be used to identify when the queue_size of a resource is limited. Instances arriving at the queue when the queue_size is at its maximal queue size will leave the system without finishing it. |
schedule |
Can be used to define work schedules for resources, when present the capacity parameter will be ignored.Accepts schedules created by the schedule()-function of the simmer-package (see ?schedule()) |
Process simulation model met simmer traj en simmer simmulation environment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.