Stochastic simulation error

Hi @jailton, welcome to the Julia forum. Have a read of Please read: make it easier to help you and edit your post to have the code-blocks commented.