英文:
Anylogic: Stopping resource pool based on event
问题
我在AnyLogic中建模一个生产线,其中在某些点上,我们必须转换特定机器元素上的设备(建模为服务+资源池)。这仅在某些事件发生时发生,即产品版本的更改(A -> B)。我是否可以告诉资源池立即停止,并延迟例如20分钟?
我真的很困惑,因为似乎所有这些只能作为分布等实现,而不能作为离散事件。
英文:
I am modelling a production line in AnyLogic where at some points we have to convert the equipment at specific machine elements (modelled as service + resource pools). It happens only on certain events, i.e. change of product-version (A -> B). Is there a way I can tell a resource pool to stop "now" and have a delay of for example 20 minutes?
I am really struggling since it looks like all of this can only be implemented as distributions etc. but not as a discrete event.
答案1
得分: 1
是的。可以使用您的“ResourcePool”元素(在“维护、故障…”选项卡下)的属性,或者使用新的“Downtime”块。
两者都在帮助和示例模型中有很好的描述,可以帮助您入门。
此外,了解关于“Priority”系统,以便更重要的任务可以让资源做出优先决策,如果需要的话。
英文:
Yes. Either use the properties of your "ResourcePool" element (under tab "Maintenance, failures...") or the new "Downtime" block.
Both have a good description in the help and example models to get you started.
Also, learn about the "Priority" system for more important tasks so resource make priority decisions, if needed.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论