0

I'd like to move agents (pallets) from storage to storage in Anylogic. The idea is to move pallet from storage A to B in Anylogic, but the STORE block demands that you pick up those agents from something else other than a storage itself. The problem starts from the red arrow below towards the rest of the process flow. The red circle is where I'm focusing and stuck at.

Process Diagram

Retrieve block parameters

Store block parameters

So far, the AGVs pick up from storage, drop it on the ground and go to the next pick up (instead of completing the mission by storing in the next storage)

I have tried the solution found in https://stackoverflow.com/questions/71135072/in-anylogic-is-it-possible-to-send-an-agent-from-one-storage-to-another-directl but without success. I couldn't implement what is suggested there and I couldn't comment cause of my low rank here. Although I choose the destination as agent coordinates, I can't find the suggested functions "agent.transporter=unit;" and "agent.transporter.equals(unit);"

Retrieve details 'on seize' function

Store details 'on seize' function

How can I achieve this?

Felipe
  • 8,311
  • 2
  • 15
  • 31
  • i gave the answer on that link and i would give the same answer to you.. agent.transporter is not a function, your agent needs a variable of type Transporter to save the transporter information.. you need to explain why that solution doesn't work – Felipe Jul 26 '23 at 19:03
  • Does this answer your question? [In Anylogic, is it possible to send an agent from one storage to another directly?](https://stackoverflow.com/questions/71135072/in-anylogic-is-it-possible-to-send-an-agent-from-one-storage-to-another-directl) – Zephyr Jul 30 '23 at 10:24

0 Answers0