question

Mia L avatar image
0 Likes"
Mia L asked tannerp commented

Creating a source & objects for batching in process flow

I am trying to run a model where items are stored in a rack and start out in the rack as the source, then are pulled from the rack to batch in a queue to move on to the next process. My process flow currently has an Event Triggered Source > Create Object > Move Object from Rack to Queue > Batch Object in Queue and then the operator is supposed to pick up the batch from the queue and move onto the next process. Whenever I run this though, the operator nor the rack/queue move. How can I fix the beginning, and also use the rack as the end of the entire sequence (kind of like a sink)?

FlexSim 19.2.4
process flowoperatorrackflexsim 19.2.4
· 2
5 |100000

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

1 Answer

tannerp avatar image
0 Likes"
tannerp answered tannerp commented

@Mia L, The Event-Triggered Source was listening to Rack1 On Entry, but there wasn't anything in the model to cause anything to enter Rack1. I changed the source to be an Schedule Source. That way, the token can cause the items to be created and enter the rack. Hopefully that makes sense.

It's also important to remember not to mix 3D and Process Flow. This happened in your Rack1 object where the rack was trying to use its center connected object to move the items into the queue, but the Process Flow was already moving the objects from the rack to the queue. It also happened where your queue and the Process Flow were trying to batch items at Queue1. Try to stick to 3D or Process Flow, but not both.

When you're processing batches, it's best to use Sub Flows so that you can process all the items simultaneously (I assume that's what you're going for...) because otherwise, you end up with one token that represents 30 items and only 1 item gets processed.

I arbitrarily made decisions to keep some 3D and some Process Flow, while carefully making sure they did not overlap on their responsibilities. Hope this updated model works better for you. Let me know if you have questions.

processflowproblem_1.fsm


· 4
5 |100000

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