Example : Basic Simmer Simulation #314
swaheera
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
|
Thanks. One detail: instead of # Add initial customers to the queue
for (i in 1:initial_queue_size) {
env %>% add_generator(paste0("initial_customer_", i), customer, at(0))
}which works fine, it's easier to do this: # Add initial customers to the queue
env %>% add_generator("initial_customer_", customer, at(rep(0, initial_queue_size))) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone,
I just wanted to share this Simmer simulation I made as a reference in case anyone wanted to use this as an example.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions