Source: https://perso.isima.fr/~lacomme/site3/doc/simulation/Use_ARENA.pdf