question

Eberhard B avatar image
0 Likes"
Eberhard B asked Jeff Nordgren answered

Make processor idle when another processor is idle

Hi all,

Please see the attached test model: test-model2.fsm

What I want is the following: The prosessor 3 shall operate in same time period as processor 1 but with higher number of flow items, not just 1 or 2. That shall be managed with messages. When processor 1 is empty the processor 3 shall also idle.

FlexSim 17.0.0
processor
test-model2.fsm (421.5 KiB)
· 4
5 |100000

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

Rodrigo Lamas avatar image Rodrigo Lamas commented ·

@Eberhard B

What is your question about the model? I don´t understand. Regards.

1 Like 1 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ commented ·

Are you saying that processor 3 cannot receive an item unless processor 1 is currently processing an item?

1 Like 1 ·
Jeff Nordgren avatar image Jeff Nordgren commented ·
@Eberhard B

Not sure I understand the question. If you take of the current code in the OnEntry and OnMessage triggers of each processor, Processor1 is always processing. It never becomes idle (or empty). Can you please clarify what you want the model to do?

Thanks.

0 Likes 0 ·
Eberhard B avatar image Eberhard B commented ·

Hi,

Processor 1 is not processing continuously, because when processor 2 is busy with an item Processor 1 is idling. In case processor 1 is busy with an item, processor 3 shall also work on its items. As the operation time on processor 1 is long, during that time processor 3 shall work on more than 2 items (but 3 or 4 or more).

Thanks and regards

0 Likes 0 ·

1 Answer

·
Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered

@Eberhard B

If I'm understanding correctly, you want Processor3 to be "stopped" when there is nothing processing in Processor1?

Attached is your model with the changes that I made in Processor1 and Processor3. Anytime there is a flowitem in Processor1, Processor3 will process. Anytime there isn't a flowitem in Processor1, Processor3 will be stopped. If that is not what you are wanting then I need more information about what you want to happen in the model.

Thanks.

test-model2-jn1.fsm


test-model2-jn1.fsm (21.1 KiB)
5 |100000

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

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.