Modeling and simulation of a nonhomogeneous poisson process having cyclic behavior