question

Marius P avatar image
0 Likes"
Marius P asked Connor A commented

Line working only if another one works

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

FlexSim 21.2.4
source control
· 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.

Connor A avatar image Connor A commented ·

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

1 Answer

·
Allister Wilson avatar image
1 Like"
Allister Wilson answered Marius P commented

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


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

Marius P avatar image Marius P commented ·

thank you very much that's perfect !

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

0 Likes 0 ·
Allister Wilson avatar image Allister Wilson Marius P commented ·

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