Anylogic模拟存储在容器中的材料 [英] Anylogic simulate material stored in containers

查看:146
本文介绍了Anylogic模拟存储在容器中的材料的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试模拟存储在架子上的容器中的材料,如果您卸下第一个容器,则容器会向前滑动.

示例:一个容器可以容纳10个元素,并由批处理块填充.容器移动到应停留的架子(传送带)上,直到它变空为止.组装块应从容器中取出一件,然后组装产品.如果容器是空的,则可以将其从传送带上放下.

我确实尝试将架子建模为输送机,这确实可以工作,但是如果有人有更好的主意,我很乐意听到.

我最大的问题是降落部分.从屏幕截图中可以看到,容器已完全从传送带中取出,下放块从容器中取出1个元素,并将包含9个零件的容器推入水槽.

有人对此有想法吗?

解决方案

要使用的技术无法实现您想要做的事情.

您是一个设计问题,因此回答所有细节将花费很长时间,不过,这是我将使用以下结构来做到的方式:

在拆分中,您将收到零件并创建零件的副本,该副本将进入等待块,而原件将进入批次(反之亦然). 一旦盒子到达传送带的末端,就可以释放属于传送带中盒子的partsInsideBox.您必须为此创建逻辑.然后,零件将进入partsReadyToUse,并且当该队列为空时,您还必须创建逻辑以移动输送机,以在输送机的末尾有一个新盒子,并再次释放partsInsideBox....依此类推. >

您看到带有所有零件的盒子都将沉入下沉2,但这没关系,因为您已经在汇编程序中使用了零件副本,所以一切都很好.

也许有更好的方法,但是我发现如果您愿意的话,它与动画的兼容性最好.

I'm trying to simulate materials stored in containers on a shelf where the containers slide forward if you remove the first one.

Example: A container can hold 10 elements and is filled by the batch-block. The container moves to the shelf(conveyor) where it should stay until it's empty. The assembly-block should take one piece out of the container and assemble the product. If the container is empty it can be dropped off the conveyor.

I did try to model the shelf as a conveyor, which does work ok, but if someone has a better idea i'm happy to hear it.

My biggest problem ist the dropoff part. As you see in the screenshot the container is taken out of the conveyor completely, the dropoff-block takes 1 element out of the container and pushes the container containing 9 more parts into the sink.

Does anyone have an idea for this?

解决方案

What you want to do is not possible with the technique you are using..

Yours is a design question so it would take too long to answer with all the details, nevertheless, this is how I would do it using the following structure:

In the split you will receive the parts and create a copy of the part that will go to the wait block, and the original will go to the batch (or vice-versa). Once the box arrives to the end of the conveyor, you free the partsInsideBox that belong to the box that is in the conveyor.. you have to create the logic for this. The parts will then go to partsReadyToUse and when that queue is empty you have to also create the logic to move the conveyor to have a new box at the end of the conveyor and free the partsInsideBox again.... and so on.

You see that the box with all the parts will be going to sink2, but it doesn't matter because you already used your parts copies in the assembler, so all good.

there may be better ways to do it, but i find this one having the best compatibility with animations if you want to do one

这篇关于Anylogic模拟存储在容器中的材料的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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