Line working only if another one works

Line working only if another one works

marius_p1
Not applicable
87 Views
4 Replies
Message 1 of 5

Line working only if another one works

marius_p1
Not applicable

[ FlexSim 21.2.4 ]

Hello

I'm trying to model the following production situation :

Line1 (Source1-Processor1-Sink1) has a long process time and Line2 (Source2-Processor2-Sink2) has a faster process time. And Line2 should only work when Processor1 is processing.

capture-decran-2021-12-15-084455.png

I searched for different solutions but i couldn't find anything

Any help would awesome

Thanks

ParallelLines.fsm

0 Likes
Accepted solutions (1)
88 Views
4 Replies
Replies (4)
Message 2 of 5

allister_wilson
Not applicable
Accepted solution

Hello Marius,

I've attached an example of one way you could handle this.

I used a process flow attached to Processor2 which performs the following steps in a loop :

  • stop Processor2
  • wait until Processor1 contains an item
  • resume Processor2
  • wait until Processor1 is empty

If you want Processor2 to finish its current process before stopping once Processor1 is empty, you could stop and resume its input instead of stopping the object.

Hopefully this is what you were looking for.

parallellines_with_processflow.fsm

Message 3 of 5

marius_p1
Not applicable

thank you very much that's perfect !

Is there a way i can make Processor2 finish the part if Processor1 finishes before ?

0 Likes
Message 4 of 5

allister_wilson
Not applicable

If you're referring to this from my answer :

If you want Processor2 to finish its current process before stopping once Processor1 is empty, you could stop and resume its input instead of stopping the object.

You can find the options to stop and resume an object's input in the custom code activity under Control / Close and Open Ports.

If that's not what you meant, could you try to clarify?

0 Likes
Message 5 of 5

connor_a
Not applicable

Hi @Marius P, was Allister Wilson'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