question

Hannes K avatar image
0 Likes"
Hannes K asked Braydn T commented

parallel machines

Is it possible for two machines to start at the same time? (they are parallel in the process)

They must stop when the other machine stops and they must start when both are able top start at the same time.

FlexSim 19.2.1
parallels
5 |100000

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

Braydn T avatar image
0 Likes"
Braydn T answered Braydn T commented

@Hannes K

Look at this example I made. In your model the Event Triggered Sources are never triggered. Mine uses a batch instead of a synchronize, but that is just because I wanted to make it more applicable to your model. When an item enters Processor 1 or 2, it closes its output. When the processes finish, they create a token in ProcessFlow. When 2 tokens have been created, they move to the code block which reopens the output of Processor 1 and 2. example.fsm


example.fsm (32.2 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.

Braydn T avatar image Braydn T commented ·

@Hannes K

Did this work for you?

0 Likes 0 ·
tannerp avatar image
0 Likes"
tannerp answered Hannes K commented

Hi @Hannes K,

This behavior can be achieved using Synchronize Process Flow activities or triggers that listen to other objects. I've provided a simple example of a Process Flow that utilizes a Synchronize activity to make sure the processors don't start until they both have an item ready. When both have an item ready, the Custom Code activities resume the stopped Processors.

Hopefully this is what you're looking for (I didn't see an attached model on your post). Let us know if this is what you were thinking.

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

Hannes K avatar image Hannes K commented ·

flexsim-example.fsm

thanks for your answer. I coud not find the parameter to fix my problem. I send you my current file. Is there some mistakes?

0 Likes 0 ·
flexsim-example.fsm (130.5 KiB)
Hannes K avatar image Hannes K commented ·

The multiprocessors should start together with their steps

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.