AnyLogic 6 Discussion

Hi, I have the following challenge in my model: I need to split the entity in 5000 more entities. What I am trying to model is tank of milk that is bottled. The milk is the entity that enters the system in 5000 lt and after the treatment the milk is bottled therefore I need to splited in 5000 bottles or units. I have tried to used the element split with the word "original" in the new entity copy. But I always get the error "trying to add an item to shownItems twice". Could please anyone tell my what I am doing wrong, or if I could do this in other way using other element. Thank you very much.
I recommend you to send your model to XJ Support Team using "Get Support" button in AnyLogic. Probably there is another source of such error.
Hi Susana, Please, do not write "original" in the "New entity (copy)" box of split, leave it in blank for a try. After that, you can use this box to put some code you like to be executed when the "original entity" (the empty 5000 l tank in your case) exits split. Regards, Jose