Non Homogenous Poisson Process in Anylogic

I am trying to simulate the Mt/M/c queueing model in Anylogic. I want the Source to generate agent by a Non Homogenous Poisson Process, which requires the arrival rate function to be like, for example, a+b*sin(t). However, I found that the source can only generate by fixed rate or rate schedule. I am wondering if… Read More Non Homogenous Poisson Process in Anylogic

Poisson fit curve over histogram plot

I ‘d like to fit my empirical data to a poisson distribution curve. I have the mean given value, say 2.3, and data (empirical). def fit_poisson(data=None,network=None,mu=2.3): sns.set_theme() fig, ax = plt.subplots(1, 1) x = np.arange(poisson.ppf(0.01, mu), poisson.ppf(0.99, mu)) sns.histplot(data, stat=’density’) plt.plot(x, poisson.pmf(x, mu)) It plots: Apparently, there’s is a range issue in y, here. Maybe… Read More Poisson fit curve over histogram plot