掌控item流向
掌控item流向
常说控制item的流向就能就能控制仿真模型的基本运作,足以见得item流向对于仿真所具有的意义。对于item流向的控制一般有两种大的类型,第一种便是针对于item本身,第二种便是针对于运输工具。
It is often said that controlling the flow direction of the item can control the basic operation of the simulation model, which is enough to see the significance of the flow direction of the item for simulation. There are generally two major types of item flow control. The first is for the item itself, and the second is for the means of transportation.
Item本身常常又分为第一个可用、按类型发送和按顺序循环发送。
Item itself is often pided into the first available, sent by type, and sent in a loop in order.
第一个端口可用,将会在第一个连接端口容量未满的时候一直运向它,直至最大容量才会向下一个端口运输,依次向下,我就不多做介绍,是较为常用的方式。
The first port is available, and it will be shipped to it when the capacity of the first connection port is not full. It will be shipped to the next port until the maximum capacity. I will not introduce it in order, but it is more commonly used way.
按类型运输也是建模过程中比较常见的方式,首先就需要设置不同类型的实体,从标签以及颜色上尽量将他们分别出来,然后再分别送至对应的端口。我也不做过多的介绍,之前的运用已经比较多了,基本的操作如下图所示
Transport by type is also a common way in the modeling process. First, you need to set up different types of entities, separate them from the labels and colors as much as possible, and then send them to the corresponding ports. I don’t want to introduce too much. There are already more applications before. The basic operation is shown in the figure below.
那么第一个关于item类的我就着重讲解一下按顺序循环发送,有的版本软件里面有已存在的循环功能,但是它存在一定的问题,就是我们所能看见的第一个,其实在软件内部自动会认为是第零个,所以会出现所谓的多一个现象,因此我们需要寻找一定的数学关系来调协语句进行完善,比如下图所示
So the first one about the item class I will focus on cyclically sending in order. There is an existing cycle function in the Youdian version of the software, but it has certain problems. It is the first one we can see, which is actually in the software. Internally, it will automatically be considered as the zeroth, so there will be a so-called one more phenomenon, so we need to find a certain mathematical relationship to coordinate the sentence to improve it, as shown in the figure below
当然当端口数量不同的时候还需要进行规律的寻找,有的版本自带的循环就可以直接完成顺序循环,所示结果如下:
Of course, when the number of ports is different, a regular search is needed. Some versions of the built-in loop can directly complete the sequence cycle. The results are as follows:
接下来便进入运输工具类的,它分为一人搬运多个,多人搬运一个,不需要全部搬运三类,其中一人搬运多个需要满足有的搬、能够搬、能够接三个要求,也就是有足够的库存能够让运输工具一次性搬运多个,也需要设置运输工具的运输容量,以及运输目的地接收货物的容量能力三个方面的要求,那么我将会直接给出能够成功运行的模型。
Then enter the transportation category. It is pided into three types: one person to carry multiple, multiple people to carry one, and no need to carry all of them. One person to carry multiple needs to meet the three requirements of some moving, being able to move, and being able to pick up. That is, there are enough inventory to allow multiple transportation vehicles to carry multiple at one time, and it is also necessary to set the transportation capacity of the transportation vehicle and the capacity of the destination to receive the goods. Then I will directly give the successful operation. Model.
有的搬:
能够搬:
能够接:
对于多人搬一个,便会需要借助到任务分配器,因为系统默认的是第一个可用运输工具,假如没有设置的话,便会一直循环第一可用运输工具,即使设置了任务分配器,按照它自己的顺序逻辑也会出现有人空闲的情况,因此需要任务分配器进行随机分配,在实际生活中大量货物时才会相对公平高效。
For multiple people to move one, you will need to use the task distributor, because the system defaults to the first available transportation tool. If it is not set, it will always cycle the first available transportation tool. Even if the task distributor is set, follow Its own sequence logic will also appear when someone is free, so it needs the task distributor to perform random allocation, which will be relatively fair and efficient when there are a large number of goods in real life.
最后便是不需要全部运输,就是相当于有一部分不需要运输工具,而距离远的便需要运输工具,那么只需要选择条件运输设置便可以完成,只需要按照条件设置,将远的端口利用运输工具即可
Finally, all transportation is not required, which is equivalent to some parts that do not need transportation means, and transportation means are needed for long distances. Then only need to select the conditional transportation settings to complete, only need to set according to the conditions, and use the far port for transportation tools
以上就是小编今天为大家介绍的掌控item流向的相关知识,希望对您的学习有一定的帮助!
The above is the relevant knowledge of controlling item flow introduced by the editor today. I hope it will be helpful to your study!
参考资料:《从小白到大神》腾讯课堂
英文翻译:Google翻译
本文由LearningYard学苑原创,部分文字来源于网络,若有侵权,请联系删除!