Convert one agent to multiple agents in anylogic software

109 Views Asked by At

How can I convert one agent to multiple(more than 2) new agents in AnyLogic software? For example, consider a process of Zinc Smelting. In the roasting stage, the concentrate is converted into zinc calcine, sulfur dioxide, and other residue.

Using split block ,I can only convert one agent to the same agent and only one other agent...

1

There are 1 best solutions below

2
On

You can always create new agents using a population for the new agent type and adding to it with add_MyAgentPopulation().

If this new agent needs to enter a flow again, you can send them to any point using an "Enter" block with myEnterBlock.take(agent) where agent would be the agent you created above