Anylogic 中的概率分布
我有一个问题,在我的模拟模型中,我想创建一些代理到达数量的随机性。在我的模型中,数量为 1 的可能性为 25%,数量为 2 的可能性为 50%,数量为 3 的可能性为 25%。我想通过使用 anylogic 的 split 函数生成这些数量,而不是在我想要的 split 函数中添加一个分布,它给出基于该分布的值。
但是 Anylogic 中是否有适合这种估计的分布,或者我真的应该手动进行。我已经在考虑使用正态分布的舍入值,但我不确定这是否正确。
谢谢。
I've a question, in my simulation model I wanted to create some randomness of quantities of agents arrival. In my model the chance is 25% that the quantity is 1, 50% that quantity is 2 and 25% that the quantity is 3. I want to generate these quantities by using the split function of anylogic and than in the split function I want to add a distribution, which gives the values based on this distribution.
But is there a distribution in Anylogic, which fits to this kind of estimations or should I really do it manually. I was already thinking about using a rounded value of a normal distribution, but I'm not sure if this is correct.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用自定义分布来创建您想要的任何形状的分布(位于 Agent 调色板下)。
在您的情况下,您需要选择一种离散类型,如下所示。
然后,在分割块中,您可以将副本数指定为
You can use a custom distribution to create any shape of distribution you want (it is under the Agent palette).
In your case, you would need to pick one of type discrete as shown below.
Then, in the split block you would specify the number of copies as