question

SG avatar image
0 Likes"
SG asked Jeanette F commented

How do I simulate a source with blocking before service?

I prepared to simulate a source with blokcing before service. Inter arrival time is t. The behavior can be described as : the source generates a box every t if there is space in the first processor; the source stop generating boxes if there is no space in the first processor. If the space in the first processor, the source will start to generate a box every t again. How do I simulate this kind of source?

FlexSim 21.1.0
sourcesource controlblocked source
· 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 @SG, was Joerg Vogel's answer helpful? If so, please click the red "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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

That is not a task of a source. That is an event driven process flow, that waits for a content change of the processor. This process flow creates an item in a queue in front of the processor, waits a time t and creates a new item As long as the processor is empty, when a new must be created otherwise the wait for event activity holds the token. control_item_creation.fsm


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.