question

Niket M avatar image
0 Likes"
Niket M asked Matthew Gillespie commented

Set a custom release time in merge control

Hi there, I am trying to build a merge control logic to add custom merge control logic based on lane priorities and release time.

I want the conveyors to be prioritized for release based on the following table, where it will round robin from 1 to 5 if the slug if available. But it need prioritize to release the slug on conveyor 1 & 2 if they build the slug while releasing 3,4,5. I am still learning about the gap optimizing merge controller but I am wondering if this can be done better by a custom process flow logic by adding decision points and delays for each lanes. Not really sure if this is an easy query in gap optimizing merge controller


1631125619105.png

egmodel-merge.fsm

FlexSim 21.2.0
flexsim 21.2.0merge control
1631125619105.png (5.9 KiB)
egmodel-merge.fsm (76.1 KiB)
· 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.

1 Answer

Ryan Clark avatar image
1 Like"
Ryan Clark answered Matthew Gillespie commented

Hello @Niket M,

It turns out that the Gap-Optimizing Merge Controller is a good solution for your indicated problem. You can add a Priority field to the Slug Build Lanes list, and then for your query, you can say: "WHERE isReady ORDER BY Priority ASC" to get the lanes that are ready to go, but release them in prioritized order. You can add a custom release time as an alternative "Ready Criteria" in the Properties of the Slug Builder conveyors. Just check "Time Elapsed" and enter your desired time for that lane (see below). screenshot-2021-09-09-103115.png

Here is my modified version of your model:

egmodel-merge-rc-processflow.fsm

I hope this helps! Let us know if you have further questions!


· 5
5 |100000

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