question

mary avatar image
0 Likes"
mary asked Felix Möhlmann commented

Control processor working parallelly

Hi everyone,

I want to model where there are four processor which process parallelly and move to their respective Queue at a time. For ex., in all the processor there is a one part processing. Processor 1 has the highest cycle time so all the other processor after finishing cycle time has to wait until process 1 finishes processing. once all processor done processing the part has to move to their respective buffer at a time and next set of parts come in and follow same logic.

I have tried with open and close ports but seems not working. If there are any other method please help me with logic.

buffer1.fsm

FlexSim 20.0.10
processorscycle time
buffer1.fsm (34.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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @mary, was Jason Lightfoot'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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Felix Möhlmann commented

buffer1_jl.fsm

One method would be to stop and resume the outputs for the group.


buffer1-jl.fsm (38.9 KiB)
· 12
5 |100000

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

mary avatar image mary commented ·

@Jason Lightfoot This looks good. I even want to control buffer. Here in my model whenever a part enters a buffer it creates its following parts in other buffers. For ex. when part "a" enter it create 3 more parts and process. when part "b" enters it create only 2 parts. what I want is only part "a" should process in processors and "b" part should wait in buffer. When "b" part enters the processors "a" should not enter the processors it has to wait in buffer. so in sequence the process should happen. first all "a" part processes and then only "b" and so on as in source sequence.

buffer1.fsm


@Felix Möhlmann

0 Likes 0 ·
buffer1.fsm (39.5 KiB)
Felix Möhlmann avatar image Felix Möhlmann mary commented ·

In the attached model the token that is created when the first item enters Queue12, creates 2-3 child tokens. Each of those then create an item themselves. They then wait until their parent token can acquire the process flow resource (representing the array of processors). When that happens, the processors' inputs are opened by the tokens. The tokens then batch together, letting the parent continue when all items are processed, so it can release the resource.

The processors' inputs are automatically closed in their Reset and On Entry triggers.

1666698219674.png

buffer1_1.fsm

0 Likes 0 ·
1666698219674.png (31.3 KiB)
buffer1-1.fsm (41.8 KiB)
mary avatar image mary Felix Möhlmann commented ·

Hi @Felix Möhlmann the model is great but i have some condition that "b" part should be created only in Queue12, 9, 1 and not in Queue6 and there is also "c" part created only in Queue 12, 9 not in Queue 6 and 1 so how this will help.


Is it not possible just with close and open port. I have created model where when part b comes it should close Queue6 and when c it should close Queue6 and 1. but looks like the close and open ports overwrite. can you help?


refer this model you will get idea.

Buffer_fl.fsm

0 Likes 0 ·
buffer-fl.fsm (44.9 KiB)
Show more comments
mary avatar image mary commented ·
@Jason Lightfoot help me with this
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.