question

Andrew S3 avatar image
0 Likes"
Andrew S3 asked Andrew S3 commented

Decision Point Evenly Sending Parts to Eight Locations Depending on Availability

Hello,

I am trying to make a simulation representing one load that leads to eight feeding lanes to four production cells. My model currently is sending most parts to the first cells, while the last cell receives very few parts. It should be evenly distributing the parts in all the lanes. What I would like it to do:

1.Send parts evenly to all eight lanes

2.Send parts to whatever lane is available (no more than four parts per lane)

3. If all eight lanes are full (four wheels in each lane) then the parts stop at the beginning of the conveyor

Thanks in advance!

Attached is my model:

Cell Infeed Problem.fsm

FlexSim 19.2.4
flexsim 19.2.4decision pointlogic
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

tannerp avatar image
2 Likes"
tannerp answered Andrew S3 commented

@Andrew S3,

Here's a Process Flow example. I hope works a little bit better. The Process Flow utilizes a zone to limit the number of items that can enter the lanes (max 16) and then the logic calculates which lane should receive items based on the minimum count based on the Global Table "CountTable".

A lot of the logic for calculating the lane and sending the items is the same, but the Process Flow handling the zone makes that aspect of things easier. Also, you can use triggers in the Wait for Event activities to tell items to resume traveling on the conveyor.

Hope this helps!

cell-infeed-example_1.fsm


· 6
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

tannerp avatar image
1 Like"
tannerp answered Andrew S3 commented

@Andrew S3,

1&2)

When you say "evenly distribute", do you mean that each of the eight lanes should ultimately receive the same number of parts? Or do you mean that the decision point should send to the lane with the fewest number of items, such that all lanes have about the same size buffer?

The reason I ask is there are two types of logic that could work to "evenly distribute" the work. You could create round robin or shortest queue logic, depending on your needs. The former logic will make sure each lane receives the same number of items. The latter will make sure that lanes aren't overworked or starved.

3)

As for stopping the items at the beginning, I suggest placing a photo eye on each conveyor's "full" point (wherever the 4th wheel stops). It looks like you already have some in place. Then, when all eight conveyors' photo eyes are blocked with a 4th wheel, you can trigger the decision point to stop sending objects. The one downside is that if a wheel is already on its way to a lane but hasn't arrived yet, it may not block the photo eye in time to prevent another wheel from coming.

You may need to consider the time it takes for wheels to travel to their assigned lane. In this case, I would use a counter, such as a Global Variable or a zone, so that any wheels entering the area are welcome up to 32 wheels. Once the zone has 32 wheels, there are no more wheels sent until a wheel leaves. It's as simple as incrementing a variable upon entry to the zone and decrementing the same variable upon retrieval by a robot.

Picture for reference:

Unfortunately, I don't have a working version of FlexSim 2019 Update 2 on my computer at the moment, so I can't update your model, but I hope I've given you some ideas. Feel free to ask clarifying questions.


cell-conveyor.png (126.8 KiB)
· 7
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.