Anylogic:如何仅对同一资源池的某些工作人员执行停机时间 [英] Anylogic: How to execute a downtime for only some workers of a same resourcePool

查看:16
本文介绍了Anylogic:如何仅对同一资源池的某些工作人员执行停机时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须为一个任务建模,在一个简化的示例中,两个工作人员对他们拥有的对象队列进行一些工作.但他们的工作班次可能有所不同,我的模型应该支持这一点.

I have to model a task in which in a simplified example two workers do some work on queue of objects they have. but their work shifts may differ and my model should support this.

有没有办法简单地做到这一点,即同一资源池的每个单元都有不同的工作时间表?

Is there any way for doing this simply that each unit of a same resource pool has different work schedule?

我尝试了一种自行开发的解决方案,其中我使用了两个单独的资源池,每个资源池的容量为一个,并将两个资源池分配给服务块.但问题是新配置的输出率比使用容量为2的单个资源池时要低.

I tried a self developed solution in which I used two separate resource pools each one has a capacity of one, and assigned both resource pools to the service block. but the problem is that output rate of the new configuration is less than when using a single resource pool of capacity two.

在如下图所示的 on 资源池系统中,两个 worker 同时在两个不同的部分工作,350 个时间单位后 5 个代理通过了服务块.

In the system with on resource pool as shown in below image, two workers are working simultaneously on two different parts and after 350 time units 5 agents has passed the service block.

在容量为 2 的资源池上使用时使用一个资源池时的模型.

When using on resource pool with capacity two model when one resource pool is used.

本系统输出

当使用容量为一的两个资源池时使用两个资源池时的模型.

When using two resource pools with capacity one model when two resource pools are used.

新系统输出

如上图所示,当使用两个资源池时,350 个时间单位后 3 个代理通过了服务块.另一个区别是同时加工的零件数量.当我们使用一个资源池时,数量是两个,当我们使用两个不同的资源池时,一次只处理一部分.

As it is shown in last image after 350 time units 3 agents has passed the service block when two resource pools are used. the other difference is number of parts which are processed simultaneously. when we use one resource pool the number is two and when we use two different resource pools only one part is processed at a time.

有谁知道为什么会发生这种情况,有没有办法解决我的主要问题或我自己开发的任何解决方案来使进程速率相等?一种在使用两个资源池时,同时处理的部分数量与之前的方式一样变为两个的方式.

Does any one knows why this happens and is there any way for my main question or any solution for my own developed way to make the rate of process equal? a way in which when two resource pools are used the number parts processed simultaneously becomes two like the previous way.

提前致谢.

推荐答案

看,在你的第二个模型中,你告诉服务你需要两种资源才能工作一个代理......你应该做的是点击"'添加列表'您忽略的按钮,并添加两个资源池作为替代,如下图所示:

see, in your second model, you are telling the service that you need BOTH resources to work ONE agent... what you should do is click on the "add list" button that you are ignoring, and add both resourcePools as alternatives as you see in the following picture:

通过这样做,不是告诉服务使用每个资源池的一个单元,而是告诉它使用资源池中的一个单元或(这是一个非常重要的或)资源池1中的一个单元,以防万一来自 resourcePool1 的资源可用

By doing this, instead of telling the service to use one unit of each resource pool, you are telling it to use either a unit from resourcePool OR (and this is a very important or) a unit from resourcePool1, in case no resource from resourcePool1 is available

这篇关于Anylogic:如何仅对同一资源池的某些工作人员执行停机时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆