I am modelling a production system. The problem appears while doing to separate seizing after a split. Here an image of the production flow:
- Agent 1 enters the Split. No seizing has been done yet.
- A copy of the Agent 1 is being created. We'll call it Agent 2.
- Agent 1 gets seized to a resource out of the resource pool.
- Agent 2 gets seized to a different resource out of a different resource pool.
- Both Agents are being processed.
- Both agents get combined and should continue as Agent 1 (If necessary, a new Agent could be created as well)
The problem appears at step number 6. This is the message as soon as the simulation crashes:
Exception during discrete event execution:
root.combine:
Agent being disposed possesses 1 unreleased resource units
Pool(s): root.Printer_Pool...
If I position "Seize_Printer" block after the combine, but keep the Seize_Batch_into_BU, the model works fine. I strongly suppose, that the the problems lies in the combine block at that it uses the Agent 1 to unite the two spited duplicates and can not process both sized Resources of the two Resource pools.