I'm new at stackoverflow and I'm a basic AnyLogic user. I have 4 Agents (Product 1,2,3 and Raw Material). In my Assembler-Block 1 Product(Product 1,2 OR 3) (Input1) and 1 Raw Material (Input2) will be assembled. The Problem: My "New Agent" have to be the same Agent as the Agent Input1 was. schematic
For example, I have 1x Product2 and 1x Raw Material the "New Agent" of the Assembler have to be Product2. EDIT: The different Agents get an Id (example:Product1 --> agent.getId()==10)
I can imagine it is a very trivial problem, but I tried to solve it in many ways and couldn't handle it. I hope you can help me.
Thank you very much.