首页 > 解决方案 > 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.

exit_enter

storagetodock

标签: anylogic

解决方案


您可以轻松地将任何 Enter 块与任何 Exit 块连接起来。

假设两者在同一个代理中,只需myEnterBlock.take(agent)在 Exit 块的“On Exit”代码块中写入即可。

如果它们位于模型的不同部分,请调整代码以导航到输入块(即main.myEnterBlock.take(agent)。

查看几个示例模型并阅读帮助中的这些模块以了解更多信息。


推荐阅读