Search code examples
randomiterationgeneratorboundsanylogic

Random number generation requires too many iterations


I am running simulations in Anylogic and I'm trying to calibrate the following distribution:

Jump = normal(coef1, coef2, -1, 1);

However, I keep getting the following message as soon as I start the calibration (experimentation):

Random number generation requires too many iterations (> 10000)

I tried to replace -1 and 1 by other values and keep getting the same thing.
I also tried to change the bounds of coef1 and coef2 and put things like [0,1], but I still get the same error.

I don't get it. Any ideas?


Solution

  • According to AnyLogic's documentation, there is no version of normal which takes 4 arguments. Also note that if you specify a mean and standard deviation, the order is unusual (to probabilists/statisticians) by putting the standard deviation before the mean.