question

Rahul T5 avatar image
0 Likes"
Rahul T5 asked Felix Möhlmann answered

Shared Combiner for two different processes

PressProcess_1.fsm
Hello,
I am trying to simulate shared resources (press and robot) to understand their utilization and system throughput. There are two press operations that combine two parts. I used combiner as a fixed resource. A1 and A2 get pressed together and goes through a process to become B2. B1 and B2 then get pressed together and goes to sink.
I set up two combiners to mimic parallel process and want to set up the model in a way that either PressA or PressB is running -- both cannot run simultaneously. I tried to set OnEntry and OnExit triggers on both presses to close/open input for the other press. But when I run the model I see both the combiners operating simulaneously in prallel. Looking for guidance on correcting the logic.press.png

FlexSim 23.1.1
combinerrobotshared resourcesparallel process
press.png (261.2 KiB)
pressprocess-1.fsm (39.3 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.

Julie Weller avatar image Julie Weller commented ·

Hi @Rahul T5, was Joerg Vogel'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 comment back to reopen your question.

0 Likes 0 ·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered
Your original model actually looks correct. But you are using "Press1"/"Press2" in the trigger functions instead of "PressA"/"PressB".

Instead of addressing the other combiner directly you could also draw a centerport-connection between them and use "current.centerObjects[2]" in both cases.

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

Rahul T5 avatar image Rahul T5 commented ·
Thank you @Felix Möhlmann !

That worked. How do I accept your comment as an answer?

0 Likes 0 ·
Julie Weller avatar image Julie Weller Rahul T5 commented ·
I can change it to an answer for you that you can accept!
0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Julie Weller converted comment to answer

It is an exclusive cycle.

On Entry (1), On Setup or On Processfinish -event in PressA close input of PressA

In pressB open On Processfinish or On Entry -event input of pressA.


(1) entry of item with condition port == 2


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

Rahul T5 avatar image Rahul T5 commented ·

Hi Joerg,

Sorry, I did not fully understand your comment.I tried the following: Added "OnEntry" trigger to close input of PressA.

1686586412289.png
Added "OnProcessFinish" trigger to open PressA's input
1686586597384.png

This stops PressA until part comes back and goes through PressB cycle.

0 Likes 0 ·
1686586597384.png (207.6 KiB)
Julie Weller avatar image Julie Weller Rahul T5 commented ·
@Rahul T5 did doing that end up solving your problem or do you still have issues?
0 Likes 0 ·
Rahul T5 avatar image Rahul T5 Julie Weller commented ·

Sorry, should have been explicit. It did not solve the problem and I still have the same issue.

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.