如何将多个物料项目排队入站 [英] How to queue up multiple material items into a station

查看:16
本文介绍了如何将多个物料项目排队入站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想弄清楚如何将 3 个材料项目排队,然后这些项目将进入 3 个不同的站点.假设材料项目被命名为 (1,2,3).对于第一站,它会接受1,然后是2,然后是3.对于下一站,它会接受2,然后是3,然后是1.对于最后一站,它会先接受3,然后是1,最后是2.

I am trying to figure out how to queue 3 material items which would then enter 3 different stations. Lets say the material items are named as (1,2,3). For the first station, it will accept 1 and then 2 and then 3. For the next station, it will accept 2 and then 3 and then 1. And for the final station, it will accept 3 first, and then 1 and finally 2.

因此将有一个起始传送带,其中所有三个物料项目都将随机生成,并且传送带将分支为包含站点的其他 3 个传送带.

So there will be a starting conveyor in which all three material items would be randomly generated, and the conveyor will branch out into 3 other conveyors containing the stations.

我对任何逻辑都很陌生,因此非常感谢任何帮助

I am quite new to anylogic so any help would be much appreciated

所以我想在这里完成的任务是,您可以看到三个传送带将汇聚到车站所在的最后一个传送带上.有 3 个源,其中源 1 具有 MyAgent1,源 2 具有 MyAgent2,源 3 具有 MyAgent3.在物料(MyAgent1、MyAgent2 和MyAgent3)到达最终传送带之前,我希望它根据指定的顺序进入-(MyAgent2 之后是MyAgent1,最后是MyAgent3).每个Myagent将单独进入而不是在一个组中,并且该过程将再次重复.

So what i am trying to accomplish here as you can see there are three conveyors which would converge to one final conveyor where the station is located. There are 3 sources, whereby source 1 would have MyAgent1 , source 2 have MyAgent2 and source 3 with MyAgent3. Before the material items ( MyAgent1, MyAgent2 and MyAgent3) arrives at the final conveyor, I want it to enter based on a specified order - ( MyAgent2 followed by MyAgent1 and finally MyAgent3). Each Myagent will enter individually and not in a group, and the process will repeat itself again.

我尝试使用带有 agent.priority 的队列块,认为它会根据我的偏好确定优先级,但没有效果.我很抱歉缺乏任何逻辑术语,因为我不太熟悉它,如果有任何帮助,将不胜感激,您可以询问更多详细信息.谢谢

I tried to utilize the queue block with agent.priority thinking that it will prioritize according to my preference but to no effect. Im sorry for the lack of anylogic lingo as i am not that familiar with it, if there is any help it would be much appreciated and you may ask for more details. Thank you

在此处输入图片描述

在此处输入图片描述

在此处输入图片描述

推荐答案

您似乎需要一个(或多个)自定义站,项目在其中等待并返回目的地.

It seems that you would need a custom station (or many) in which the items wait and are resorted to their destinations.

但除此之外,我认为无法通过这种级别的信息为您提供更多详细信息

But beyond saying that I don't think it is possible to give you more details with this level of information

这篇关于如何将多个物料项目排队入站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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