定义Anylogic服务块中代理商的优先级

发布于 2025-02-08 21:01:52 字数 230 浏览 1 评论 0原文

我已经在Anylogic的货运运输领域开发了一个离散事件模型。我有一个名为“卡车”的代理,我在其页面中定义了一个名为“冰箱”的参数,并使用命令< andant; andant; gt; gt;在默认值盒中,我将15%的卡车人口用于冰箱卡车。”在流程图中,卡车将使用MoveTo Block去停车,然后将通过服务块获得服务。 我想定义一个情况:与其他85%的卡车相比,用参数分开的15%卡车(冰箱)具有统治性,因此在停车场上花费的时间少得多。

I have developed a discrete-event model in the field of freight transportation in AnyLogic. I have an agent named "truck" and I defined a parameter named "refrigerator" in its page and with the command <randomTrue(0.15)> in the default value box, I devote 15 percent of the truck population to refrigerator trucks ". In the flowchart, trucks would go to parking by using MoveTo block and then will receive a service by Service block.
I want to define a situation that those 15 percent trucks (refrigerator) that separated with parameter have periority in receiving service in compare to other 85 percent trucks so that spend much less time in parking.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最偏执的依靠 2025-02-15 21:01:52
  1. 将服务队列大小设置为1(因此我们没有真正使用它)
  2. 在服务
  3. 将排队类型更改为“代理比较”之前拖动队列对象,并更喜欢用Refrigerator == true true (如下)阅读队列上的帮助以了解此和其他选项)

”在此处输入图像说明”

  1. set the Service queue size to 1 (so we do not really use it)
  2. Drag a Queue object before the service
  3. Change the queuing type to "Agent comparison" and prefer agents with refrigerator == true as below (read the help on Queue to understand this and other options)

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文