AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.


Steven Chen avatar image
Steven Chen asked Steven Chen edited

Problem with sending items in a job shop model

Dear Everyone,

As you can see in the attached model file, an operator sends four items on the first queue to 4 different machines in various steps. With all processes done, each item is transferred to the second queue. Where items are processed in every step is in accordance with the pull requirement created in every machine.

However, a wrong logic appeared in my job shop model when I simulated item processing and transportation. The operator transports unfinished items to the second queue while they should continue being processed. For example, the problem occurs at ninety seconds of the runtime. The type-2 item in green should be in process, rather than being sent to the second queue. That item requires two more stations to be fully in completion. But it turns out that the operation does not follow the logic created in the Use Transport function in every processor.

A few months ago, I built this type of model in a previously-released version of FlexSim(21.0.3), but such a similar issue did not show up at that time. Whether or not the current processing logic has changed is my uncertainty. Otherwise, it seems to be a bug.

Has anyone ever encountered the same problem so far?

Thank you for your time and check

Job Shop Simulation Model.fsm

FlexSim 21.2.3
itemjob shoptranport
· 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.


it seems that you want to realize the steps of flexible mixed flow processing. I have made simple modifications on your model. I don’t know if it meets your needs.


0 Likes 0 ·

Dear CSN,

Thank you for your kind response and modifications. In your model, the By Expression method is adopted to send finished items to the second queue, and the new "On Process Finish" function has made an adjustment to the processing time per machine. These changes are helpful for me because they solve the problem that I am facing.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Steven Chen edited

The "Pull" option isn't active on the second queue, so the first one sees it as a valid destination and sends items there if no processor is available for them. When I activated it, it was already configured correctly (pulling items where station = 0). Maybe you deactivated it by accident or it got deactivated when you copied the queue from a different model?

CSN's solution of using the "Send to Port" option on the first queue and adjusting the "router" table also works. They also changed the "On Entry" triggers of the processors to "On Process Finish". Otherwise the wrong process time is used, because the label would be increment before the time is evaluated. Alternatively, you could simply add a "-1" to the column field of the process time option.


· 1
5 |100000

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

Hello Felix,

Thank you for your feedback and suggestions. As you mentioned, the "Pull Requirement" option should have been activated to pull finished items with the station label being 0. Items are sent to their right places after the modification is made. The item-sending solution presented by CSN has resulted in the same correction.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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