New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw a warning when an arrival leaves without releasing resources #76

Enchufa2 opened this Issue Sep 30, 2016 · 1 comment


None yet
1 participant

Enchufa2 commented Sep 30, 2016

Leaving without releasing resources is an intended feature, but it may also be a source of problems and unintended behaviours if errors go unnoticed.


This comment has been minimized.


Enchufa2 commented Sep 30, 2016

Test case:


t <- create_trajectory() %>%
  seize("dummy", 1)

env <- simmer(verbose = TRUE) %>%
  add_resource("dummy") %>%
  add_generator("arrival", t, at(0)) %>%

should warn the user with something like "arrival0 is leaving without releasing dummy".

@Enchufa2 Enchufa2 closed this in e12b4c9 Oct 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment