anylogic - Process Modeling: Connect an Exit block with an Enter block
问题描述
I have a model with full pallet rack storages with different colors. So I want to transport the pallets from the storage to the pallet rack docks. Is it possible to connect the exit block of the process which fills my storages with an enter block which should transport the pallets to the pallet rack docks? If no, which opportunity I have? When I start the process "pallets from storage to dock" with a source block it doesn't work, because it can't take the pallets with my forklifts from the full storage.
解决方案
您可以轻松地将任何 Enter 块与任何 Exit 块连接起来。
假设两者在同一个代理中,只需myEnterBlock.take(agent)
在 Exit 块的“On Exit”代码块中写入即可。
如果它们位于模型的不同部分,请调整代码以导航到输入块(即main.myEnterBlock.take(agent
)。
查看几个示例模型并阅读帮助中的这些模块以了解更多信息。
推荐阅读
- python - 如何从列表的第 i 个值的总数中获取列表中第 i 个值的百分比
- mongodb - MongoDB删除查询不在数据库中执行
- jquery - 无论如何,如果我的php标签满足点击它的条件,是否可以让我的标签导航到另一个页面
- mongodb - 如何使用不同的值迭代多个 Pymongo 查询过滤器
- angular - PrimeNg:异步管道不订阅 Observable
- google-workspace - 如何跟踪不符合 DKIM 的电子邮件
- python-3.x - Python 类对象哈希到什么?
- java - Android 如何为所有活动设置全局标志
- postgresql - 在 docker 启动时应用迁移脚本
- python - 烧瓶中加载的 keras 模型总是预测同一类