I have been struggling with a problem I have not been able to replicate in JaamSim and was wondering if anyone would be able to offer some advice.
There's boxes being received that contain a different quantity of red/blue balls (the total number of balls in each box is different and the ratio of red/blue balls is different). The box goes through a server (i.e. a label gets applied on the box). The balls are then removed from the box, pass through another common process (labelling) and then the red balls go through a different path to get processed and the blue balls go a different path. At the end, the balls get grouped together again, the group gets processed and exits the facility.
I thought of using a SImEntity to resemble the box with attributes denoting the red/blue balls inside. I can pass the SimEntity through the labelling station and then use two Duplicate stations to generate the red/blue balls based on the attributes. But when I combine the outputs from the Duplicates back into the labelling station, they are not randomly dispersed (i.e. first duplicate station balls are all in the front, and second one are at the rear). This causes the blue specific process to get choked at the start, and the red process to be choked later.
Is there a way I can randomly disperse the balls? I've played with various flows, but none of them seem to work.
Kind regards,
Nauzad