最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

anylogic - Pausing A Bridge Crane's Movement - Stack Overflow

programmeradmin4浏览0评论

I am simulating a system where a bridge crane picks items from a number of containers to fulfil a customer order. When a container becomes empty, it has to be restocked manually. For restocking to happen, the bridge crane must pause/stop moving for a fixed delay (even if it was in the process of transporting an item when the restocking process was triggered).

I tried to use a downtime block, but these blocks require a information for fixed repeating schedules or triggers. However, in my system the "downtime" for restocking can't be predicted because it depends only on a container becoming empty. Therefore, it can't also be described as a fixed repeating schedule or triggers.

I am looking for ideas or simple code that will help me pause the bridge crane's movement on the runway for a fixed time when a manual restocking process needs to happen.

I am simulating a system where a bridge crane picks items from a number of containers to fulfil a customer order. When a container becomes empty, it has to be restocked manually. For restocking to happen, the bridge crane must pause/stop moving for a fixed delay (even if it was in the process of transporting an item when the restocking process was triggered).

I tried to use a downtime block, but these blocks require a information for fixed repeating schedules or triggers. However, in my system the "downtime" for restocking can't be predicted because it depends only on a container becoming empty. Therefore, it can't also be described as a fixed repeating schedule or triggers.

I am looking for ideas or simple code that will help me pause the bridge crane's movement on the runway for a fixed time when a manual restocking process needs to happen.

Share Improve this question asked Mar 17 at 18:06 fgbologah3fgbologah3 134 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This can be defined by the fail and repair functions, according to the documentation for OverheadCrane

It is important to notice that you must fail an individual bridge in the crane (as stated in the documentation), so you probably need something similar to overheadCrane.getBridge(0).fail().

You can manually decide then how you will fail(stop) and repair(resume) the crane.

发布评论

评论列表(0)

  1. 暂无评论