Page 1 of 1

Iterative flow with duplciating an atom

Posted: Saturday 17 November, 2018 - 08:58
by Thore
Hi :)
I'm looking for a setup which can provide me the following functionality of duplicating atoms. It is something I have rutinely done in another simualtion program, but i'm not quite sure how to do it most effectively in ED:

1. One atom is genererated from a source
2. That atom goes into a queue, where a logic specifies the number of times the atom must be iterated (eg the number of products controlled in an inventory replenishemtn system
3. The atom is lead into a splitter, where it duplicates
4. One of the now two identical atoms are lead into the rest of the system ( eg. production system) wheras the other returns to the previously mentioned queue
5. the atom continious this iteration until the number of iteration is meet.

I have tried the obvious solution of using the splitter, but it does not work as it should and returns erros regarding "duplicate attribute names".

BR
Thore

Re: Iterative flow with duplciating an atom

Posted: Monday 19 November, 2018 - 19:14
by HarryBunnik
Ha Thore,

Have you considered using the Batch functionality of the server atom (second tab)? Here you indicate that you have 1 in, B out and you can specify the batch size by directly referring to the label on the original product.

I hope this helps you.

Regards,

Harry