For those who are interested in the actual implementation of these models check out simmer in R, SimPy in Python or SimJulia in Julia. Simmer was just released recently and has excellent examples/tutorials [0] for an introduction.
[0] http://r-simmer.org/articles/