question

PT2 avatar image
0 Likes"
PT2 asked Ryan Clark commented

Continuous Conveyor in a Process Flow

Using process flow, I am trying to create a long continuous moving conveyor that has multiple assembly stations (8) with different processing time for each station. In this conveyor if a downstream station fails, then all the upstream stations stop until the failed station is repaired. See a simple model without failure and repair. I am not sure if this is the right approach.

ProcessFlow_Conveyors.fsm

FlexSim 21.1.4
flexsim 21.1.4continuous conveyor
· 3
5 |100000

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

David Seo avatar image David Seo commented ·
@PT2 The easiest way to be sure your approach to be right is to make tour process flow logic to be displayed as 3D model. Would you display it in 3D screen?
0 Likes 0 ·
PT2 avatar image PT2 David Seo commented ·
No, this will not be displayed in 3D screen.
0 Likes 0 ·
Ryan Clark avatar image Ryan Clark commented ·

Hi @PT2, was Eric M's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Eric M avatar image
0 Likes"
Eric M answered Eric M commented

Try adding an area restriction trigger. That way upstream item won't be able to move down the conveyor until the area has been cleared by the downstream item.

https://docs.flexsim.com/en/21.1/ConnectingFlows/Conveyors/CreatingConveyorLogic/CreatingConveyorLogic.html#restriction

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

PT2 avatar image PT2 commented ·

Hi @Eric M thank you for your response. I think the area restriction trigger will work in the 3D model with an actual conveyor object. However, I am trying build the conveyor in this process flow template.

0 Likes 0 ·
Eric M avatar image Eric M PT2 commented ·

Ah gotcha, I misunderstood. In that case, I would preempt the tokens using another segment of process flow. You can see here for more information in the manual on how this works.

I added a zone in your original flow to use in the preempt flow. The key is in the "Assign Labels: upstream tokens" activity which finds the tokens in the zone that have a lower station value. It then preempts those tokens, waits for a specified delay time, and returns the tokens to their original delay time. You'll notice the tokens that are past the failure station will keep moving in the original flow.

processflow-conveyors preempt.fsm

0 Likes 0 ·
PT2 avatar image PT2 Eric M commented ·

Thanks @Eric M. I took a stab at creating the attached model. Similar to your model, I created a separate failure/repair segment. In this segment when a station fails, it checks whether something is being processed on the failed station. If yes, then the station fails and all the upstream stations stops. But something weird happens at simulation time 320 seconds, when after the station is repaired, it doesn't restore the upstream stations. Can you please take a look and suggest what is not causing this?

P.S. I have some custom codes in Save Context, Release Token, and Restore Context

ProcessFlow_Conveyors_1.2.fsm


0 Likes 0 ·
Eric M avatar image Eric M commented ·

@PT2 thanks for your patience on this one. At around 315 seconds, there are 2 tokens that are in the Preemption part of the flow. Station 4 preempts all of the tokens before it, and then Station 5 comes in and preempts them again. This results in the SavePoint label of the tokens being overridden as the Waiting Area.

1631229852394.png

To fix this I would add some logic in the Waiting Area activity that shows that the tokens have already been preempted. Then you can adjust the Save Content logic to avoid re-preempting those stations. Let me know if you have any questions.

0 Likes 0 ·
1631229852394.png (63.4 KiB)

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.