question

Thibault.G avatar image
0 Likes"
Thibault.G asked Jason Lightfoot edited

How to let product going through a station only if the next station is free ?

On my simulation we have 2 functional test stations in a row ST70 & ST70_2. I'd like to simulate that ,when a product is coming on the first station, the programm checks if the second station is free, if yes, the product pass through the first station to be tested on the second otherwise the product stay in the first station. Does someone know how to set the parameters and create the code behind this need ? Thanks in advance.

Standard Model Lite_V3.2.1 Segment LIne Test Split Sequence.fsm

FlexSim 21.2.4
prioritizationautomaticstations in a row
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Do you need the statistics to reflect the number passing through without testing? If not then just connect ST70_2 to the first output of ST060 and ST70 to the second output of ST060. That way ST70_2 is prioritized just using a 'first avaiable' trigger on ST060's send to port.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Thibault.G, were either of our answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·
Thibault.G avatar image Thibault.G commented ·

Thanks all of you for your support nevertheless, except if i did not understand your reply, your proposals are not fitting with my request. I will try to explain better. See on the picture below the shape of the line (U-Line), we have 2 Test station with exactly the same functional test inside. It is just to double the capacity of the test. Target is when one product is coming in the station one, the system will check if the station 2 is free. If yes, the product will just pass through the station one and be tested on the staion 2. Otherwise, if test 2 is occupied then product stay in test 1 to be tested.

capture.png


0 Likes 0 ·
capture.png (8.4 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Thibault.G commented ·

Right - but while that picture looks like a conveyor for which you might say the items pass through both stations - and indeed you could model it like that using the Station decision point on a Conveyor - you have modelled it as two processors, one feeding the other. With the assumptions that implies, you can instead connect ST70_2 from the Queue060 directly and it will give you the 'correct' behaviour based on what you have in the model so far, and connect the ouput of both ST70s to Queue70. My answer stands unless you are saying that you cannot get to ST70_2 if ST70 is busy and it has to wait for it to complete. Also if a finished ST70 item cannot get to Queue70 until a busy ST70_2 is complete then the case for a different method applies - and if it's really a conveyor with stations then I would model it as such rather than queues and processors.

0 Likes 0 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Here's an example of conveyor based stations with where the travel is inline and the processing is conditional. For the processing condition on the first station it uses a list to see if the next station cannot be pulled and sets a label on the item to say ST70_done which is used by the processing condition of the second station.

nextstationfree.gif

StationProcessesIfOtherStationIsUsed.fsm


· 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.

Thibault.G avatar image Thibault.G commented ·

The option with the conveyor seems to be the good solution. Thanks for your help, i'll try.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Thibault.G commented ·

If you need to do it for more stations then you can copy and paste them - if you do that as a pair (by red/selecting them both before the copy action) then the first station of the new pair will have a correct label reference to the new second station.

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

5 |100000

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

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.